The second part of this book focuses on the Cube worker component. As its name suggests, the worker is responsible for performing the work in an orchestration system. The subject of that work is the task. If you’ve used Docker, then you’re familiar with starting containers using the Docker command-line interface. In this model, you are the worker. In Cube, we replace you with a program that conceptually performs operations similar to you starting and stopping a Docker container.
In chapter 4, we will flesh out the implementation of the Worker object. The implementation focuses on starting and stopping a task.