July 2021
Intermediate to advanced
176 pages
4h 14m
English
Complex use cases may require a data-processing pipeline with a consumer stage, one or more producers, and several producer-consumers in between. However, the main principles stay the same, so we’re going to start with a two-stage pipeline first and demonstrate how that works.
We will build a fake service that scrapes data from web pages—normally an intensive task, dependent on system resources and a reliable network connection. Our goal is to be able to request a number of URLs to be scraped, and have the data pipeline take care of the workload.
First, let’s create a new application with a supervision tree like we’ve done before. We will name it scraper and pretend we’re going to scrape data from web ...
Read now
Unlock full access