70 likes | 196 Views
This lightning talk delves into the history and evolution of Apache Cassandra, a robust NoSQL database adopted widely since its inception at Facebook, influenced by Amazon Dynamo and Google Bigtable. The session covers key features including distributed design, fault tolerance, and scalability, highlighting Cassandra's unique data model with column families and arbitrary schemas. Performance benchmarks between MySQL and Cassandra showcase superior speed in reads and writes. Attendees will learn when to choose NoSQL over traditional SQL for their projects, emphasizing the importance of database selection based on specific needs.
E N D
Lightning Talk: Apache Cassandra Casey Foster Michael Phillips
History Started at Facebook Amazon Dynamo Google BigTable OpenSource, adopted by Apache
Design Distributed Fault tolerance Scalability Unusual Data Model
Data Model One Data Store (associative array) Column Families (like tables) Arbitrary schema within families (super columns) See board!
Facebook Performance Benchmark • MySQL with over 50 GB of Data • - Writes Average: ~300ms • - Reads Average: ~350ms • Cassandra with over 50 GB of Data • - Writes Average: 0.12ms • - Reads Average: 15ms • And this is why…
Facebook Example • To the board!
NoSQL New Hotness? • NoSQL • - Fewer index searches • - Faster reads and writes • - Less expensive to scale (disk space vs CPU) • SQL • - Queries are much more flexible • - Much more mature and stable • The right database depends on the project!!!