Introduction to Apache Cassandra

  • 3,048 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
3,048
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
110
Comments
0
Likes
5

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

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