node

node

@njoseph with go, yes. once i’ve already written the code to download sequentially and tested it, it takes 10-15 minutes to adapt it to use goroutines as a worker pool.

on the elixir side, there’s GenServer and GenStage. GenServer is very easy to set up, akin to doing it with goroutines in go. GenStage took a couple of tries the first time i used it, but i think i understand it now. it’s more generalized than simple goroutines or threads; using a GenServer would’ve been a lot easier to use, but it didn’t do all i needed for my project.

replies
0
announces
0
likes
1