Functional Streams for Scala with FS2

Published 2022-05-30
Platform Udemy
Rating 5.00
Number of Reviews 5
Number of Students 48
Price $19.99
Instructors
Leandro Galvan
Subjects

Go to Udemy

Dealing with flows of data the right way.

Many applications involve dealing with large flows of data. Examples are processing files in ETL jobs, reading results from a database or getting a big response from http calls. Handling large amounts of data often means sacrificing either readability or performance.

With streams, you can get the best of both worlds:

- Data is processed using a constant amount of memory, even if the total amount of data is very large

- The processing is built declaratively as if you were dealing with regular Lists or Sequences, with high level methods such as map, filter and flatMap

Furthermore, streams in FS2 are effect-aware. They work in the context of an effect monad like IO, which enables them to do all sorts of useful stuff such as processing elements in parallel, throttling, retrying on failure and many more.

In this course we will turn streams inside out and learn things like:

- Create and combine pure streams

- Add effects to our streams and learn how to compose them

- Handle errors & resources safely

- Apply patterns involving time, such as retries, throttling and debouncing.

- Build our own stream transformations with Pulls and Pipes

- Handle concurrency using many different patterns

- Communicate between streams using primitives such as Signals, Channels, Topics and Queues

Join me in this journey and add yet another amazing tool to your functional programming toolkit!

Go to Udemy