SlideShare una empresa de Scribd logo
1 de 28
An introduction to Cassandra London Web Meetup 20/1/2011 Dave Gardner @davegardnerisme
Plug Regular Cassandra meetup at Skills Matter near Old Street. Monday 21st February. Free beer! Free pizza!  http://meetup.com/Cassandra-London
What is Cassandra?
Cassandra is a distributed,  fault-tolerant, scalable, column-oriented data store More on this in a minute…
Who is using Cassandra?
Why might you want to use a distributed,  fault-tolerant, scalable, column-oriented data store?
Collecting preferences
Recommendations The Tweeted Times
Social graphs
That’s a lot of nuts http://www.flickr.com/photos/swamibu/3520926105/sizes/o/
Why Cassandra?
Cassandra is a distributed,  fault-tolerant, scalable, column-oriented data store
#1 #6 #2 No master node (no single point of failure) #3 #5 Client #4
Cassandra is a distributed,  fault tolerant, scalable, column-oriented data store
Replication Factor = 3 #1 #6 #2 #3 #5 Client #4
Key feature! Cassandra hastunable consistency (on a per-request basis)
Consistency level: how many replicas must respond to declare success? Plus some DC aware levels
Cassandra is a distributed,  fault-tolerant, scalable, column-oriented data store
Key feature! Scales linearly for both reads and writes (horizontally)
Cassandra is particularly suited to use-cases that have a high write load
Cassandra is a distributed,  fault-tolerant, scalable, column-oriented data store
{‘foo’ => {‘bar’ => ‘baz’}} {key => {col_name => col_value}}
{ column_family => { 		key => { col_name => col_value 		} 	} }
That was a very brief overview Learn more at Cassandra London!
Thank you! Any questions? Dave Gardner @davegardnerisme Cassandra London @cassandralondon http://meetup.com/Cassandra-London
Further reading for the keen ones… WTF is a SuperColumn? An Intro to the Cassandra Data Modelhttp://arin.me/blog/wtf-is-a-supercolumn-cassandra-data-model Clients list (Python, Java, .NET, Ruby, PHP)http://wiki.apache.org/cassandra/ClientOptions Cassandra docs on DataStax websitehttp://www.datastax.com/docs/0.7/index Introduction to Cassandra by Aaron Mortonhttp://www.slideshare.net/aaronmorton/well-railedcassandra24112010-5901169 Operations and troubleshooting guide by Ben Blackhttp://www.slideshare.net/benjaminblack/cassandra-summit-2010-operations-troubleshooting-intro
More reading for the really keen… Introduction to Cassandra: Replication and Consistency by Ben Blackhttp://www.slideshare.net/benjaminblack/introduction-to-cassandra-replication-and-consistency Running Cassandra on Amazon EC2 by Dave Gardnerhttp://www.slideshare.net/davegardnerisme/running-cassandra-on-amazon-ec2 4 Months With Cassandra, a love story by CloudKickhttps://www.cloudkick.com/blog/2010/mar/02/4_months_with_cassandra/ Cassandra London meetuphttp://meetup.com/Cassandra-London

Más contenido relacionado

Similar a Introduction to Cassandra at London Web Meetup

Highly available, scalable and secure data with Cassandra and DataStax Enterp...
Highly available, scalable and secure data with Cassandra and DataStax Enterp...Highly available, scalable and secure data with Cassandra and DataStax Enterp...
Highly available, scalable and secure data with Cassandra and DataStax Enterp...Johnny Miller
 
An efficient data mining solution by integrating Spark and Cassandra
An efficient data mining solution by integrating Spark and CassandraAn efficient data mining solution by integrating Spark and Cassandra
An efficient data mining solution by integrating Spark and CassandraStratio
 
Getting started with MariaDB with Docker
Getting started with MariaDB with DockerGetting started with MariaDB with Docker
Getting started with MariaDB with DockerMariaDB plc
 
Data Modeling with Cassandra Column Families
Data Modeling with Cassandra Column FamiliesData Modeling with Cassandra Column Families
Data Modeling with Cassandra Column Familiesgdusbabek
 
Introduction to Apache Cassandra
Introduction to Apache CassandraIntroduction to Apache Cassandra
Introduction to Apache CassandraIntan Marselly
 
Deep dive into event store using Apache Cassandra
Deep dive into event store using Apache CassandraDeep dive into event store using Apache Cassandra
Deep dive into event store using Apache CassandraAhmedabadJavaMeetup
 
Apache Cassandra: building a production app on an eventually-consistent DB
Apache Cassandra: building a production app on an eventually-consistent DBApache Cassandra: building a production app on an eventually-consistent DB
Apache Cassandra: building a production app on an eventually-consistent DBOliver Lockwood
 
