memgraph/experimental/distributed
Goran Zuzic 0f12426ae3 Put Reactors framework into a seperate file and demangle the dependencies
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
2017-08-17 16:16:13 +02:00
..
src Put Reactors framework into a seperate file and demangle the dependencies 2017-08-17 16:16:13 +02:00
tests Put Reactors framework into a seperate file and demangle the dependencies 2017-08-17 16:16:13 +02:00
.clang-format Merged experimental repo. 2017-08-03 12:48:19 +02:00
.gitignore Merged experimental repo. 2017-08-03 12:48:19 +02:00
CMakeLists.txt Merged experimental repo. 2017-08-03 12:48:19 +02:00
init Merged experimental repo. 2017-08-03 12:48:19 +02:00
main.cpp Put Reactors framework into a seperate file and demangle the dependencies 2017-08-17 16:16:13 +02:00
README.md [Rename diff] Change the terminology to match the rest. 2017-08-17 15:37:12 +02:00

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

  1. Locked: A method having a Locked... prefix indicates that you have to lock the appropriate mutex before calling this function.

dependencies

  • cereal