#async #elixir #httpoison #stream
Elixir streams to process large http responses on the fly
https://medium.com/@asusmel/elixir-streams-to-process-large-http-responses-on-the-fly-9063507f9e
Elixir streams to process large http responses on the fly
https://medium.com/@asusmel/elixir-streams-to-process-large-http-responses-on-the-fly-9063507f9e
Medium
Elixir Streams to process large HTTP responses on the fly
Why should we handle HTTP responses with Streams, when we can just simply use something like HTTPoison.get to receive a response with the data we need? We already saw how HTTPoison, by default, saves…
#elixir #tasks #async
The problem with Task.await/2 and timeouts | Angelika.me
https://angelika.me/2021/03/13/the-problem-with-task-await-and-timeouts/
The problem with Task.await/2 and timeouts | Angelika.me
https://angelika.me/2021/03/13/the-problem-with-task-await-and-timeouts/
angelika.me
The problem with Task.await/2 and timeouts | Angelika.me
It's a common pattern to start many asynchronous tasks at once and then await each task using Task.await/2. But did you know that the timeouts can add up?