memgraph/src/communication/rpc
Matej Ferencevic 017e8004e8 Refactor network stack
Summary:
Previously, the network stack `communication::Server` accepted connections and
assigned them statically in a round-robin fashion to `communication::Worker`.
That meant that if two compute intensive connections were assigned to the same
worker they would block each other while the other workers would do nothing.

This implementation replaces `communication::Worker` with
`communication::Listener` which holds all accepted connections in one pool and
ensures that all workers execute all connections.

Reviewers: buda, florijan, teon.banek

Reviewed By: buda

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1220
2018-02-22 16:29:17 +01:00
..
buffer.cpp Add support for large messages to RPC 2018-02-16 12:38:31 +01:00
buffer.hpp Add support for large messages to RPC 2018-02-16 12:38:31 +01:00
client_pool.hpp Add rpc client pool 2018-01-25 12:48:10 +01:00
client.cpp Add support for large messages to RPC 2018-02-16 12:38:31 +01:00
client.hpp Add client side RPC stats 2018-02-22 12:34:48 +01:00
messages-inl.hpp Implement remote create (storage, RPC, not operator) 2018-02-21 09:17:48 +01:00
messages.hpp Add support for large messages to RPC 2018-02-16 12:38:31 +01:00
protocol.cpp Refactor network stack 2018-02-22 16:29:17 +01:00
protocol.hpp Refactor network stack 2018-02-22 16:29:17 +01:00
server.cpp Refactor network stack 2018-02-22 16:29:17 +01:00
server.hpp Add std:🧵:hardware_concurrency() as a default number of workers to communication and rpc 2018-02-19 22:58:19 +01:00