0f12426ae3
Summary: 1. move Reactor (local) stuff into reactors_local.hpp/.cpp 2. renamed connector_unit -> reactors_local_unit 3. renamed communication.hpp/.cpp -> reactors_distributed.hpp/.cpp Reviewers: sasa.stanko, mferencevic Reviewed By: sasa.stanko Differential Revision: https://phabricator.memgraph.io/D675 |
||
---|---|---|
.. | ||
src | ||
tests | ||
.clang-format | ||
.gitignore | ||
CMakeLists.txt | ||
init | ||
main.cpp | ||
README.md |
distributed memgraph
This subdirectory structure implements distributed infrastructure of Memgraph.
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.
- Connector: a communication abstraction between Reactors. The reactors can be on the same machine or on different processes.
- EventStream: read-end of a connector, is owned by exactly one Reactor/thread.
- Channel: write-end of a connector, can be owned (wrote into) by multiple threads.
conventions
- Locked: A method having a Locked... prefix indicates that you have to lock the appropriate mutex before calling this function.
dependencies
- cereal