A highly scalable, columnar, distributed 💾 NoSQL designed to handle large amounts ofData across many commodity servers, no SPoF. Offers tunable Consistency.
Notes
Data consistency
Eventually consistent
Cassandra was initially developed at 🌐 Facebook in response to their need for a scalable 💾 DB capable of handling increasing amounts of data across many servers. It gained popularity due to its ability to provide high availability and linearscalability.
TakeAways
- 📌 Cassandra high 🕒 Availability with linear Scaling
- Stores data across multiple commodity servers, providing fault tolerance and no SPoF
- Supports tunable consistency, trading offaccuracy foravailability if needed
- 👥 P2P gossip protocol to communicate between nodes
- 🧩 Automaticpartition data based on the primary key used in queries
- 🔍 Key Data:
- Written inJava and released under Apache License 2.0.
- Backed by 🌐 Facebook, 🌐 Netflix, 🌐 Spotify, and other large-scale applications.
Thoughts
- 🌐 Scalability: Cassandra’s Distributed architecture allows it to scale horizontally by adding more nodes to the cluster
- ⚙️ Data Model: Understand Cassandra’s data model and query languageCQL to optimizeperformance
- 🔒 Consistency: Choose consistency levels wisely, balancing availability withaccuracy based on your application requirements