HPTS 2011: The NoSQL Ecosystem
HPTS 2011: The NoSQL EcosystemHPTS 2011: The NoSQL Ecosystem
HPTS 2011: The NoSQL EcosystemAdam Marcus
 
The NoSQL Ecosystem
The NoSQL Ecosystem The NoSQL Ecosystem
The NoSQL Ecosystem yarapavan
 
Hindsight is 20/20: MySQL to Cassandra
Hindsight is 20/20: MySQL to CassandraHindsight is 20/20: MySQL to Cassandra
Hindsight is 20/20: MySQL to CassandraMichael Kjellman
 
C* Summit 2013 - Hindsight is 20/20. MySQL to Cassandra by Michael Kjellman
C* Summit 2013 - Hindsight is 20/20. MySQL to Cassandra by Michael KjellmanC* Summit 2013 - Hindsight is 20/20. MySQL to Cassandra by Michael Kjellman
C* Summit 2013 - Hindsight is 20/20. MySQL to Cassandra by Michael KjellmanDataStax Academy
 
Navigating NoSQL in cloudy skies
Navigating NoSQL in cloudy skiesNavigating NoSQL in cloudy skies
Navigating NoSQL in cloudy skiesshnkr_rmchndrn
 
Tech Talk Series, Part 2: Why is sharding not smart to do in MySQL?
Tech Talk Series, Part 2: Why is sharding not smart to do in MySQL?Tech Talk Series, Part 2: Why is sharding not smart to do in MySQL?
Tech Talk Series, Part 2: Why is sharding not smart to do in MySQL?Clustrix
 
Plandas-CacheCloud
Plandas-CacheCloudPlandas-CacheCloud
Plandas-CacheCloudGyuman Cho
 
Riak at Engine Yard Cloud
Riak at Engine Yard CloudRiak at Engine Yard Cloud
Riak at Engine Yard CloudInes Sombra
 
Presentation of Apache Cassandra
Presentation of Apache Cassandra Presentation of Apache Cassandra
Presentation of Apache Cassandra Nikiforos Botis
 
Introduction to NoSQL | Big Data Hadoop Spark Tutorial | CloudxLab
Introduction to NoSQL | Big Data Hadoop Spark Tutorial | CloudxLabIntroduction to NoSQL | Big Data Hadoop Spark Tutorial | CloudxLab
Introduction to NoSQL | Big Data Hadoop Spark Tutorial | CloudxLabCloudxLab
 

Similar a Introduction to Cassandra at London Web Meetup (20)

Highly available, scalable and secure data with Cassandra and DataStax Enterp...
Highly available, scalable and secure data with Cassandra and DataStax Enterp...Highly available, scalable and secure data with Cassandra and DataStax Enterp...
Highly available, scalable and secure data with Cassandra and DataStax Enterp...
 
An efficient data mining solution by integrating Spark and Cassandra
An efficient data mining solution by integrating Spark and CassandraAn efficient data mining solution by integrating Spark and Cassandra
An efficient data mining solution by integrating Spark and Cassandra
 
Getting started with MariaDB with Docker
Getting started with MariaDB with DockerGetting started with MariaDB with Docker
Getting started with MariaDB with Docker
 
Data Modeling with Cassandra Column Families
Data Modeling with Cassandra Column FamiliesData Modeling with Cassandra Column Families
Data Modeling with Cassandra Column Families
 
Introduction to Apache Cassandra
Introduction to Apache CassandraIntroduction to Apache Cassandra
Introduction to Apache Cassandra
 
Deep dive into event store using Apache Cassandra
Deep dive into event store using Apache CassandraDeep dive into event store using Apache Cassandra
Deep dive into event store using Apache Cassandra
 
Apache Cassandra: building a production app on an eventually-consistent DB
Apache Cassandra: building a production app on an eventually-consistent DBApache Cassandra: building a production app on an eventually-consistent DB
Apache Cassandra: building a production app on an eventually-consistent DB
 
Cassandra
CassandraCassandra
Cassandra
 
HPTS 2011: The NoSQL Ecosystem
HPTS 2011: The NoSQL EcosystemHPTS 2011: The NoSQL Ecosystem
HPTS 2011: The NoSQL Ecosystem
 
The NoSQL Ecosystem
The NoSQL Ecosystem The NoSQL Ecosystem
The NoSQL Ecosystem
 
Hindsight is 20/20: MySQL to Cassandra
Hindsight is 20/20: MySQL to CassandraHindsight is 20/20: MySQL to Cassandra
Hindsight is 20/20: MySQL to Cassandra
 
