Using replication and partitioning to build secure distributed systems | Synapse