{"id":487,"date":"2016-04-02T07:49:15","date_gmt":"2016-04-01T23:49:15","guid":{"rendered":"http:\/\/carlos.aboutmy.info\/blog\/?p=487"},"modified":"2016-08-30T02:36:36","modified_gmt":"2016-08-29T18:36:36","slug":"%e5%88%9d%e5%98%97-apache-cassandra","status":"publish","type":"post","link":"https:\/\/carlos.aboutmy.info\/blog\/?p=487","title":{"rendered":"\u521d\u5617 Apache Cassandra"},"content":{"rendered":"<p>\u50b3\u7d71 RDBMS \u8a2d\u8a08\u662f\u7528\u4f86\u505a transactions \u8981\u4fdd\u6301 consistency\uff0c\u4e26\u4e0d\u9069\u5408\u5132\u5b58 Big Data\u3002\u72a7\u7272\u4e00\u4e9b consistency \u53ca fancy SQL\uff0c\u63db\u53d6\u5206\u6563\u5f0f\u67b6\u69cb\uff0c\u90a3\u5c31\u662f Cassandra\u3002<\/p>\n<p>Cassandra \u53ef\u9760\u55ce\uff1fApple \u7528\u5de6 75,000 nodes \u5132\u5b58\u4e86\u8d85\u904e 10 PB \u8cc7\u6599\u3002Cassandra \u96e3\u5b89\u88dd\u55ce\uff1f\u89e3\u58d3\u5c31 run \u5f97\u3002<\/p>\n<p><a href=\"\/blog_uploads\/2016\/04\/cassandra-nodes.png\"><img src=\"\/blog_uploads\/2016\/04\/cassandra-nodes.png\" alt=\"cassandra-nodes\" class=\"alignnone size-full\" \/><\/a><\/p>\n<p>\u4e0d\u904e\u8981\u6ce8\u8981\u4e00\u4e0b\uff0cCassandra \u7684\u9810\u8a2d config \u597d\u9032\u53d6\uff0c\u5982\u679c\u90e8 server \u6709\u5176\u4ed6\u91ce run \u6897\uff0c\u597d\u5bb9\u6613\u6703 out of memory error\uff0c\u8981\u8abf\u4e00\u8abf <code>con\/jvm.options<\/code> \u4e2d\u7684 heap size\uff0c\u4e5f\u53ef\u4ee5\u628a <code>assertions<\/code> \u95dc\u6389\u3002GC \u4e5f\u6709\u5f97\u9078\u3002<\/p>\n<p>\u52a0 node \u4e5f\u5f88\u5bb9\u6613\uff0c\u8a2d\u597d\u9023\u63a5\u7684 seeds \u4fbf\u53ef\u3002\u9810\u8a2d\u662f\u70ba\u5de6 quick start\uff0c\u771f\u6b63\u7528\u6642\u6539\u4e00\u6539 <code>endpoint_snitch<\/code> \u505a <code>PropertyFileSnitch<\/code> \u53ca\u8a2d\u7f6e <code>cassandra-topology.properties<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u50b3\u7d71 RDBMS \u8a2d\u8a08\u662f\u7528\u4f86\u505a transactions \u8981\u4fdd\u6301 consistency\uff0c\u4e26\u4e0d\u9069\u5408\u5132\u5b58 Big Data\u3002\u72a7\u7272\u4e00\u4e9b consistency \u53ca fancy SQL\uff0c\u63db\u53d6\u5206\u6563\u5f0f\u67b6\u69cb\uff0c\u90a3\u5c31\u662f Cassandra\u3002 Cassandra \u53ef\u9760\u55ce\uff1fApple \u7528\u5de6 75,000 nodes \u5132\u5b58\u4e86\u8d85\u904e 10 PB \u8cc7\u6599\u3002Cassandra \u96e3\u5b89\u88dd\u55ce\uff1f\u89e3\u58d3\u5c31 run \u5f97\u3002 \u4e0d\u904e\u8981\u6ce8\u8981\u4e00\u4e0b\uff0cCassandra \u7684\u9810\u8a2d config \u597d\u9032\u53d6\uff0c\u5982\u679c\u90e8 server \u6709\u5176\u4ed6\u91ce run \u6897\uff0c\u597d\u5bb9\u6613\u6703 out of memory error\uff0c\u8981\u8abf\u4e00\u8abf con\/jvm.options \u4e2d\u7684 heap size\uff0c\u4e5f\u53ef\u4ee5\u628a assertions \u95dc\u6389\u3002GC \u4e5f\u6709\u5f97\u9078\u3002 \u52a0 node \u4e5f\u5f88\u5bb9\u6613\uff0c\u8a2d\u597d\u9023\u63a5\u7684 seeds \u4fbf\u53ef\u3002\u9810\u8a2d\u662f\u70ba\u5de6 quick start\uff0c\u771f\u6b63\u7528\u6642\u6539\u4e00\u6539 endpoint_snitch \u505a PropertyFileSnitch \u53ca\u8a2d\u7f6e\u2026 <span class=\"read-more\"><a href=\"https:\/\/carlos.aboutmy.info\/blog\/?p=487\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[18],"tags":[],"_links":{"self":[{"href":"https:\/\/carlos.aboutmy.info\/blog\/index.php?rest_route=\/wp\/v2\/posts\/487"}],"collection":[{"href":"https:\/\/carlos.aboutmy.info\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/carlos.aboutmy.info\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/carlos.aboutmy.info\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/carlos.aboutmy.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=487"}],"version-history":[{"count":6,"href":"https:\/\/carlos.aboutmy.info\/blog\/index.php?rest_route=\/wp\/v2\/posts\/487\/revisions"}],"predecessor-version":[{"id":532,"href":"https:\/\/carlos.aboutmy.info\/blog\/index.php?rest_route=\/wp\/v2\/posts\/487\/revisions\/532"}],"wp:attachment":[{"href":"https:\/\/carlos.aboutmy.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/carlos.aboutmy.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=487"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/carlos.aboutmy.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}