70 likes | 188 Views
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)
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!!!