C* Summit 2013 - Hindsight is 20/20. MySQL to Cassandra by Michael Kjellman
C* Summit 2013 - Hindsight is 20/20. MySQL to Cassandra by Michael KjellmanC* Summit 2013 - Hindsight is 20/20. MySQL to Cassandra by Michael Kjellman
C* Summit 2013 - Hindsight is 20/20. MySQL to Cassandra by Michael Kjellman
 
Navigating NoSQL in cloudy skies
Navigating NoSQL in cloudy skiesNavigating NoSQL in cloudy skies
Navigating NoSQL in cloudy skies
 
Tech Talk Series, Part 2: Why is sharding not smart to do in MySQL?
Tech Talk Series, Part 2: Why is sharding not smart to do in MySQL?Tech Talk Series, Part 2: Why is sharding not smart to do in MySQL?
Tech Talk Series, Part 2: Why is sharding not smart to do in MySQL?
 
Plandas-CacheCloud
Plandas-CacheCloudPlandas-CacheCloud
Plandas-CacheCloud
 
Riak at Engine Yard Cloud
Riak at Engine Yard CloudRiak at Engine Yard Cloud
Riak at Engine Yard Cloud
 
Presentation of Apache Cassandra
Presentation of Apache Cassandra Presentation of Apache Cassandra
Presentation of Apache Cassandra
 
How and when to use NoSQL
How and when to use NoSQLHow and when to use NoSQL
How and when to use NoSQL
 
Introduction to NoSQL | Big Data Hadoop Spark Tutorial | CloudxLab
Introduction to NoSQL | Big Data Hadoop Spark Tutorial | CloudxLabIntroduction to NoSQL | Big Data Hadoop Spark Tutorial | CloudxLab
Introduction to NoSQL | Big Data Hadoop Spark Tutorial | CloudxLab
 
MariaDB - The Future of MySQL?
MariaDB - The Future of MySQL?MariaDB - The Future of MySQL?
MariaDB - The Future of MySQL?
 

Más de Dave Gardner

Cabs, Cassandra, and Hailo (at Cassandra EU)
Cabs, Cassandra, and Hailo (at Cassandra EU)Cabs, Cassandra, and Hailo (at Cassandra EU)
Cabs, Cassandra, and Hailo (at Cassandra EU)Dave Gardner
 
Cabs, Cassandra, and Hailo
Cabs, Cassandra, and HailoCabs, Cassandra, and Hailo
Cabs, Cassandra, and HailoDave Gardner
 
Planning to Fail #phpne13
Planning to Fail #phpne13Planning to Fail #phpne13
Planning to Fail #phpne13Dave Gardner
 
Planning to Fail #phpuk13
Planning to Fail #phpuk13Planning to Fail #phpuk13
Planning to Fail #phpuk13Dave Gardner
 
Cassandra concepts, patterns and anti-patterns
Cassandra concepts, patterns and anti-patternsCassandra concepts, patterns and anti-patterns
Cassandra concepts, patterns and anti-patternsDave Gardner
 
Unique ID generation in distributed systems
Unique ID generation in distributed systemsUnique ID generation in distributed systems
Unique ID generation in distributed systemsDave Gardner
 
Learning Cassandra
Learning CassandraLearning Cassandra
Learning CassandraDave Gardner
 
Intro slides from Cassandra London July 2011
Intro slides from Cassandra London July 2011Intro slides from Cassandra London July 2011
Intro slides from Cassandra London July 2011Dave Gardner
 
2011.07.18 cassandrameetup
2011.07.18 cassandrameetup2011.07.18 cassandrameetup
2011.07.18 cassandrameetupDave Gardner
 
Cassandra + Hadoop = Brisk
Cassandra + Hadoop = BriskCassandra + Hadoop = Brisk
Cassandra + Hadoop = BriskDave Gardner
 
Running Cassandra on Amazon EC2
Running Cassandra on Amazon EC2Running Cassandra on Amazon EC2
Running Cassandra on Amazon EC2Dave Gardner
 

Más de Dave Gardner (12)

Cabs, Cassandra, and Hailo (at Cassandra EU)
Cabs, Cassandra, and Hailo (at Cassandra EU)Cabs, Cassandra, and Hailo (at Cassandra EU)
Cabs, Cassandra, and Hailo (at Cassandra EU)
 
Cabs, Cassandra, and Hailo
Cabs, Cassandra, and HailoCabs, Cassandra, and Hailo
Cabs, Cassandra, and Hailo
 
Planning to Fail #phpne13
Planning to Fail #phpne13Planning to Fail #phpne13
Planning to Fail #phpne13
 
