Elixir Stream and large HTTP responses: processing text
We are going to process on the fly a 30 million lines remote file, summing the numbers of each line. We will see how to implement the functions we need to convert a stream of chunks (the one built in part 1) to a stream of lines. We'll then run a benchmark of two different implementations.
Tags: elixir, http, stream