Expand description
A Fast and Reactive Distributed Systems ToolBox
RustNet is a set of tools to make building distributed systems easier
Modules§
- best_
effort_ delivery - Gurantees reliability only if sender is correct
- failure_
detector - assumes synchrony which means timing Bounds of network and processes are fixed with the
timeout
variable - reliable_
delivery - gurantees reliability independent of whether the sender is correct or not
- uniform_
reliable_ delivery - gurantees reliability and also considers the behaviour of failed nodes, reliable Delivery is faster but it doesnt gurantee if all nodes delivered the message including Failled nodes
Structs§
- Component
Channels - a set of channels that every component must have to communicate with external and internal messages
- Message
- a wrapper around all types of messages
- Node
- Acts as a mediator between Components All communications is done via channels Node will automatically choose the right component to do the right Task in Runtime Extern Messages are delivered to componnents via flume channels and internal Messages are delivered via pub_sub
Enums§
- Component
Types - Message
Type - all message types must be included in this eunm even newly added component
Traits§
- NetComponent
- NetComponent Trait must be implemeneted to add a new component