Developers summit cassandraで見るNoSQL

6,400 views
6,305 views

Published on

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

No Downloads
Views
Total views
6,400
On SlideShare
0
From Embeds
0
Number of Embeds
1,183
Actions
Shares
0
Downloads
223
Comments
0
Likes
9
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Developers summit cassandraで見るNoSQL

    1. 1. Cassandra NoSQL 17-E-5 2011/02/17 @ryu_kobayashi
    2. 2. •• ✴ ...• ... Hadoop• http://beter-max.blogspot.com( ...)• Twitter @ryu_kobayashi• ✴ Cassndra GUI ‣ http://code.google.com/p/cassandra-gui/ ✴ Amazon Elastic MapReduce 6
    3. 3. Cassndra The Definitive Guide• 0.7•• ...
    4. 4. NoSQL
    5. 5. No! SQL!(SQL )
    6. 6. NoSQL =Not Only SQL
    7. 7. SQL
    8. 8. NoSQL
    9. 9. 1998 Carlo Stozzi2009 Eric Evans Cassnadra ACIDML SQLNoSQL = Not Only SQL
    10. 10. ACID
    11. 11. CAP
    12. 12. 17-C-1Bit Data
    13. 13. KVS
    14. 14. KVS NoSQL
    15. 15. KVS =Key Value Store
    16. 16. KVS ... DB(Cassandra) ... = =Excel
    17. 17. Cassandra GUI RDBMS DBRDBMS
    18. 18. Cassandra ... = =
    19. 19. NoSQLCassandra(Facebook) HBase(Yahoo!)BigTable(Google) Dynamo(Amazon)SimpleDB(Amazon) Windows Azure Table(Microsoft)Roma( ) Flare(gree)Tokyo Tyrant(mixi) Kyoto CabinetMongoDB Kumofs ...
    20. 20. NoSQLhttp://nosql-database.org
    21. 21. RDBMS NoSQL•RDBMS•NoSQL•RDBMS SQL•NoSQL API SQL•
    22. 22. RDBMS
    23. 23. RDBMS
    24. 24. NoSQL
    25. 25. NoSQL•
    26. 26. NoSQL••
    27. 27. NoSQL•• ★Web 2.0 ✴AJAX ✴FLASH ✴ ✴etc...
    28. 28. NoSQL•• ★Web 2.0 ✴AJAX ✴FLASH ✴ ✴etc...
    29. 29. NoSQL ...
    30. 30. NoSQL ...NoSQL DDL
    31. 31. Cassandra
    32. 32. Cassandra
    33. 33. Cassandra Cassandra =Bigtable + Dynamo
    34. 34. CassandraFacebook NoSQL DB 0.7.2 0.6.x 0.6.11
    35. 35. CassandraFacebook NoSQL DB 0.7.2 0.6.x 0.6.11
    36. 36. CassandraFacebook NoSQL DB 0.7.2 0.6.x 0.6.11 • Facebook
    37. 37. CassandraFacebook NoSQL DB 0.7.2 0.6.x 0.6.11 • Facebook HBase
    38. 38. CassandraFacebook NoSQL DB 0.7.2 0.6.x 0.6.11 • Facebook HBase • Twitter
    39. 39. CassandraFacebook NoSQL DB 0.7.2 0.6.x 0.6.11 • Facebook HBase • Twitter •
    40. 40. CassandraFacebook NoSQL DB 0.7.2 0.6.x 0.6.11 • Facebook HBase • Twitter • •
    41. 41. Cassandra0.6 0.70.7 0.8
    42. 42. CassandraUse Case Twitter Cassandra Cassandra
    43. 43. Cassandra•••• SPOF• Thrift Java C++• APP• 0.7 I/O Hadoop MapReduce
    44. 44. Cassandra 2 1 3 4
    45. 45. Cassandra 2 1 3 4
    46. 46. CassandraRandom Partitioner MD5Ordering Preserved PartitionerCollating Order-Preserving PartitionerByte-Order Partitioner 0.7
    47. 47. Cassandra 2 1 3 4
    48. 48. Cassandra 2 1 3Consistency Level 4
    49. 49. Cassandra 2 1 3Consistency Level 4 Consistency Level APP •ONE 1 OK •ALL OK •QUORUM (N/2 + 1) OK
    50. 50. Cassandra 2 1 3 4 SPOF
    51. 51. Cassandra 2 1 3 Consistency Level 4
    52. 52. Cassandra 2 1 3 4 DC
    53. 53. Cassandra Consistency Level•ONE•QUORUM ✴ ✴ Consistency Level ✴ ✴ Read Repair ✴ Read Repair ★Cassandra
    54. 54. CassandraGossip Protocol••••••• Consistency Level
    55. 55. Cassandra Cassandra•Bloom Filter•Commit Log•Memtable•SSTable•Compaction ✴Major Compaction ✴Minor Compaction•etc...
    56. 56. Hadoop MapReduce !!
    57. 57. Hadoop MR + Cassandra
    58. 58. Hadoop MR + Cassandra
    59. 59. Hadoop MR + Cassandra
    60. 60. Hadoop MR + Cassandra =
    61. 61. Hadoop MR + Cassandra = Hassandra!!
    62. 62. Cassandra TwitterOSS 0.7 0.8 Distributed Counters trunk 0.8
    63. 63. NoSQL RDBMSCassandra
    64. 64. NoSQL
    65. 65. RDBMS NoSQL
    66. 66. RDBMS NoSQL
    67. 67. PARTAKE
    68. 68. PARTAKE !?
    69. 69. ACID RDBMScommit rollback MVCC
    70. 70. ACID RDBMScommit rollback MVCC
    71. 71. API Cassandra ThriftAmazon SimpleDB Google Bigtable(GQL) SQLSQL
    72. 72. CassandraCassandra 0.7Distributed counters select count(*) from counter
    73. 73. RDBMSJava Hibernate O/R KVS Cassandra DB
    74. 74. joinRDBMS join Java Hibernate KVS Cassandra
    75. 75. joinRDBMS join Java Hibernate KVS Cassandra RDBMSNoSQL RDBMS
    76. 76. NoSQL
    77. 77. RDBMSNoSQL
    78. 78. 1 PV ...
    79. 79. RDBMSCassandra
    80. 80. Cassandra Join
    81. 81. m(_ _)m
    82. 82. Facebook MySQLCassandra
    83. 83. CassandraHBase (-_- ) Cassandra
    84. 84. NoSQL
    85. 85. NoSQL
    86. 86. 1 NoSQL
    87. 87. •NoSQL RDBMS
    88. 88. •NoSQL RDBMS•
    89. 89. •NoSQL RDBMS••
    90. 90. •NoSQL RDBMS•••
    91. 91. 17-E-5 2011/02/17 @ryu_kobayashi

    ×