Open-source graph database, built for real-time streaming data, compatible with Neo4j.
Go to file
Teon Banek 4db62b18f0 Decouple visiting of distributed operators from regular
Summary:
Visitor pattern's main issue is cyclical dependency between classes that
are visited and the visitor instance itself. We need to decouple this
dependency if we want to open source part of the code, namely
non-distributed part. This decoupling is achieved through the use of
`dynamic_cast` in distributed operators. Hopefully the solution is good
enough and doesn't cause performance issues. An alternative solution is
to build our own custom double dispatch solution, but that will
basically boil down to our implementation of runtime type information
and casts.

Note, this only decouples the distributed operators. If and when we
decide that other operators shouldn't be open sourced, the same
`dynamic_cast` pattern should be applied in them also.

Depends on D1563

Reviewers: mtomic, msantl, buda

Reviewed By: mtomic

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1566
2018-08-28 14:53:02 +02:00
cmake Cleanup and reorganize release directory 2018-01-15 10:12:59 +01:00
config Add support for the id function 2018-07-04 22:14:13 +02:00
customers Implement manage script for card fraud demo 2018-02-12 13:29:12 +01:00
docs Polish user_technical 2018-08-24 13:35:57 +02:00
experimental Integrate code coverage with Apollo 2018-01-15 12:20:11 +01:00
libs Initial implementation of authentication 2018-07-27 13:08:17 +02:00
poc Clean utils folder (namespaces, function names) 2018-04-22 09:44:32 +02:00
release Install openssl inside docker, update order of sections in the documentation 2018-06-22 18:44:11 +02:00
src Decouple visiting of distributed operators from regular 2018-08-28 14:53:02 +02:00
tests Decouple visiting of distributed operators from regular 2018-08-28 14:53:02 +02:00
tools Move distributed operators to its own file 2018-08-28 14:47:14 +02:00
.arcconfig arcconfig: Default to master for diff and land 2017-11-07 18:41:51 +01:00
.clang-format Edges data structure now supports multiple edge filtering (implicit OR) 2017-09-26 13:46:18 +02:00
.gdbinit Add pretty printer to gdb for TypedValue 2017-08-16 11:32:25 +02:00
.gitignore Move distributed operators to its own file 2018-08-28 14:47:14 +02:00
.ycm_extra_conf.py Add kafka library and integrate it into memgraph 2018-07-06 15:52:23 +02:00
apollo_archives.py Refactor Apollo build projects 2018-03-27 13:47:18 +02:00
apollo_archives.yaml Refactor Apollo build projects 2018-03-27 13:47:18 +02:00
apollo_build.yaml Increase init timeout 2018-05-18 14:32:41 +02:00
CHANGELOG.md Add EXPLAIN to openCypher 2018-08-23 14:05:32 +02:00
CMakeLists.txt Separate auth/stream queries from rest of cypher 2018-07-30 12:29:36 +02:00
Doxyfile Add initial version of Apollo config files 2018-01-10 14:46:10 +01:00
Doxylogo.png Doxygen setup 2016-12-20 15:49:52 +01:00
init Integrate driver tests with Apollo 2018-08-22 18:31:37 +02:00
README.md Migrate command line args to gflgs in tests 2017-07-06 13:54:12 +02:00

memgraph

Memgraph is an ACID compliant high performance transactional distributed in-memory graph database featuring runtime native query compiling, lock free data structures, multi-version concurrency control and asynchronous IO.

dependencies

Memgraph can be compiled using any modern c++ compiler. It mostly relies on the standard template library, however, some things do require external libraries.

Some code contains linux-specific libraries and the build is only supported on a 64 bit linux kernel.

  • linux
  • clang 3.8 (good c++11 support, especially lock free atomics)
  • antlr (compiler frontend)
  • cppitertools
  • fmt format
  • google benchmark
  • google test
  • glog
  • gflags