What happens if a catastrophe occurs in or between your data centers? What if a node goes down or becomes unreachable for any reason? Scylla’s fault tolerance features significantly mitigate the potential for catastrophe. To get the best fault tolerance out of Scylla, you must understand how to select the right fault tolerance strategy, which includes setting a Replication Factor (the number of nodes that contain a copy of the data) for your keyspaces and choosing the right Consistency Level (the number of nodes that must respond to read or write operations). We recently added new documentation to our Scylla Architecture section on Scylla Fault Tolerance. Let’s learn more about it.
What is Scylla Fault Tolerance?
Fault tolerance relates to a system’s ability to continue operating in the event of a failure of one or more of its components. In Scylla’s case, this how we handle data consistency – the validity of data reads and writes – when one or more of our component nodes go down.
Like many distributed database systems, Scylla adheres to the CAP Theorem: in a distributed system, consistency, availability and partition tolerance of data are mutually dependent. Increasing (or decreasing) any 2 of these factors will inversely affect the third.
How does this work? Specifying a replication factor (RF) when setting up your Scylla keyspaces ensures that your keyspace is replicated to the number of nodes you specify. Since this affects performance and latency, your consistency level (CL) – tunable for each read and write query – lets you incrementally adjust how many read or write acknowledgements your operation requires for completion.
In addition to the concepts above, we dive into tunable consistency and provide a short glossary of terms. Not just for Scylla, our tutorial can also help you understand other distributed, ring-architected databases such as Apache Cassandra® and Amazon’s DynamoDB®.
Try it out!
Try out our docs site to get the basics on this and a lot more. Learn about our architecture, and how to get started with Scylla. Check out Scylla For Administrators, learn Scylla for Developers, model your own CQL, browse our FAQ and knowledge base and even learn how to contribute to Scylla.
Amazon DynamoDB®. is a trademark of Amazon Inc.