Your SlideShare is downloading. ×
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Xebia Knowledge Exchange (may 2010) - NoSQL : Using the right tool for the right job

1,956

Published on

Published in: Technology, News & Politics
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,956
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
26
Comments
0
Likes
3
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. NoSQLUsing the right tool for the right job
  • 2. www.xebia.fr / blog.xebia.fr
    2
    No SQL
  • 3. www.xebia.fr / blog.xebia.fr
    3
    Not
    Only
    I
    /
    I
    /
    No SQL
  • 4. www.xebia.fr / blog.xebia.fr
    4
    Not
    Only
    I
    /
    I
    /
    /
    /
    No SQL
  • 5. www.xebia.fr / blog.xebia.fr
    5
    Not
    Only
    I
    /
    I
    /
    /
    /
    No SQL
    Relational
  • 6. www.xebia.fr / blog.xebia.fr
    6
    Need to store
    some data ?
    Oracle
    SQL Server
    Sybase
    DB2
    MySQL
    PostgreSQL
  • 7. www.xebia.fr / blog.xebia.fr
    7
    RDBMS are great for relationalstorage !
  • 8. www.xebia.fr / blog.xebia.fr
    8
    RDBMS may not befully trivial…
    …what a pity if youjustwanted
    a put / get store
  • 9. www.xebia.fr / blog.xebia.fr
    9
    How to achieve
    scalability and
    highavailability
    with a RDMS ?
  • 10. www.xebia.fr / blog.xebia.fr
    10
    Memcachedcan help to reduce the pressure on RDBMS
  • 11. www.xebia.fr / blog.xebia.fr
    11
    But thiswasn’tenough for some people…
  • 12. www.xebia.fr / blog.xebia.fr
    12
    The birth of Dynamo at Amazon.com…
    Temporal unavailability is acceptable
    Rich storage is preferred for reporting
    Write must ALWAYS be available
    Only key-value is required
  • 13. www.xebia.fr / blog.xebia.fr
    13
    So theystarted to createtheirowndatabasethatwould match theirneeds…
  • 14. www.xebia.fr / blog.xebia.fr
    14
    So theystarted to createtheirowndatabasethatwould match theirneeds…
  • 15. www.xebia.fr / blog.xebia.fr
    15
    Consistent hashingspreadskeysuniformallyacross the partitions
  • 16. www.xebia.fr / blog.xebia.fr
    16
    Shardingbringsscalability, replicationbringshighavailability
  • 17. www.xebia.fr / blog.xebia.fr
    17
    But failuresstill have to behandledefficiently…
  • 18. www.xebia.fr / blog.xebia.fr
    18
    In case of failure of a node, the 2 othernodes serve itsload
  • 19. www.xebia.fr / blog.xebia.fr
    19
    In this configuration, clients know only few nodeswhichact as proxy to othernodes…
  • 20. www.xebia.fr / blog.xebia.fr
    20
    Gossipprotocol to let everybody know node B has failed…
  • 21. www.xebia.fr / blog.xebia.fr
    21
    Eventualconsistency…
    N = Number of replicas
    R = Number of readresponses to wait for
    W = Number of writeaknowledges to wait for
  • 22. www.xebia.fr / blog.xebia.fr
    22
    The ratio between N, R and W makeseverything…
  • 23. www.xebia.fr / blog.xebia.fr
    23
    The ratio between N, R and W makeseverything…
  • 24. www.xebia.fr / blog.xebia.fr
    24
    The ratio between N, R and W makeseverything…
  • 25. www.xebia.fr / blog.xebia.fr
    25
  • 26. www.xebia.fr / blog.xebia.fr
    26
    Key-value stores
    are simple…
  • 27. www.xebia.fr / blog.xebia.fr
    27
    Several competitors…
  • 28. www.xebia.fr / blog.xebia.fr
    28
    Riak…
  • 29. www.xebia.fr / blog.xebia.fr
    29
    Riak…
  • 30. www.xebia.fr / blog.xebia.fr
    30
    Document orienteddatabases are an evolution of key-value stores
  • 31. www.xebia.fr / blog.xebia.fr
    31
    MongoDBis the leader so far…
    … 10gen saidthey are the « MySQL of NoSQL »
  • 32. www.xebia.fr / blog.xebia.fr
    32
    MongoDBis the leader so far…
  • 33. www.xebia.fr / blog.xebia.fr
    33
    MongoDBis the leader so far…
  • 34. www.xebia.fr / blog.xebia.fr
    34
    Graph databases are great to store… graphs !
  • 35. www.xebia.fr / blog.xebia.fr
    35
    NeoTechnologyis the leader so far with Neo4j…
  • 36. www.xebia.fr / blog.xebia.fr
    36
    Neo4j…
  • 37. www.xebia.fr / blog.xebia.fr
    37
    Column-orienteddatabases have a veryparticular data model…
  • 38. www.xebia.fr / blog.xebia.fr
    38
    Cassandra
    Vs
    HBase !
  • 39. www.xebia.fr / blog.xebia.fr
    39
    Cassandra addsSuperColumns to this model…
  • 40. www.xebia.fr / blog.xebia.fr
    40
    Cassandra wasdeveloppedatFacebook, to store the user messages
  • 41. www.xebia.fr / blog.xebia.fr
    41
    Nowalsoused by Digg, Twitter, Rackspace,…
  • 42. What a model…
    www.xebia.fr / blog.xebia.fr
    42
  • 43. www.xebia.fr / blog.xebia.fr
    43
    An example…
  • 44. www.xebia.fr / blog.xebia.fr
    44
    Cassandra Demo

×