• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Cassandra architecture
 

Cassandra architecture

on

  • 11,507 views

Compare PostgreSQL at scale with Cassandra. Show

Compare PostgreSQL at scale with Cassandra. Show

Statistics

Views

Total Views
11,507
Views on SlideShare
9,530
Embed Views
1,977

Actions

Likes
11
Downloads
167
Comments
1

8 Embeds 1,977

http://www.nosqldatabases.com 1961
http://paper.li 6
http://www.slideshare.net 2
url_unknown 2
http://translate.googleusercontent.com 2
http://www.linkedin.com 2
http://twitter.com 1
http://www.mefeedia.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • apples vs oranges
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Cassandra architecture Cassandra architecture Presentation Transcript

    • Comparing Cassandra to PostgreSQL deployed   think different at scale Jake Luciani datastax.com @tjake
    • PostgreSQL - Example at Scale
    • Cassandra at Scale
    • Cassandra - BigTable and Dynamo
        • Peer to peer (master-less)
        • Tunable Consistency
        • Nested Tree data model
        • Pluggable replication/sorting
        • Low latency 
        • Tight integration with Hadoop Stack (+Hive)
        • Major adoption and development
        • 0.8 Offers CQL (SQL like query interface)
      •   
    • Cassandra's Data Model
    • Cassandra - Partitioning
    • Cassandra - Scale Up / Scale Down
    • Cassandra - Replication
    • Tunable Consistency - per read/write
        • ONE - Return once one replica responds success
        • QUORUM - Return once RF/2 + 1 replicas respond
        • ALL - Return when all replicas respond
      • Want async replication?
      •      Write = ONE, Read = ONE (Performance++)
      • Want Strong consistency? 
      •      Read = QUORUM, Write = QUORUM 
      • Want Strong Consistency per DataCenter?
      •      Read = LOCAL_QUORUM, write LOCAL_QUORUM
    • NoSQL -> MoSQL
      • SQL : create table foo(key int not null,  bar varchar(80) )
      • CQL: create columnfamily foo
      • SQL: insert into table foo values (1,"hello")
      • CQL: none
      • SQL: update foo set bar = "world" where key = 1
      • CQL: update foo set bar = "world" where key = 1
      • SQL: create index baridx on foo(bar);
      • CQL: create index on foo('bar');
      • SQL: select * from foo where bar = 'world'
      • CQL: select * from foo where bar = 'world'