Skip to content

Architecture

Isaac Bowen edited this page May 10, 2017 · 1 revision
  • Clients communicate using a client library, which allows them to make calls such as the following
c_lib.put("john_doe", "balance", "0");
auto val = c_lib.get("john_doe", "balance")
  • Client request are routed to single master
  • The master applies a hash function, routing the request to the correct shard
  • The master answers messages one at a time, as fast as it can hash to each shard
  • Only one message per shard can be serviced at any one time. Additional requests are queued
Clone this wiki locally