Cassandra<br />A highly scalable, eventually consistent, distributed, structured key-value store.<br />
The cursed<br />oracle of Troy.<br />
Structured<br />Key-Value Store<br />
Berkely DB, Memcached, etc<br />Name<br />Value<br />
Cassandra<br />Super Column<br />Super Column<br />Name<br />Column<br />Name<br />Value<br />
Distributed<br />
Eventually Consistent<br />
Node 1<br />Node 2<br />Node 3<br />Node 4<br />Write<br />
Node 1<br />Node 2<br />Node 3<br />Node 4<br />Read<br />
Node 1<br />Node 2<br />Node 3<br />Node 4<br />Write<br />
Highly Scalable<br />
Fault Tolerant<br />
Rich Data Model<br />
// Column:<br />{ emailAddress: ‘jill@example.com’ }<br />
// Super Column:<br />homeAddress: {<br />    // Columns:<br />   street: ‘1234 Example St.’,<br />   city: ‘Santa Cruz’,<...
// Column Family:<br />userProfiles: {<br />   // Rows:<br />    bob2007: {<br />       // Columns:<br />       username: ...
// Super Column Family:<br />addressBook: {<br />   // Rows:<br />    bob2007: {<br />       // Super Columns:<br />      ...
Time for an example.<br />Any questions?<br />
Upcoming SlideShare
Loading in...5
×

Introduction to Apache Cassandra

3,300

Published on

Published in: Technology
0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,300
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
133
Comments
0
Likes
5
Embeds 0
No embeds

No notes for slide

Introduction to Apache Cassandra

  1. 1. Cassandra<br />A highly scalable, eventually consistent, distributed, structured key-value store.<br />
  2. 2. The cursed<br />oracle of Troy.<br />
  3. 3. Structured<br />Key-Value Store<br />
  4. 4. Berkely DB, Memcached, etc<br />Name<br />Value<br />
  5. 5. Cassandra<br />Super Column<br />Super Column<br />Name<br />Column<br />Name<br />Value<br />
  6. 6. Distributed<br />
  7. 7.
  8. 8. Eventually Consistent<br />
  9. 9. Node 1<br />Node 2<br />Node 3<br />Node 4<br />Write<br />
  10. 10. Node 1<br />Node 2<br />Node 3<br />Node 4<br />Read<br />
  11. 11. Node 1<br />Node 2<br />Node 3<br />Node 4<br />Write<br />
  12. 12. Highly Scalable<br />
  13. 13.
  14. 14.
  15. 15. Fault Tolerant<br />
  16. 16.
  17. 17.
  18. 18. Rich Data Model<br />
  19. 19. // Column:<br />{ emailAddress: ‘jill@example.com’ }<br />
  20. 20. // Super Column:<br />homeAddress: {<br /> // Columns:<br /> street: ‘1234 Example St.’,<br /> city: ‘Santa Cruz’,<br /> state: ‘CA’,<br /> zip: ‘91210’<br />}<br />
  21. 21. // Column Family:<br />userProfiles: {<br /> // Rows:<br /> bob2007: {<br /> // Columns:<br /> username: ‘bob2007’,<br /> age: 32,<br /> phone: ‘(818) 555-2345’<br /> },<br />birdHOUSE: {<br /> username: ‘birdHOUSE’,<br /> name: ‘George’,<br /> age: 19<br /> }<br />}<br />
  22. 22. // Super Column Family:<br />addressBook: {<br /> // Rows:<br /> bob2007: {<br /> // Super Columns:<br /> Joe: { email:’joe@example.com’ },<br /> Ted: { street:’123 Jump St.’, phone:’555-1234’ }<br /> }<br />birdHOUSE: {<br /> mom: { birthday:’1953-03-07’, phone:’555-7894’ }<br /> }<br />}<br />
  23. 23. Time for an example.<br />Any questions?<br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×