distgraphia
is an educational distributed system that is not
fault-tolerant, with the aim of implementing the fundamental structure of a distributed system.
git clone https://github.com/NJrslv/distgraphia.git
cd distgraphia
docker build -t distgraphia .
docker run distgraphia
- The distributed system is represented as a single process.
- Clients and the network are located on the stack.
- Each system node, embodied by a goroutine (method
node.Run()
) and its data, is isolated. The goroutine executes the node's functionality, and its stack holds a pointer to the data in the heap of the original process. - Nodes communicate using channels