Tagged “Consistency”
4 articles with this tag.
- CAP and PACELCWhat the CAP theorem actually says (and what it does not), why 'pick two of three' is misleading, CP versus AP systems during a partition, the latency-consistency trade-off that PACELC adds for normal operation, tunable consistency, and how to use these ideas in a system design discussion.
- Consistency and consensusThe strongest guarantees a distributed system can offer and what they cost: eventual consistency versus linearizability, the CAP trade-off made precise, causal ordering, Lamport timestamps, total order broadcast, two-phase commit and its blocking problem, consensus algorithms (Raft, Paxos, Zab), and coordination services like ZooKeeper and etcd for leader election and locks.
- TransactionsHow Spring manages transactions: ACID, PlatformTransactionManager, how @Transactional works through proxies, rollback rules, all seven propagation behaviours with use cases, isolation levels and anomalies, read-only transactions, timeouts, optimistic and pessimistic locking, programmatic TransactionTemplate, and transactions with messaging.
- ReplicationKeeping copies of data on several machines: single-leader replication with synchronous and asynchronous followers, failover and split brain, replication logs, the problems of replication lag (read-your-writes, monotonic reads, consistent prefix), multi-leader and leaderless replication with quorums, sloppy quorums and conflict resolution.