c877c87bb4
Summary: Previously, the RPC stack used the network stack only to receive messages. The messages were then added to a separate queue that was processed by different thread pools. This design was inefficient because there was a lock when inserting and getting messages from the common queue. This diff removes the need for separate thread pools by utilising the new network stack design. This is possible because the new network stack allows full processing of the network request without blocking the whole queue. Reviewers: buda, florijan, teon.banek, dgleich, mislav.bradac Reviewed By: buda Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D1229 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
example_client.cpp | ||
example_server.cpp | ||
example_test.py | ||
messages.hpp | ||
README.md |
Raft Tests
To run test locally execute following command:
./local_runner {test_suite} {test_name}
Every test has to be defined as python module
with exposed run(machine_ids, workers)
method. In each test there has to be constant
NUM_MACHINES
which specifies how many workers
to run in cluster.