Performance Trade-offs in Distributed Systems: Replication vs Consensus

Performance trade-offs in distributed replication and consensus — write latency, tail latency, write vs read scalability, consensus throughput limits, batching and pipelining, geographic distribution costs, and backpressure design.