Skip to content

Commit

Permalink
minor update to monolith gossiping (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyc3 authored Jan 8, 2024
1 parent 57fc12c commit 4acb1af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion join-process.typ
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ They must also maintain a hashmap of monolith nodes to a list of rooms that they

Monoliths must gossip:

- on startup
- when a connection to a Balancer is established
- when a room is loaded
- when a room is unloaded
- at a maximum interval of 20 seconds (eg. if 20 seconds pass without a room being loaded or unloaded, the Monolith must gossip)
Expand All @@ -44,6 +44,8 @@ The gossip message must contain: (see @Figure::gossip-class-diag)
caption: "Simplified gossip class diagram. Actual implementation will vary."
) <Figure::gossip-class-diag>

To save on bandwidth, when a room is loaded or unloaded, only information about that room is sent to the Balancer in the form of "load" and "unload" messages.

== Creating or Loading Rooms

The client will have three options: generating a temporary room with a uuid, creating a temporary room with inputs, and creating a permanent room that can be rejoined in the future.
Expand Down

0 comments on commit 4acb1af

Please sign in to comment.