January 2020
Intermediate to advanced
640 pages
16h 56m
English
Both the link-crawler component that we created in Chapter 7, Data-Processing Pipelines, and the PageRank calculator component that we built in Chapter 8, Graph-Based Data Processing, were designed to work with one of the data store implementations from Chapter 6, Building a Persistence Layer.
To this end, when configuring these components, we are expected to provide suitable concrete data store implementations that satisfy the graph.Graph and index.Indexer interfaces. If we were building a monolithic application, we would normally be performing this bit of initialization inside the main package, as follows: