2017-08-17 21:36:58 +08:00
|
|
|
|
2017-08-09 20:45:23 +08:00
|
|
|
# distributed memgraph
|
|
|
|
|
|
|
|
This subdirectory structure implements distributed infrastructure of Memgraph.
|
|
|
|
|
2017-08-17 21:36:58 +08:00
|
|
|
## terminology
|
|
|
|
|
|
|
|
* Memgraph Node Id (mnid): a machine (processs) that runs a (distributed) Memgraph program.
|
|
|
|
* Node: a computer that performs (distributed) work.
|
|
|
|
* Vertex: an abstract graph concept.
|
|
|
|
* Reactor: a unit of concurrent execution, lives on its own thread.
|
2017-08-23 21:16:26 +08:00
|
|
|
* Channel: a (one-way) communication abstraction between Reactors. The reactors can be on the same machine or on different processes.
|
|
|
|
* EventStream: read-end of a channel, is owned by exactly one Reactor/thread.
|
|
|
|
* ChannelWriter: write-end of a channel, can be owned (wrote into) by multiple threads.
|
2017-08-17 21:36:58 +08:00
|
|
|
|
2017-08-09 20:45:23 +08:00
|
|
|
## conventions
|
|
|
|
|
|
|
|
1. Locked: A method having a Locked... prefix indicates that you
|
|
|
|
have to lock the appropriate mutex before calling this function.
|
|
|
|
|
|
|
|
## dependencies
|
|
|
|
|
|
|
|
* cereal
|
|
|
|
* <other memgraph dependencies>
|