Start the Supervision Tree
Understand the details of the supervision tree.
We'll cover the following
Looking into GameSupervisor
Supervisor processes can do their job only if they are running. We can’t know in advance when a player is going to start a new game, so we need to make sure that the GameSupervisor
is running as soon as the application starts. That’s what we’ll focus on in this section.
We mentioned that since supervisors can supervise both workers and other supervisors, they can form trees of supervised processes. This implies that there is a single process at the root of the tree and that the root node begins the process of starting the whole tree.
Get hands-on with 1400+ tech skills courses.