introduction to apache cassandra
DESCRIPTION
TRANSCRIPT
![Page 1: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/1.jpg)
CassandraA highly scalable, eventually consistent, distributed, structured key-value store.
![Page 2: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/2.jpg)
The cursedoracle of Troy.
![Page 3: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/3.jpg)
StructuredKey-Value Store
![Page 4: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/4.jpg)
Berkely DB, Memcached, etc
Name Value
![Page 5: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/5.jpg)
Super Column
Cassandra
Super ColumnName
Column
Name Value
![Page 6: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/6.jpg)
Distributed
![Page 7: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/7.jpg)
Node 1
Node 2
Node 3
Node 4
Node 5
Node 6
![Page 8: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/8.jpg)
Eventually Consistent
![Page 9: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/9.jpg)
Node 1
Node 2
Node 3
Node 4
Write
![Page 10: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/10.jpg)
Node 1
Node 2
Node 3
Node 4
Read
![Page 11: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/11.jpg)
Write
Node 1
Node 2
Node 3
Node 4
![Page 12: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/12.jpg)
Highly Scalable
![Page 13: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/13.jpg)
Node 4
Node 5
Node 6
Node 1
Node 2
Node 3
![Page 14: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/14.jpg)
Node 4
Node 5
Node 6
Node 1Node 2
Node 3
Node 3.5
![Page 15: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/15.jpg)
Fault Tolerant
![Page 16: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/16.jpg)
Node 1
Node 2
Node 3
Node 4
Node 5
Node 6
![Page 17: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/17.jpg)
Node 1
Node 2
Node 3
Node 4
Node 5
Node 6
![Page 18: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/18.jpg)
Rich Data Model
![Page 19: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/19.jpg)
// Column:{ emailAddress: ‘[email protected]’ }
![Page 20: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/20.jpg)
// Super Column:homeAddress: { // Columns: street: ‘1234 Example St.’, city: ‘Santa Cruz’, state: ‘CA’, zip: ‘91210’}
![Page 21: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/21.jpg)
// Column Family:userProfiles: { // Rows: bob2007: { // Columns: username: ‘bob2007’, age: 32, phone: ‘(818) 555-2345’ }, birdHOUSE: { username: ‘birdHOUSE’, name: ‘George’, age: 19 }}
![Page 22: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/22.jpg)
// Super Column Family:addressBook: { // Rows: bob2007: { // Super Columns: Joe: { email:’[email protected]’ }, Ted: { street:’123 Jump St.’, phone:’555-1234’ } } birdHOUSE: { mom: { birthday:’1953-03-07’, phone:’555-7894’ } }}
![Page 23: Introduction to Apache Cassandra](https://reader033.vdocuments.mx/reader033/viewer/2022061206/5482d875b4af9f74638b4842/html5/thumbnails/23.jpg)
Time for an example.Any questions?