Planning to Fail #phpuk13
Planning to Fail #phpuk13Planning to Fail #phpuk13
Planning to Fail #phpuk13
 
Cassandra concepts, patterns and anti-patterns
Cassandra concepts, patterns and anti-patternsCassandra concepts, patterns and anti-patterns
Cassandra concepts, patterns and anti-patterns
 
Unique ID generation in distributed systems
Unique ID generation in distributed systemsUnique ID generation in distributed systems
Unique ID generation in distributed systems
 
Learning Cassandra
Learning CassandraLearning Cassandra
Learning Cassandra
 
Intro slides from Cassandra London July 2011
Intro slides from Cassandra London July 2011Intro slides from Cassandra London July 2011
Intro slides from Cassandra London July 2011
 
2011.07.18 cassandrameetup
2011.07.18 cassandrameetup2011.07.18 cassandrameetup
2011.07.18 cassandrameetup
 
Cassandra + Hadoop = Brisk
Cassandra + Hadoop = BriskCassandra + Hadoop = Brisk
Cassandra + Hadoop = Brisk
 
Running Cassandra on Amazon EC2
Running Cassandra on Amazon EC2Running Cassandra on Amazon EC2
Running Cassandra on Amazon EC2
 
PHP and Cassandra
PHP and CassandraPHP and Cassandra
PHP and Cassandra
 

Introduction to Cassandra at London Web Meetup

  • 1. An introduction to Cassandra London Web Meetup 20/1/2011 Dave Gardner @davegardnerisme
  • 2. Plug Regular Cassandra meetup at Skills Matter near Old Street. Monday 21st February. Free beer! Free pizza! http://meetup.com/Cassandra-London
  • 4. Cassandra is a distributed, fault-tolerant, scalable, column-oriented data store More on this in a minute…
  • 5. Who is using Cassandra?
  • 6.
  • 7. Why might you want to use a distributed, fault-tolerant, scalable, column-oriented data store?
  • 11. That’s a lot of nuts http://www.flickr.com/photos/swamibu/3520926105/sizes/o/
  • 13. Cassandra is a distributed, fault-tolerant, scalable, column-oriented data store
  • 14. #1 #6 #2 No master node (no single point of failure) #3 #5 Client #4
  • 15. Cassandra is a distributed, fault tolerant, scalable, column-oriented data store
  • 16. Replication Factor = 3 #1 #6 #2 #3 #5 Client #4
  • 17. Key feature! Cassandra hastunable consistency (on a per-request basis)
  • 18. Consistency level: how many replicas must respond to declare success? Plus some DC aware levels
  • 19. Cassandra is a distributed, fault-tolerant, scalable, column-oriented data store
  • 20. Key feature! Scales linearly for both reads and writes (horizontally)
  • 21. Cassandra is particularly suited to use-cases that have a high write load
  • 22. Cassandra is a distributed, fault-tolerant, scalable, column-oriented data store
  • 23. {‘foo’ => {‘bar’ => ‘baz’}} {key => {col_name => col_value}}
  • 24. { column_family => { key => { col_name => col_value } } }
  • 25. That was a very brief overview Learn more at Cassandra London!
  • 26. Thank you! Any questions? Dave Gardner @davegardnerisme Cassandra London @cassandralondon http://meetup.com/Cassandra-London
  • 27. Further reading for the keen ones… WTF is a SuperColumn? An Intro to the Cassandra Data Modelhttp://arin.me/blog/wtf-is-a-supercolumn-cassandra-data-model Clients list (Python, Java, .NET, Ruby, PHP)http://wiki.apache.org/cassandra/ClientOptions Cassandra docs on DataStax websitehttp://www.datastax.com/docs/0.7/index Introduction to Cassandra by Aaron Mortonhttp://www.slideshare.net/aaronmorton/well-railedcassandra24112010-5901169 Operations and troubleshooting guide by Ben Blackhttp://www.slideshare.net/benjaminblack/cassandra-summit-2010-operations-troubleshooting-intro
  • 28. More reading for the really keen… Introduction to Cassandra: Replication and Consistency by Ben Blackhttp://www.slideshare.net/benjaminblack/introduction-to-cassandra-replication-and-consistency Running Cassandra on Amazon EC2 by Dave Gardnerhttp://www.slideshare.net/davegardnerisme/running-cassandra-on-amazon-ec2 4 Months With Cassandra, a love story by CloudKickhttps://www.cloudkick.com/blog/2010/mar/02/4_months_with_cassandra/ Cassandra London meetuphttp://meetup.com/Cassandra-London