January 2020
Intermediate to advanced
640 pages
16h 56m
English
The step for completing the distributed version of the Links 'R' Us PageRank calculation service is to provide a job.Runner implementation that will allow the dbspgraph package to interface with the PageRank calculator component that includes the graph-based algorithm that we want to execute.
As a reminder, this is the interface that we need to implement:
type Runner interface { StartJob(Details, bspgraph.ExecutorFactory) (*bspgraph.Executor, error) CompleteJob(Details) error AbortJob(Details) }
The glue logic for masters and workers has a different set of requirements. For example, the master will not perform any graph-related computations apart from processing the aggregator deltas sent ...