{"id":26514,"date":"2012-09-18T20:09:28","date_gmt":"2012-09-18T12:09:28","guid":{"rendered":"http:\/\/www.yankay.com\/?p=26514"},"modified":"2012-09-18T20:09:28","modified_gmt":"2012-09-18T12:09:28","slug":"google-spanner%e5%8e%9f%e7%90%86-%e5%85%a8%e7%90%83%e7%ba%a7%e7%9a%84%e5%88%86%e5%b8%83%e5%bc%8f%e6%95%b0%e6%8d%ae%e5%ba%93","status":"publish","type":"post","link":"http:\/\/yankay.com\/google-spanner%e5%8e%9f%e7%90%86-%e5%85%a8%e7%90%83%e7%ba%a7%e7%9a%84%e5%88%86%e5%b8%83%e5%bc%8f%e6%95%b0%e6%8d%ae%e5%ba%93\/","title":{"rendered":"Google Spanner\u539f\u7406- \u5168\u7403\u7ea7\u7684\u5206\u5e03\u5f0f\u6570\u636e\u5e93"},"content":{"rendered":"
Google Spanner\u7b80\u4ecb<\/h5>\n

Spanner \u662fGoogle\u7684\u5168\u7403\u7ea7\u7684\u5206\u5e03\u5f0f\u6570\u636e\u5e93 (Globally-Distributed Database) \u3002Spanner\u7684\u6269\u5c55\u6027\u8fbe\u5230\u4e86\u4ee4\u4eba\u548b\u820c\u7684\u5168\u7403\u7ea7\uff0c\u53ef\u4ee5\u6269\u5c55\u5230\u6570\u767e\u4e07\u7684\u673a\u5668\uff0c\u6570\u5df2\u767e\u8ba1\u7684\u6570\u636e\u4e2d\u5fc3\uff0c\u4e0a\u4e07\u4ebf\u7684\u884c\u3002\u66f4\u7ed9\u529b\u7684\u662f\uff0c\u9664\u4e86\u5938\u5f20\u7684\u6269\u5c55\u6027\u4e4b\u5916\uff0c\u4ed6\u8fd8\u80fd\u540c\u65f6\u901a\u8fc7\u540c\u6b65\u590d\u5236\u548c\u591a\u7248\u672c\u6765\u6ee1\u8db3\u5916\u90e8\u4e00\u81f4\u6027\uff0c\u53ef\u7528\u6027\u4e5f\u662f\u5f88\u597d\u7684\u3002\u51b2\u7834CAP\u7684\u67b7\u9501\uff0c\u5728\u4e09\u8005\u4e4b\u95f4\u5b8c\u7f8e\u5e73\u8861\u3002<\/p>\n

\"\"<\/a><\/p>\n

Spanner\u662f\u4e2a\u53ef\u6269\u5c55\uff0c\u591a\u7248\u672c\uff0c\u5168\u7403\u5206\u5e03\u5f0f\u8fd8\u652f\u6301\u540c\u6b65\u590d\u5236\u7684\u6570\u636e\u5e93\u3002\u4ed6\u662fGoogle\u7684\u7b2c\u4e00\u4e2a\u53ef\u4ee5\u5168\u7403\u6269\u5c55\u5e76\u4e14\u652f\u6301\u5916\u90e8\u4e00\u81f4\u7684\u4e8b\u52a1\u3002Spanner\u80fd\u505a\u5230\u8fd9\u4e9b\uff0c\u79bb\u4e0d\u5f00\u4e00\u4e2a\u7528GPS\u548c\u539f\u5b50\u949f\u5b9e\u73b0\u7684\u65f6\u95f4API\u3002\u8fd9\u4e2aAPI\u80fd\u5c06\u6570\u636e\u4e2d\u5fc3\u4e4b\u95f4\u7684\u65f6\u95f4\u540c\u6b65\u7cbe\u786e\u523010ms\u4ee5\u5185\u3002\u56e0\u6b64\u6709\u51e0\u4e2a\u7ed9\u529b\u7684\u529f\u80fd\uff1a\u65e0\u9501\u8bfb\u4e8b\u52a1\uff0c\u539f\u5b50schema\u4fee\u6539\uff0c\u8bfb\u5386\u53f2\u6570\u636e\u65e0block\u3002<\/p>\n

EMC\u4e2d\u56fd\u7814\u7a76\u9662<\/a>\u5b9e\u65f6\u7d27\u76ef\u4e1a\u754c\u52a8\u6001\uff0cGoogle\u6700\u8fd1\u53d1\u5e03\u7684\u4e00\u7bc7\u8bba\u6587\u300aSpanner: Google’s Globally-Distributed Database<\/a>\u300b, \u7b14\u8005\u975e\u5e38\u611f\u5174\u8da3\uff0c\u5bf9Spanner\u8fdb\u884c\u4e86\u4e00\u4e9b\u8c03\u7814\uff0c\u5e76\u5728\u8fd9\u91cc\u5206\u4eab\u3002\u7531\u4e8eSpanner\u5e76\u4e0d\u662f\u5f00\u6e90\u4ea7\u54c1\uff0c\u7b14\u8005\u7684\u77e5\u8bc6\u4e3b\u8981\u6765\u6e90\u4e8eGoogle\u7684\u516c\u5f00\u8d44\u6599\uff0c\u901a\u8fc7\u73b0\u6709\u516c\u5f00\u8d44\u6599\u4ec5\u4ec5\u53ea\u80fd\u7aa5\u5f97Spanner\u7684\u6ca7\u6d77\u4e00\u7c9f\uff0cSpanner\u80cc\u540e\u8fd8\u4f9d\u8d56\u6709\u5927\u91cfGoogle\u7684\u4e13\u6709\u6280\u672f\u3002\u7814\u7a76\u9662\u539f\u6587<\/a>\u3002<\/p>\n

\u4e0b\u6587\u4e3b\u8981\u662fSpanner\u7684\u80cc\u666f\uff0c\u8bbe\u8ba1\u548c\u5e76\u53d1\u63a7\u5236\u3002<\/p>\n

Spanner\u80cc\u666f<\/h5>\n

\u8981\u641e\u6e05\u695aSpanner\u539f\u7406\uff0c\u5148\u5f97\u4e86\u89e3Spanner\u5728Google\u7684\u5b9a\u4f4d\u3002<\/p>\n

\"\"<\/a><\/p>\n

\u4ece\u4e0a\u56fe\u53ef\u4ee5\u770b\u5230\u3002Spanner\u4f4d\u4e8eF1\u548cGFS\u4e4b\u95f4\uff0c\u627f\u4e0a\u542f\u4e0b\u3002\u6240\u4ee5\u5148\u63d0\u4e00\u63d0F1\u548cGFS\u3002<\/p>\n

F1<\/h6>\n

\u548c\u4f17\u591a\u4e92\u8054\u7f51\u516c\u53f8\u4e00\u6837\uff0c\u5728\u65e9\u671fGoogle\u5927\u91cf\u4f7f\u7528\u4e86Mysql\u3002Mysql\u662f\u5355\u673a\u7684\uff0c\u53ef\u4ee5\u7528Master-Slave\u6765\u5bb9\u9519\uff0c\u5206\u533a\u6765\u6269\u5c55\u3002\u4f46\u662f\u9700\u8981\u5927\u91cf\u7684\u624b\u5de5\u8fd0\u7ef4\u5de5\u4f5c\uff0c\u6709\u5f88\u591a\u7684\u9650\u5236\u3002\u56e0\u6b64Google\u5f00\u53d1\u4e86\u4e00\u4e2a\u53ef\u5bb9\u9519\u53ef\u6269\u5c55\u7684RDBMS\u2014\u2014F1\u3002\u548c\u4e00\u822c\u7684\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u4e0d\u540c\uff0cF1\u5bf9\u5e94RDMS\u5e94\u6709\u7684\u529f\u80fd\uff0c\u6beb\u4e0d\u59a5\u534f\u3002\u8d77\u521dF1\u662f\u57fa\u4e8eMysql\u7684\uff0c\u4e0d\u8fc7\u4f1a\u9010\u6e10\u8fc1\u79fb\u5230Spannerr\u3002<\/p>\n

F1\u6709\u5982\u4e0b\u7279\u70b9\uff1a<\/p>\n