Open-source graph database, built for real-time streaming data, compatible with Neo4j.
cyphergraphgraph-algorithmsgraph-analysisgraph-databasekafkakafka-streamsnosqlopencypherstream-processingstreaming-data
4d2eda398f
Summary: This diff improves the performance of `PropertyStore` with two main techniques: First: `PropertyValue` has a very expensive constructor and destructor. The `PropertyValue` was previously passed as a return value from many functions wrapped in a `std::optional`. That caused the `PropertyValue` constructor/destructor to be called for each intermediary value that was passed between functions. This diff changes the functions to return a `bool` value that imitates the `std::optional` "emptyness" flag and the `PropertyValue` is modified using a pointer to it so that its constructor/destructor is called only once. Second: The `PropertyStore` buffer was previously iterated through at least twice. First to determine the exact position of the encoded property and then to actually decode the property. This diff combines the two passes into a single pass so that the property is immediately loaded if it is found. Reviewers: buda Reviewed By: buda Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D2766 |
||
---|---|---|
cmake | ||
config | ||
docs | ||
environment | ||
include | ||
libs | ||
query_modules | ||
release | ||
src | ||
tests | ||
tools | ||
.arcconfig | ||
.arclint | ||
.clang-format | ||
.clang-tidy | ||
.gdbinit | ||
.gitignore | ||
.ycm_extra_conf.py | ||
apollo_archives.py | ||
apollo_archives.yaml | ||
apollo_build.yaml | ||
CHANGELOG.md | ||
CMakeLists.txt | ||
Doxyfile | ||
Doxylogo.png | ||
init | ||
README.md |
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