DEV Community

Discussion on: How to download large file in Elixir

Collapse
 
mreigen profile image
mreigen

Very nice! I didn't know about :hackney.stream_body! I did actually had to figure it out by using Poison's Async module. It worked for my case and I created a tiny library for it. Check it out if you are interested!

It also uses background processes to execute the download streaming.

github.com/mreigen/chunk_download

Here is the hex link
hex.pm/packages/chunk_download

Collapse
 
bluzky profile image
Dung Nguyen

Thank for sharing your lib. Nice work.