Creating, Joining and Leaving Groups
Learn how to create, join, and leave groups in tooz library using Python.
We'll cover the following...
The Tooz library implements a common pattern that it calls ”group membership”. The pattern is quite easy to understand and is illustrated in the following figure.
Group rules
Here are the rules: a group is a set containing zero or more members. When a node joins a group, it becomes a member of this group. A member can leave the group at any time: either on its own (shutdown) or because it did not renew membership. The membership tracking is automatically done by Tooz and the backend it uses.
Note: As ...
Access this course and 1400+ top-rated courses and projects.