Connecting PACELC to Real-World Distributed Systems
Understanding how different distributed systems fit into the PACELC framework can help us appreciate their design choices and trade-offs. Let's map some popular distributed databases and systems to the PACELC categories:
-
Apache Cassandra
- When Partitioned (P): Cassandra prioritizes high availability over consistency, so it opts for Evidence during partitions.
- Example: If a partition occurs, writes can still be accepted by any node, but they might not be immediately visible to other nodes until the partition is healed.
- In the "Else" Case: In normal operation without partitions, Cassandra offers tunable consistency levels. However, its default configuration often leans towards eventual consistency (E), though it supports stronger consistency options for critical reads and writes.
- When Partitioned (P): Cassandra prioritizes high availability over consistency, so it opts for Evidence during partitions.
-
MongoDB
- When Partitioned (P): MongoDB replica sets prioritize availability over strong consistency during a partition.
- Example: Writes can be accepted by the primary node, but they might not propagate to secondaries until the network is restored.
- In the "Else" Case: In normal operation without partitions, MongoDB offers various consistency levels. By default,
- When Partitioned (P): MongoDB replica sets prioritize availability over strong consistency during a partition.
Read the full article at DEV Community
Want to create content about this topic? Use Nemati AI tools to generate articles, social posts, and more.

![[AINews] The Unreasonable Effectiveness of Closing the Loop](/_next/image?url=https%3A%2F%2Fmedia.nemati.ai%2Fmedia%2Fblog%2Fimages%2Farticles%2F600e22851bc7453b.webp&w=3840&q=75)



