{"id":4073,"date":"2022-06-17T13:44:11","date_gmt":"2022-06-17T05:44:11","guid":{"rendered":"https:\/\/aif.amtbbs.org\/?p=4073"},"modified":"2022-06-17T13:44:11","modified_gmt":"2022-06-17T05:44:11","slug":"%e4%ba%91%e4%b8%8a%e5%a6%82%e4%bd%95%e4%b8%8d%e5%81%9c%e6%9c%ba%e6%9b%b4%e6%8d%a2%e5%85%b3%e9%94%ae%e5%a4%a7%e6%95%b0%e6%8d%ae%e6%9c%8d%e5%8a%a1%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/aif.amtbbs.org\/index.php\/2022\/06\/17\/4073\/","title":{"rendered":"\u4e91\u4e0a\u5982\u4f55\u4e0d\u505c\u673a\u66f4\u6362\u5173\u952e\u5927\u6570\u636e\u670d\u52a1\uff1f"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4084\" src=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/06\/VZ1-300x197-1.png\" width=\"300\" height=\"197\" alt=\"\" \/><\/p>\n<p>\u5927\u5bb6\u5728\u65e5\u5e38\u5de5\u4f5c\u4e2d\u53ef\u80fd\u4f1a\u7ecf\u5e38\u9047\u5230\u7cfb\u7edf\u66f4\u65b0\u8fed\u4ee3\u4e0e\u96c6\u7fa4\u91cd\u5efa\u7b49\u9700\u6c42\uff0c\u4e0d\u53ef\u907f\u514d\u4f1a\u6d89\u53ca\u5230\u670d\u52a1\u7684\u8fc1\u79fb\u66f4\u6362\u64cd\u4f5c\u3002\u9488\u5bf9\u4e0d\u540c\u573a\u666f\u548c\u8bc9\u6c42\uff0c\u5177\u4f53\u7684\u5904\u7406\u65b9\u5f0f\u4f1a\u4e0d\u592a\u4e00\u6837\uff0c\u4f46\u5927\u81f4\u7684\u601d\u60f3\u548c\u65b9\u6cd5\u8fd8\u662f\u5177\u6709\u4e00\u5b9a\u7684\u666e\u9002\u610f\u4e49\u3002\u672c\u6587\u4e3b\u8981\u60f3\u548c\u5927\u5bb6\u5206\u4eab\u4e00\u4e0b\u56e2\u961f\u6700\u8fd1\u7ecf\u5386\u7684\u5728\u4fdd\u969c\u5927\u6570\u636e\u9ad8\u5e76\u53d1\u3001\u4f4e\u5ef6\u65f6\u3001\u9ad8\u541e\u5410\u8bfb\u5199\u7684\u540c\u65f6\uff0c\u5982\u4f55\u4e0d\u505c\u673a\u5730\u5728 AWS \u4e0a\u66f4\u6362\u5173\u952e\u5927\u6570\u636e\u670d\u52a1\u7684\u5b9e\u8df5\uff0c\u4f9b\u611f\u5174\u8da3\u7684\u540c\u5b66\u53c2\u8003\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4085\" src=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/06\/VZ2-300x171-1.png\" width=\"300\" height=\"171\" alt=\"\" \/><\/p>\n<p>\u7c7b\u4f3c\u5728\u98de\u673a\u9ad8\u901f\u8fd0\u884c\u7684\u8fc7\u7a0b\u4e2d\u5b8c\u6210\u66f4\u6362\u5173\u952e\u5f15\u64ce\u8fd9\u4e2a\u9ad8\u96be\u5ea6\u52a8\u4f5c<\/p>\n<p>\u80cc\u666f\u4e0e\u6311\u6218<\/p>\n<p>\u7b14\u8005\u5c31\u804c\u4e8e FreeWheel\uff0c\u662f\u4e00\u5bb6\u62e5\u6709\u5b8c\u6574\u5e7f\u544a\u7ba1\u7406\u89e3\u51b3\u65b9\u6848\uff0c\u4e3a\u5ba2\u6237\u63d0\u4f9b\u4e92\u8054\u7f51\u89c6\u9891\u5e7f\u544a\u7684\u6295\u653e\u3001\u76d1\u6d4b\u3001\u9884\u6d4b\u3001\u589e\u503c\u7b49\u5173\u952e\u670d\u52a1\u7684\u516c\u53f8\uff0c\u76ee\u524d\u6b63\u5728\u88ab 90% \u4ee5\u4e0a\u7684\u7f8e\u56fd\u4e3b\u6d41\u7535\u89c6\u5a92\u4f53\u548c\u8fd0\u8425\u5546\u4f7f\u7528\u3002<\/p>\n<p>\u8fd9\u6b21\u6d89\u53ca\u96c6\u7fa4\u91cd\u5efa\u7684\u5173\u952e\u5927\u6570\u636e\u670d\u52a1\u662f Aerospike\uff0c \u5b83\u662f\u4e00\u4e2a\u9ad8\u6027\u80fd\u3001\u53ef\u6269\u5c55\u3001\u53ef\u9760\u6027\u5f3a\u7684 NoSQL \u89e3\u51b3\u65b9\u6848\uff0c\u4f5c\u4e3a KV \u5b58\u50a8\u652f\u6301 RAM \u548c SSD \u5b58\u50a8\u4ecb\u8d28\uff0c\u5e76\u4e13\u95e8\u9488\u5bf9 SSD \u6709\u76f8\u5e94\u7684\u7279\u6b8a\u4f18\u5316\uff0c\u76ee\u524d\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5b9e\u65f6\u7ade\u4ef7\u7b49\u5b9e\u65f6\u8ba1\u7b97\u9886\u57df\u3002\u5b83\u5728 FreeWheel \u8981\u6c42\u9ad8\u5e76\u53d1\u3001\u9ad8\u6027\u80fd\u3001\u9ad8\u53ef\u9760\u6027\u7684\u5e7f\u544a\u5b9e\u65f6\u6295\u653e\u9636\u6bb5\u626e\u6f14\u7740\u91cd\u8981\u7684\u89d2\u8272\u3002\u7531\u4e8e\u516c\u53f8\u4e1a\u52a1\u573a\u666f\u7684\u9700\u6c42\u4e14\u6570\u636e\u670d\u52a1\u539f\u6709\u7684 XDR \u529f\u80fd (\u7c7b\u4f3c replica sync \u7684\u529f\u80fd) \u8017\u65f6\u957f\u3001\u6210\u672c\u9ad8\u3001\u65e0\u6cd5\u652f\u6301\u6570\u636e\u670d\u52a1\u7684\u7248\u672c\u5347\u7ea7\u7b49\u73b0\u72b6\uff0c\u6240\u4ee5\u6211\u4eec\u9700\u8981\u5728 AWS \u7684\u591a\u4e2a region \u4e0a\u91cd\u5efa\u6574\u4e2a Aerospike \u96c6\u7fa4\uff0c \u7ebf\u4e0a\u91cd\u8981\u7684\u4e1a\u52a1\u670d\u52a1\uff08\u5e7f\u544a\u6295\u653e\u3001\u9884\u6d4b\u4e0e\u7528\u6237\u753b\u50cf\u5b9e\u65f6\u670d\u52a1\u7684\u6240\u6709\u6d41\u91cf\uff09\u9700\u8981\u5168\u90e8\u5207\u5230\u5bf9\u5e94\u7684\u65b0\u96c6\u7fa4\u4e0a\u3002<\/p>\n<p>\u91cd\u5efa\u548c\u66f4\u6362\u8fc7\u7a0b\u6b63\u503c\u7f8e\u56fd\u75af\u72c2\u4e09\u6708\u5404\u79cd\u8d5b\u4e8b\u9636\u6bb5\uff0c<strong>\u9762\u4e34\u5982\u4e0b\u6311\u6218\u548c\u9700\u6c42<\/strong>\uff1a<\/p>\n<p><strong>\u5bf9 Aerospike \u5b9e\u65f6\u5e76\u53d1\u767e\u4e07\u7ea7\u7684\u8bfb\u4e0e\u5199\u64cd\u4f5c\u9700\u6c42\uff1b<\/strong><\/p>\n<p><strong>\u65e7\u96c6\u7fa4\u5df2\u6709\u7684\u4e0a\u767e\u4ebf\u6761\u7684\u8bb0\u5f55\u548c\u51e0\u5341 T \u6570\u636e\u91cf\uff1b<\/strong><\/p>\n<p><strong>\u66f4\u6362\u8fc7\u7a0b\u4e2d\u4e0d\u80fd\u6709\u6570\u636e\u670d\u52a1\u505c\u673a\u65f6\u95f4\uff08\u505c\u673a\u4f1a\u6781\u5927\u5f71\u54cd\u5e73\u53f0\u7ebf\u4e0a\u5e7f\u544a\u6295\u653e\uff09\uff1b<\/strong><\/p>\n<p><strong>\u65b0\u96c6\u7fa4\u7684\u6570\u636e\u4e0d\u80fd\u6709\u9519\u6f0f\uff1b<\/strong><\/p>\n<p><strong>\u66f4\u6362\u65f6\u95f4\u8d8a\u77ed\u8d8a\u597d\uff0c\u8282\u7701\u53cc\u96c6\u7fa4\u5e76\u5b58\u5e26\u6765\u7684\u6210\u672c\u3002<\/strong><\/p>\n<p>\u5982\u4f55\u8bbe\u8ba1\u4e0d\u505c\u673a\u7684\u66f4\u6362\u65b9\u6848\uff1f<\/p>\n<p>\u603b\u4f53\u8bbe\u8ba1<\/p>\n<p>\u90a3\u4e48\u5982\u4f55\u8bbe\u8ba1\u8fd9\u6837\u4e00\u4e2a\u5173\u952e\u5927\u6570\u636e\u670d\u52a1\u4e0d\u505c\u673a\u65e0\u7f1d\u5207\u6362\u7684\u65b9\u6848\u5462\uff1f<\/p>\n<p>\u901a\u5e38\u5bf9\u4e8e\u975e\u5927\u6570\u636e\u573a\u666f\uff0c\u975e\u5e38\u76f4\u63a5\u7684\u60f3\u6cd5\u5c31\u662f\uff0c\u5728 backup \u548c restore \u6570\u636e\u5230\u65b0\u96c6\u7fa4\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6682\u505c\u5199\u5165\uff08Ingestion\uff09\u7aef\u6570\u636e\u7684\u5199\u5165\uff0c\u5f53\u65b0\u96c6\u7fa4\u6570\u636e restore \u7ed3\u675f\u540e\u518d\u6253\u5f00 Ingestion \u7aef\u7684\u5199\u5165\uff0c\u5e76\u4e14\u76f4\u63a5\u5199\u5165\u5230\u65b0\u96c6\u7fa4\uff0c\u7136\u540e\u7528\u65b0\u96c6\u7fa4\u6765\u670d\u52a1\u7ebf\u4e0a\u5373\u53ef\u3002<\/p>\n<p>\u4f46\u8fd9\u4e2a\u601d\u8def\u5bf9\u4e8e\u5927\u6570\u636e\u573a\u666f\u5c31\u4e0d\u592a\u9002\u7528\u4e86\u3002\u7531\u4e8e\u65e7\u96c6\u7fa4\u7684\u6570\u636e\u91cf\u5927\uff0c\u636e SRE \u540c\u5b66\u4ee5\u5f80\u7684\u64cd\u4f5c\u7ecf\u9a8c\uff0cbackup + restore \u8fd9\u90e8\u5206\u6570\u636e\u5230\u65b0\u96c6\u7fa4\u5927\u7ea6\u9700\u8981\u4e00\u4e2a\u661f\u671f\u5de6\u53f3\uff0c\u800c Ingestion \u7aef\u6570\u636e\u4e5f\u5728\u6bcf\u79d2\u767e\u4e07\u7ea7\u5199\u5165\u7684\u91cf\u7ea7\u3002\u76f4\u63a5\u505c\u6389 Ingestion \u7aef\u3001\u8bd5\u56fe\u51cf\u5c11\u65b0\u65e7\u96c6\u7fa4\u6570\u636e\u7684\u53d8\u5316\u548c\u5e72\u6270\u7684\u65b9\u6cd5\u770b\u4e0a\u53bb\u4e0d\u592a\u73b0\u5b9e\uff0c\u56e0\u4e3a\u4f1a\u4e25\u91cd\u5f71\u54cd\u5173\u952e\u4e1a\u52a1\u6570\u636e\u5728\u7ebf\u4e0a\u7684\u4f7f\u7528\uff0c\u5bf9\u5ba2\u6237\u7684\u4e1a\u52a1\u548c\u5e7f\u544a\u5b9e\u65f6\u6295\u653e\u4ea7\u751f\u5f71\u54cd\u3002<\/p>\n<p>\u6240\u4ee5\u6211\u4eec\u9700\u8981\u5728\u540c\u65f6\u4fdd\u969c\u6570\u636e\u670d\u52a1\u5927\u91cf\u5199\u5165\u548c\u8bfb\u8bf7\u6c42\u7684\u60c5\u51b5\u4e0b\u53e6\u8f9f\u8e4a\u5f84\uff0c\u4ee5\u4e0b\u662f\u6211\u4eec\u7684\u601d\u8003\u548c\u8bbe\u8ba1\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4086\" src=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/06\/VZ3-300x120-1.png\" width=\"300\" height=\"120\" alt=\"\" \/><\/p>\n<p><strong>\u6301\u7eed\u53cc\u5199 + \u4e3b\u4ece\u96c6\u7fa4\u7075\u6d3b\u5207\u6362<\/strong><\/p>\n<p>\u5728\u96c6\u7fa4\u6570\u636e\u5f00\u542f backup \u7684\u90a3\u4e00\u523b\u5f00\u59cb\uff0c\u5230\u65b0\u96c6\u7fa4\u7ecf\u5386 restore\uff0c\u5bf9\u9f50\u65b0\u65e7\u96c6\u7fa4\u7684\u6570\u636e\u81f3\u5207\u6362\u5b8c\u6210\uff0c\u518d\u5230\u65e7\u96c6\u7fa4\u6700\u7ec8\u4e0b\u7ebf\uff0c\u4e00\u76f4<strong>\u6301\u7eed\u5411\u65b0\u65e7\u96c6\u7fa4\u53cc\u5199<\/strong>\uff08\u56fe\u4e0a \uff09 Ingestion \u7aef\u8fdb\u5165\u7684\u6570\u636e\u3002<\/p>\n<p>\u53e6\u5916\u5728 Ingestion \u7aef\u5199\u5165\u6570\u636e\u65f6\uff0c\u4e1a\u52a1\u4e0a\u9700\u8981\u5148\u4ece\u96c6\u7fa4\u4e2d\u8bfb\u53d6\u65e7\u6570\u636e\u7136\u540e\u8fdb\u4e00\u6b65\u548c\u65b0\u6570\u636e merge \u540e\u518d\u5199\u56de\u96c6\u7fa4\uff0c\u6240\u4ee5\u5728\u6301\u7eed\u53cc\u5199\u8fc7\u7a0b\u4e2d\uff0c\u4f1a\u5b58\u5728<strong>\u4e3b\u4ece\u96c6\u7fa4\u7684\u89d2\u8272\u8f6c\u6362<\/strong>\uff0c\u5176\u4e2d\u4e3b\u96c6\u7fa4\u8d1f\u8d23\u7ebf\u4e0a\u7684\u5199\u5165\u4e0e\u8bfb\u53d6\uff0c\u800c\u4ece\u96c6\u7fa4\u4e3b\u8981\u662f\u4fdd\u6301\u6570\u636e\u7684\u540c\u6b65\uff1a<\/p>\n<p>\u9636\u6bb5 1\uff1a\u5728\u6570\u636e\u5bf9\u9f50\u524d\uff0c\u7531\u65e7\u96c6\u7fa4\u62c5\u4efb\u4e3b\u96c6\u7fa4\u89d2\u8272\uff0c\u65b0\u96c6\u7fa4\u8fdb\u884c\u5feb\u7167\u7684 restore \u548c\u540c\u6b65\u5199\u5165\uff1b<\/p>\n<p>\u9636\u6bb5 2\uff1a\u4e24\u4e2a\u96c6\u7fa4\u7684\u6570\u636e\u5bf9\u9f50\u540e\uff0c\u7531\u65b0\u96c6\u7fa4\u62c5\u4efb\u4e3b\u96c6\u7fa4\u89d2\u8272\uff0c\u800c\u65e7\u96c6\u7fa4\u7ee7\u7eed\u4fdd\u6301\u6570\u636e\u7684\u540c\u6b65\u5199\u5165\u3002<\/p>\n<p>\u5bf9\u9f50\u540e\u4f9d\u7136\u6301\u7eed\u53cc\u5199\u53ef\u4ee5\u4ece\u6d41\u7a0b\u4e0a\u4fdd\u8bc1\u4e24\u4e2a\u96c6\u7fa4\u7684\u6570\u636e\u90fd\u4e0d\u4f1a\u4e22\uff0c\u4e14\u7cfb\u7edf\u4e00\u76f4\u62e5\u6709\u5feb\u901f\u5207\u6362\u5230\u65e7\u96c6\u7fa4\u7684\u80fd\u529b\uff0c\u6765\u4fdd\u8bc1\u6570\u636e\u670d\u52a1\u9ad8\u53ef\u9760\u548c\u5207\u6362\u8fc7\u7a0b\u4e2d\u7684\u6c38\u8fdc\u7684 Plan B \u51c6\u5907\u3002<\/p>\n<p><strong>\u5145\u5206\u5229\u7528\u6570\u636e\u670d\u52a1\u7279\u6027<\/strong><\/p>\n<p>\u5728\u6570\u636e\u5199\u5165\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u4ee5\u5145\u5206\u5229\u7528\u6570\u636e\u670d\u52a1\u7279\u6027<strong>\u4fdd\u8bc1 Ingestion \u7aef\u7684\u6570\u636e\u62e5\u6709\u9ad8\u4f18\u5199\u5165\u8986\u76d6\u6743\u9650\u3002<\/strong>\u4e4b\u6240\u4ee5\u8fd9\u4e48\u505a\u662f\u56e0\u4e3a Ingestion \u7aef\u5199\u5165\u540c\u4e00\u4e2a key \u7684\u6570\u636e\u7248\u672c\u76f8\u5bf9\u4e8e backup \u548c restore \u7684\u6570\u636e\u4e00\u5b9a\u662f\u8f83\u65b0\u7684\u7248\u672c\uff0c\u6240\u4ee5\u9700\u8981\u786e\u4fdd\u8f83\u65b0\u7248\u672c\u7684\u6570\u636e\u4e0d\u4f1a\u88ab restore \u7684\u5feb\u7167\u91cc\u8f83\u65e7\u7684\u6570\u636e\u8986\u76d6\u3002<\/p>\n<p>\u8fd9\u65f6\u53ef\u4ee5\u5145\u5206\u5229\u7528 Aerospike \u5728 restore \u8fc7\u7a0b\u4e2d unqiue \u7279\u6027\uff1a\u201c\u5982\u679c key \u5728 Aerospike \u91cc\u5df2\u7ecf\u5b58\u5728\u90a3\u4e48 restore \u5c31\u4e0d\u518d\u5411\u96c6\u7fa4\u4e2d\u5199\u5165\u8be5\u6761\u6570\u636e\u201d\uff0c \u6765\u4fdd\u8bc1 restore \u7684\u6570\u636e\u4e0d\u4f1a\u8986\u76d6 Ingestion \u7aef\u7684\u6700\u65b0\u6570\u636e\u7248\u672c\u3002<\/p>\n<p><strong>\u52a0\u901f\u65b0\u65e7\u96c6\u7fa4\u7684\u6570\u636e\u5bf9\u9f50<\/strong><\/p>\n<p>\u9996\u5148\u6211\u4eec\u770b\u4e00\u4e0b\u65b0\u65e7\u96c6\u7fa4\u6570\u636e\u4e0d\u4e00\u81f4\u7684\u533a\u95f4\u53d1\u751f\u5728\u54ea\u91cc\uff0c\u4e0b\u9762\u662f\u4e00\u4e2a\u96c6\u7fa4\u5207\u6362\u7684\u5927\u81f4\u65f6\u5e8f\u56fe\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4087\" src=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/06\/VZ4-300x213-1.png\" width=\"300\" height=\"213\" alt=\"\" \/><\/p>\n<p>\u7531\u65f6\u5e8f\u56fe\u53ef\u76f4\u89c2\u770b\u5230\uff0c\u6570\u636e\u4e0d\u4e00\u81f4\u7684\u533a\u95f4\u4f1a\u53d1\u751f\u5728\uff1a<strong>\u5f00\u542f\u53cc\u5199\uff08T1\uff09-&gt;\u5f00\u59cb backup + restore (T2) -&gt; \u7ed3\u675f restore\uff08T3\uff09-&gt; \u6682\u505c\u5199\u5165\uff0c\u5f00\u59cb\u5bf9\u9f50\u6570\u636e\uff08T4\uff09\u3002<\/strong><\/p>\n<p>\u5982\u679c\u9700\u8981\u8bb0\u5f55\u65e7\u96c6\u7fa4\u5728\u8fd9\u4e00\u533a\u95f4\u5185\u6240\u6709\u6570\u636e\u53d8\u5316\uff0c\u90a3\u4e48\u4ee5 Ingestion \u7aef\u6bcf\u79d2\u767e\u4e07\u7ea7\u7684\u5199\u5165\uff0c\u53ef\u60f3\u800c\u77e5\uff0c\u5728\u8fdb\u884c restore \u548c backup \u7684\u8fd9\u4e00\u5468\u79ef\u7d2f\u7684\u6570\u636e\u8bb0\u5f55\u6709\u591a\u5927\u3002\u8fd9\u6837\u4e00\u6765\u901a\u8fc7\u91cd\u653e\u6570\u636e\u6765\u5bf9\u9f50\u65b0\u65e7\u96c6\u7fa4\u7684\u65f6\u95f4\u52bf\u5fc5\u4f1a\u62c9\u957f\u3002<\/p>\n<p>\u6709\u6ca1\u6709\u53ef\u80fd\u7f29\u77ed\u8fd9\u90e8\u5206\u6570\u636e\u5bf9\u9f50\u7684\u65f6\u95f4\u5462\uff1f<\/p>\n<p>\u7ecf\u8fc7\u4ed4\u7ec6\u5206\u6790\uff0c<strong>\u53ea\u8bb0\u5f55 delete key \u7684\u6570\u636e\u53d8\u5316\u5c31\u53ef\u4ee5\u52a0\u901f\u65b0\u65e7\u96c6\u7fa4\u7684\u6570\u636e\u5bf9\u9f50\u3002<\/strong><\/p>\n<p>\u5728 Ingestion \u7aef\u7684\u5199\u5165\u573a\u666f\u4e0b\uff0c\u7531\u4e8e delete key \u6570\u636e\u53d8\u5316\u5360\u6574\u4f53\u6570\u636e\u5199\u5165\u7684\u6bd4\u4f8b\u4e0d\u5230 1% \uff0c \u6240\u4ee5\u8be5\u4f18\u5316\u53ef\u5927\u5927\u51cf\u5c11\u9700\u8981\u7528\u6765\u5bf9\u9f50\u5dee\u5f02\u7684\u6570\u636e\u91cf\uff0c\u52a0\u901f\u6570\u636e\u5bf9\u9f50\u7684\u8fc7\u7a0b\u3002\u5927\u5bb6\u53ef\u80fd\u4f1a\u7591\u60d1\uff0c\u6570\u636e\u670d\u52a1\u5199\u5165\u6d89\u53ca\u589e\u5220\u6539\uff0c\u4e3a\u4ec0\u4e48\u53ea\u8bb0\u5f55 delete keys \u5e76\u4e14\u540e\u671f\u53ea replay delete keys \u5c31\u80fd\u4fdd\u8bc1\u65b0\u65e7\u96c6\u7fa4\u6700\u7ec8\u6570\u636e\u5bf9\u9f50\u4e86\u5462\uff1f\u6211\u4eec\u53ef\u4ee5\u4e00\u8d77\u5206\u6790\u4e00\u4e0b\u539f\u56e0\u3002<\/p>\n<p><strong>\u5206\u6790<\/strong><\/p>\n<p>\u5728\u5bf9\u9f50\u524d\uff0c\u8fd9\u4e2a\u6570\u636e\u53d8\u5316\u533a\u95f4\u91cc\u6d89\u53ca\u5230\u7684\u65e7\u96c6\u7fa4\u7684 keys \u6709\u5982\u4e0b\u51e0\u79cd\u60c5\u51b5\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4088\" src=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/06\/VZ5-300x285-1.png\" width=\"300\" height=\"285\" alt=\"\" \/><\/p>\n<p>\u901a\u8fc7\u5bf9\u4ee5\u4e0a\u5404\u79cd\u573a\u666f\u7684\u5206\u6790\u53ef\u89c1\uff0cdelete key \u90e8\u5206\u76f8\u5bf9\u7279\u6b8a\uff0c\u53ef\u80fd\u4f1a\u5b58\u5728 Ingestion \u7aef\u53bb\u5728\u65b0\u96c6\u7fa4\u4e2d\u6267\u884c\u5220\u9664\u540e\u7684 key \u518d\u6b21\u88ab restore \u9636\u6bb5\u5199\u56de\uff08\u6267\u884c\u5220\u9664\u64cd\u4f5c\u7684\u65f6\u523b\u65e9\u4e8e restore \u7684\u64cd\u4f5c\uff09\uff0c\u56e0\u6b64\u4f1a\u5e26\u6765\u65b0\u65e7\u96c6\u7fa4\u7684\u5dee\u5f02\u3002\u800c\u5176\u4ed6\u573a\u666f\u7684\u6700\u65b0\u6570\u636e\u72b6\u6001\u5df2\u7ecf\u5982\u5b9e\u53cd\u6620\u5728\u65b0\u96c6\u7fa4\u91cc\uff0c\u65e0\u987b\u8bb0\u5f55\u548c\u5bf9\u9f50\u3002<\/p>\n<p><strong>\u6280\u672f\u9009\u578b<\/strong><\/p>\n<p>\u6280\u672f\u9009\u578b\u90e8\u5206\u8003\u8651\u7528\u4e34\u65f6\u7684 Aerospike \u5c0f\u96c6\u7fa4\u6765\u8bb0\u5f55 delete key\uff0c\u4e3b\u8981\u8003\u91cf\u70b9\u6709\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a<\/p>\n<p>Replay \u9636\u6bb5\u5bf9\u4e8e\u670d\u52a1 scan \u7684\u6027\u80fd\u8981\u6c42\u8f83\u9ad8\uff0c\u671f\u671b\u53ef\u4ee5\u5728\u8f83\u77ed\u7684\u65f6\u95f4\u5185\u5b8c\u6210\uff0c\u56e0\u6b64\u5bf9\u4e8e\u6280\u672f\u6808\u7684\u9ad8\u6027\u80fd\u8bfb\u5199\u5177\u6709\u8f83\u9ad8\u7684\u8981\u6c42\uff1b<\/p>\n<p>Ingestion \u7aef\u6709\u5927\u91cf\u5199\u5165 delete key \u7684\u8bf7\u6c42\u4ee5\u53ca\u5220\u9664\u5df2\u8bb0\u5f55\u7684 delete keys \u7684\u8bf7\u6c42\uff08\u6bd4\u5982\u8be5 key \u540e\u671f\u53c8\u91cd\u65b0\u5199\u56de\u96c6\u7fa4\uff09\u4e0b\uff0c\u56e0\u6b64\u4e5f\u5bf9\u6280\u672f\u6808\u8bfb\u5199\u7684\u6027\u80fd\u6709\u6781\u9ad8\u7684\u8981\u6c42\uff1b<\/p>\n<p>KV \u5b58\u50a8\u7ed3\u6784\u53ef\u4ee5\u51cf\u5c11 Key \u7684\u5197\u4f59\uff0c\u53ef\u4ee5\u51cf\u5c11\u5b58\u50a8\u7684\u5927\u6821<\/p>\n<p>\u5728\u5bf9\u6bd4\u4e86 AWS S3\uff0cMySQL\uff0cAersopike \u540e\uff0c\u7efc\u5408\u8bfb\u5199\u9ad8\u6027\u80fd\u8981\u6c42\uff08Aeropsike \u53ef\u4ee5\u4fdd\u8bc1 800k \u6bcf\u79d2\u7684 QPS\uff09\u548c\u5b9e\u73b0\u7ef4\u62a4\u53ca cost \u6210\u672c\uff0cAerospike \u662f\u4e00\u4e2a ROI \u66f4\u9ad8\u7684\u9009\u62e9\u3002<\/p>\n<p><strong>\u5206\u5e03\u5f0f\u5171\u4eab\u914d\u7f6e + \u7070\u5ea6\u5207\u6362<\/strong><\/p>\n<p>Etcd \u662f\u7528\u4e8e\u5171\u4eab\u914d\u7f6e\u548c\u670d\u52a1\u53d1\u73b0\u7684\u5206\u5e03\u5f0f\u3001\u4e00\u81f4\u6027\u7684 KV \u5b58\u50a8\u7cfb\u7edf\u3002\u6211\u4eec\u901a\u8fc7 etcd \u6765\u63a7\u5236\u5173\u952e\u6d41\u7a0b\u548c\u7070\u5ea6\u5207\u6362\uff0c\u6bd4\u5982\u662f\u5426\u8981\u5f00\u542f\u53cc\u5199\u3001\u662f\u5426\u5f00\u59cb\u8bb0\u5f55\u6216\u8005\u505c\u6b62\u8bb0\u5f55 delete key\u3001 \u5207\u6362 Aerospikey \u4e3b\u4ece\u96c6\u7fa4\u3001\u7070\u5ea6\u5207\u6362\u7ebf\u4e0a\u670d\u52a1\u7528\u54ea\u4e00\u4e2a Aerospike \u96c6\u7fa4\u7b49\u7b49\uff0c\u53ea\u9700\u8981\u4fee\u6539\u76f8\u5e94\u7684 etcd \u914d\u7f6e\u5373\u53ef\uff0c\u65e0\u9700\u518d\u4fee\u6539\u4ee3\u7801\u5347\u7ea7\u4e0a\u7ebf\uff0c\u4f7f\u5f97\u6574\u4e2a\u64cd\u4f5c\u66f4\u65b9\u4fbf\u3001\u53ef\u63a7\uff0c\u4e5f\u4e3a\u968f\u65f6\u505c\u6b62\u64cd\u4f5c\u5207\u56de\u539f\u6709\u7684 workflow \u7684 Plan B \u5e26\u6765\u66f4\u591a\u7684\u7075\u6d3b\u6027\u3002<\/p>\n<p><strong>\u6570\u636e\u9a8c\u8bc1 + \u5173\u952e\u4e1a\u52a1\u6307\u6807\u76d1\u63a7<\/strong><\/p>\n<p>\u5728\u505a\u5b8c\u65b0\u65e7\u96c6\u7fa4\u7684\u6570\u636e\u5bf9\u9f50\u540e\uff0c\u6211\u4eec\u901a\u8fc7\u518d\u4e00\u8f6e\u7684\u6570\u636e\u9a8c\u8bc1\u4fdd\u8bc1\u6570\u636e\u7684\u51c6\u786e\u6027\u3002\u8003\u8651\u5230\u6570\u636e\u91cf\u7684\u5927\u5c0f\uff0c\u540c\u65f6\u4e3a\u4e86\u907f\u514d\u9a8c\u8bc1\u5bf9\u7ebf\u4e0a\u96c6\u7fa4\u548c Ingestion \u7684\u5f71\u54cd\uff0c\u4ee5\u53ca\u7531\u4e8e\u5bf9\u6bd4\u8fc7\u7a0b\u662f\u4e00\u4e2a\u975e\u539f\u5b50\u6027\u7684\u64cd\u4f5c\uff0c\u65b0\u65e7\u96c6\u7fa4\u7684\u6570\u636e\u5728\u9ad8 QPS \u5199\u7684\u573a\u666f\u4e0b\u53ef\u80fd\u4f1a\u53d6\u5230\u4e0d\u540c\u7248\u672c\u7684\u6570\u636e\uff0c\u6240\u4ee5\u6211\u4eec\u91c7\u7528\u4ee5\u4e0b\u4e09\u4e2a\u7ef4\u5ea6\u6765\u505a\u6570\u636e\u9a8c\u8bc1\u4fdd\u8bc1\u6570\u636e\u7684\u4e00\u81f4\uff1a<\/p>\n<p>\u65b0\u65e7\u96c6\u7fa4\u7684 object count \u9700\u8981\u4e00\u81f4\uff1b<\/p>\n<p>\u5bf9 1% \u7684\u6570\u636e\u8fdb\u884c\u62bd\u6837\u5bf9\u6bd4\uff0c\u6570\u636e\u5dee\u5f02\u9700\u8981\u63a7\u5236\u5728 1 \u4e4b\u5185\uff1b<\/p>\n<p>\u5bf9\u4e8e\u53ef\u80fd\u68c0\u6d4b\u5230\u7684\u975e\u5e38\u5c11\u91cf\u7684\u5dee\u5f02\u6570\u636e\uff0c\u9700\u8981\u518d\u4e00\u6b21\u9a8c\u8bc1\u65b0\u65e7\u96c6\u7fa4\u4fdd\u8bc1\u8fd9\u4e9b\u201c\u5dee\u5f02\u201d\u6570\u636e\u5b8c\u5168\u4e00\u81f4\uff0c\u5f7b\u5e95\u6d88\u9664\u975e\u539f\u5b50\u6027\u64cd\u4f5c\u5e26\u6765\u7684\u8bef\u5224\u3002<\/p>\n<p>\u76d1\u63a7\u90e8\u5206\u7531\u4e1a\u52a1\u6a21\u5757\u52a0\u4e0a\u76f8\u5e94\u7684\u5173\u952e\u6307\u6807\uff0c\u6bd4\u5982 Aerospike \u91cc\u7684 hit ratio\uff08\u6709\u591a\u5c11\u53d1\u9001\u5230 Aerospike \u7684 key \u5e76\u4e14\u8be5 key \u80fd\u5728 Aerospike \u91cc\u627e\u5230\u5bf9\u5e94\u7684\u8bb0\u5f55\uff0c\u5373 hit_ratio = key_hit_counts \/ key_query_counts\uff09\uff0c\u5c31\u53ef\u4ee5\u4ece\u53e6\u4e00\u4e2a\u4fa7\u9762\u76d1\u63a7\u65b0\u65e7\u96c6\u7fa4\u7684\u6570\u636e\u8d28\u91cf\u662f\u5426\u4e00\u81f4\u3002\u6b64\u5916\uff0c\u76d1\u63a7\u90e8\u5206\u4e5f\u6709\u5bf9 Aerospike \u672c\u8eab\u7684\u8bfb\u5199\u6027\u80fd\u3001QPS \u7b49\u7b49\u7684\u62a5\u8b66\u6307\u6807\uff0c\u5e2e\u52a9\u65f6\u523b\u5173\u6ce8\u5bf9\u7ebf\u4e0a\u670d\u52a1\u7684\u5f71\u54cd\u548c\u6027\u80fd\u53d8\u5316\u3002<\/p>\n<p>\u5177\u4f53\u8fc1\u79fb\u66f4\u6362\u6b65\u9aa4<\/p>\n<p><strong>1. \u65b0\u96c6\u7fa4\u6784\u5efa\u3001\u524d\u671f\u8bbe\u8ba1\u5f00\u53d1\u53ca\u73af\u5883\u76d1\u63a7\u6307\u6807\u7b49\u51c6\u5907<\/strong><\/p>\n<p>\u6309\u7167\u603b\u4f53\u8bbe\u8ba1\u5f00\u59cb\u53cc\u5199\u3001\u6570\u636e\u5bf9\u9f50\u3001\u9a8c\u8bc1\u3001\u76d1\u63a7\u7b49\u76f8\u5173\u5f00\u53d1\u5de5\u4f5c\uff0c\u4e0e\u6b64\u540c\u65f6\uff0cSRE \u540c\u5b66\u5e2e\u5fd9\u51c6\u5907\u65b0\u96c6\u7fa4\u53ca\u4e34\u65f6\u8f85\u52a9\u96c6\u7fa4\u73af\u5883\uff0c\u5e76\u8fdb\u884c\u521d\u6b65\u7684\u65b0\u96c6\u7fa4\u6027\u80fd\u6d4b\u8bd5\uff0c\u4fdd\u8bc1\u65b0\u96c6\u7fa4\u7684\u6027\u80fd\u6ee1\u8db3\u4e1a\u52a1\u9700\u6c42\u3002<\/p>\n<p><strong>2. \u6253\u5f00\u53cc\u5199\uff0c\u8bbe\u7f6e\u65e7\u96c6\u7fa4\u4e3a\u4e3b\u96c6\u7fa4\uff0c\u5e76\u8bb0\u5f55\u53d8\u5316\u7684 delete keys<\/strong><\/p>\n<p>\u901a\u8fc7 etcd \u6253\u5f00 Ingestion \u7aef\u7684\u53cc\u5199\u4ee5\u53ca\u8bb0\u5f55 delete keys \u7684\u76f8\u5173\u914d\u7f6e\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4089\" src=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/06\/VZ6-300x146-1.png\" width=\"300\" height=\"146\" alt=\"\" \/><\/p>\n<p><strong>3. \u5f00\u59cb\u65e7\u96c6\u7fa4\u6570\u636e\u7684 backup \u548c restore \u8fc7\u7a0b<\/strong><\/p>\n<p>\u5f00\u59cb backup \u65e7\u96c6\u7fa4\u6570\u636e\uff0cbackup \u5b8c\u6210\u540e\u65b0\u96c6\u7fa4\u901a\u8fc7 unqiue \u7279\u6027\u8fdb\u884c\u5feb\u7167\u6570\u636e restore\u3002\u4e0e\u6b64\u540c\u65f6\u7531\u4e8e\u6301\u7eed\u53cc\u5199\uff0c\u6240\u4ee5\u65b0\u96c6\u7fa4\u4e5f\u540c\u6b65\u5199\u5165 Ingestion \u7aef\u7684\u6570\u636e\u3002\u6574\u4e2a\u8fc7\u7a0b AWS \u4e0a\u6bcf\u4e2a region \u7684 backup + restore \u8017\u65f6\u5927\u7ea6\u4e00\u4e2a\u661f\u671f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4090\" src=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/06\/VZ7-300x113-1.png\" width=\"300\" height=\"113\" alt=\"\" \/><\/p>\n<p><strong>4. \u6839\u636e delete \u7684 keys \u901a\u8fc7 replay \u5bf9\u9f50\u6570\u636e<\/strong><\/p>\n<p>\u901a\u8fc7\u8bb0\u5f55 delete \u7684 keys \u6765\u8fdb\u884c replay \u5bf9\u9f50\u65b0\u65e7\u96c6\u7fa4\u7684\u6570\u636e\u3002\u5728\u8fdb\u884c replay \u7684\u9636\u6bb5\uff0c\u4f1a\u6682\u505c Ingestion \u7aef\u7684\u6570\u636e\u5199\u5165\uff0c\u9632\u6b62\u8bef\u5220\u540e\u7eed\u65b0\u52a0\u5165\u8fdb\u6765\u7684\u6570\u636e\u3002\u57fa\u4e8e\u4e34\u65f6 Aersospike \u96c6\u7fa4\u7684\u9ad8\u6027\u80fd\uff0c\u51e0\u4e2a region \u5206\u522b\u6839\u636e delete keys \u91cd\u653e\u4e24\u6b21\u7684\u60c5\u51b5\u4e0b\uff08\u7b2c\u4e8c\u6b21\u91cd\u653e\u662f\u4e3a\u4e86\u8fdb\u4e00\u6b65\u4fdd\u8bc1\u6570\u636e\u90fd\u5f7b\u5e95\u5220\u5e72\u51c0\uff09\uff0c\u5b58\u50a8\u7684\u7ea6\u4e94\u4ebf\u4e2a keys \u7684\u5904\u7406\u65f6\u95f4\u603b\u5171\u5927\u7ea6\u53ea\u9700\u4e00\u4e2a\u5c0f\u65f6\u5de6\u53f3\u3002\u5176\u4e2d\u7531\u4e8e\u5e76\u4e0d\u662f\u6240\u6709\u8bb0\u5f55\u4e0b\u7684 delete keys \u90fd\u771f\u7684\u9700\u8981\u5bf9\u96c6\u7fa4\u91cc\u6570\u636e\u8fdb\u884c\u5b9e\u9645\u64cd\u4f5c\uff08\u53ef\u56de\u987e<strong>\u201c\u52a0\u901f\u65b0\u65e7\u96c6\u7fa4\u7684\u6570\u636e\u5bf9\u9f50 \u201d<\/strong>\u91cc\u5bf9\u4e8e delete keys \u7684\u60c5\u51b5\u5206\u6790\uff0c\u6709\u4e00\u4e9b\u8bb0\u5f55\u7684 delete keys \u5df2\u7ecf\u5e76\u4e0d\u5b58\u5728\u65b0\u96c6\u7fa4\u91cc\u4e86\uff09\u3002\u5b9e\u8df5\u4e2d\u5b9e\u9645\u5904\u7406\u7684\u6570\u636e\u7ea6\u4e94\u5343\u4e07\uff0c\u547d\u4e2d\u7387\u7ea6 9%\u3002\u6240\u4ee5\u5bf9\u4e8e Ingestion \u6682\u505c\u7684\u5f71\u54cd\u975e\u5e38\u5c0f\uff0c\u540e\u7eed\u53ef\u4ee5\u901a\u8fc7\u52a0\u5927 Ingestion \u901f\u7387\u6765\u5feb\u901f\u8ffd\u8d76\u8fd9\u4e00\u4e2a\u5c0f\u65f6\u7684\u6570\u636e\u3002<\/p>\n<p>\u6267\u884c replay \u64cd\u4f5c\u7ed3\u675f\u540e\uff0c\u4f1a\u901a\u8fc7 Aerospike \u8bb0\u5f55\u7684\u4e0a\u6b21 Ingestion \u6682\u505c\u65f6\u5199\u5165\u7684 Kafka offset \u6765\u4fdd\u8bc1\u6570\u636e\u5199\u5165\u7684\u8fde\u7eed\u6027\uff0c\u5e76\u91cd\u65b0\u6062\u590d Ingestion \u7684\u5199\u5165\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4091\" src=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/06\/VZ8-300x120-1.png\" width=\"300\" height=\"120\" alt=\"\" \/><\/p>\n<p><strong>5. \u6570\u636e\u9a8c\u8bc1<\/strong><\/p>\n<p>\u5bf9\u9f50\u6570\u636e\u540e\uff0c\u5206 batch \u5bf9\u65b0\u65e7\u96c6\u7fa4\u8fdb\u884c sampling scan \u5bf9\u6bd4\uff0c\u5bf9\u6bd4\u7ed3\u679c\u9700\u6ee1\u8db3\u8bbe\u8ba1\u9636\u6bb5\u5bf9\u4e8e\u6570\u636e\u9a8c\u8bc1\u7684\u8981\u6c42\u3002<\/p>\n<p><strong>6. \u4e0b\u6e38\u7ebf\u4e0a\u670d\u52a1\u5207\u6362\u81f3\u8bfb\u65b0\u96c6\u7fa4<\/strong><\/p>\n<p>\u6570\u636e\u9a8c\u8bc1\u901a\u8fc7\u540e\u4e0b\u6e38\u7ebf\u4e0a\u670d\u52a1\u53ef\u653e\u5fc3\u5207\u6362\u81f3\u8bfb\u53d6\u65b0\u96c6\u7fa4\u7684\u6570\u636e\u3002<\/p>\n<p><strong>7. \u53cc\u5199\u5207\u6362\u65b0\u96c6\u7fa4\u4e3a\u4e3b\u96c6\u7fa4\uff0c\u4ecd\u6301\u7eed\u8fdb\u884c\u53cc\u5199<\/strong><\/p>\n<p>\u5207\u6362\u65b0\u96c6\u7fa4\u4e3a\u4e3b\u96c6\u7fa4\u89d2\u8272\uff0c\u540c\u65f6\u54cd\u5e94\u7ebf\u4e0a\u7684\u670d\u52a1\u8bfb\u53d6\u8bf7\u6c42\u548c Ingestion \u7aef\u7684\u5199\u5165\u8bf7\u6c42\uff0c\u5e76\u6301\u7eed\u901a\u8fc7\u4e1a\u52a1\u76d1\u63a7\u6307\u6807\u53ca\u62a5\u8b66\u89c2\u5bdf\u65b0\u96c6\u7fa4\u7684\u6027\u80fd\u548c\u6570\u636e\u8d28\u91cf\u3002\u5207\u6362\u540e\u53cc\u5199\u4f9d\u7136\u6301\u7eed\u5199\u5165\uff0c\u4ee5\u9632\u6781\u7aef\u6216\u8005\u672a\u8003\u8651\u7684\u573a\u666f\u53d1\u751f\uff0c\u5e73\u53f0\u4ecd\u5177\u6709 Plan B \u80fd\u529b\u53ef\u4ee5\u8fc5\u901f\u5207\u56de\u65e7\u96c6\u7fa4\u3002\u7528\u6765\u8f85\u52a9\u6570\u636e\u5bf9\u9f50\u7684 delete keys \u6a21\u5757\u53ca\u4e34\u65f6\u96c6\u7fa4\u6b64\u65f6\u53ef\u4ee5\u4e0b\u7ebf\u6536\u56de\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4092\" src=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/06\/VZ9-300x168-1.png\" width=\"300\" height=\"168\" alt=\"\" \/><\/p>\n<p><strong>8. \u5173\u95ed\u53cc\u5199\uff0c\u4e0b\u7ebf\u65e7\u96c6\u7fa4\uff0c \u6e05\u7406\u73af\u5883\u548c\u4ee3\u7801<\/strong><\/p>\n<p>\u6301\u7eed\u89c2\u5bdf\u4e00\u5230\u4e8c\u5468\uff0c\u7ebf\u4e0a\u4e00\u5207\u6b63\u5e38\uff0c\u90a3\u4e48\u53ef\u901a\u8fc7 etcd \u4f18\u96c5\u5730\u5173\u95ed\u53cc\u5199\uff0c\u5e76\u4e0b\u7ebf\u65e7\u96c6\u7fa4\uff0c\u6e05\u7406\u4e0d\u9700\u8981\u7684\u4ee3\u7801\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4093\" src=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/06\/VZ10-300x105-1.png\" width=\"300\" height=\"105\" alt=\"\" \/><\/p>\n<p>\u6210\u679c\u4e0e\u4f53\u4f1a<\/p>\n<p>\u8fd9\u6b21\u5173\u952e\u5927\u6570\u636e\u670d\u52a1\u7684\u96c6\u7fa4\u66f4\u6362\u5728\u8f83\u77ed\u7684\u65f6\u95f4\u91cc\u5706\u6ee1\u5b8c\u6210\uff0c\u6574\u4e2a\u8fc7\u7a0b\u6bd4\u8f83\u5e73\u7a33\uff0c0 \u4e8b\u6545\u53d1\u751f\u3002\u540c\u65f6\u5728\u66f4\u65b0\u7684\u8fc7\u7a0b\u4e2d\u7edf\u4e00\u4e86\u516c\u53f8\u6240\u6709\u7684 Aerospike \u7248\u672c\u4e14\u90fd\u5347\u7ea7\u5230\u6700\u65b0\u7684 5.x\uff0c\u53e6\u5916\u4e5f\u6253\u5f00\u4e86 Rack Awareness \u529f\u80fd\u7b49\u7b49\uff0c\u4f7f\u5f97\u5e7f\u544a\u5e73\u53f0\u4e0a\u8fd9\u4e2a\u91cd\u8981\u7684\u5927\u6570\u636e\u670d\u52a1\u5728 AWS \u4e0a\u7684\u591a Region\u3001\u591a AZ\u3001\u9ad8\u53ef\u7528\u3001\u53ef\u6269\u5c55\u548c\u9ad8\u6027\u80fd\u7684\u80fd\u529b\u5f97\u5230\u8fdb\u4e00\u6b65\u4fdd\u969c\u3002<\/p>\n<p>\u7531\u8877\u611f\u8c22\u56e2\u961f\u5c0f\u4f19\u4f34\u4eec\u901a\u76d8\u5730\u8003\u91cf\u3001\u51c6\u5907\u3001\u8be6\u7ec6\u7684\u8bbe\u8ba1\u548c\u5feb\u51c6\u7a33\u7684\u4ed8\u51fa\uff0c\u4ee5\u53ca SRE\u3001\u5e7f\u544a\u6295\u653e\u548c\u9884\u6d4b\u56e2\u961f\u7684\u901a\u529b\u914d\u5408\uff0c\u8ba9\u8fd9\u4e2a\u9ad8\u96be\u5ea6\u64cd\u4f5c\u7684\u5b8c\u7f8e\u4ea4\u4ed8\u6210\u4e3a\u53ef\u80fd\uff01<\/p>\n<p>\u9762\u5bf9\u7ebf\u4e0a\u5173\u952e\u5927\u6570\u636e\u670d\u52a1\u8981\u6c42\u4e0d\u505c\u673a\u5730\u8fdb\u884c\u66f4\u6362\u4e14\u4e0d\u5141\u8bb8\u51fa\u73b0\u4e00\u4e01\u70b9\u513f\u5dee\u9519\u7684\u573a\u666f\u4e0b\uff0c\u524d\u671f\u7684\u8bbe\u8ba1\u5982\u4f55\u4ed4\u7ec6\u5168\u9762\u90fd\u4e0d\u4e3a\u8fc7\uff0c\u800c\u6c38\u8fdc\u6709\u7075\u6d3b\u4e14\u5feb\u901f\u7684 PlanB \u65b9\u6848 stand by \u4e5f\u662f\u53ef\u4ee5\u8ba9\u4f60\u6c89\u7a33\u5730\u9762\u5bf9\u7ebf\u4e0a\u5404\u79cd\u7a81\u53d1\u72b6\u6001\uff0c\u5e76\u4e14\u591c\u665a\u4e5f\u80fd\u5b89\u7136\u5165\u7720\u7684\u5b9e\u7528\u5229\u5668\u3002<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_4073\" class=\"pvc_stats total_only  \" data-element-id=\"4073\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.0\" viewBox=\"0 0 502 315\" preserveAspectRatio=\"xMidYMid meet\"><g transform=\"translate(0,332) scale(0.1,-0.1)\" fill=\"\" stroke=\"none\"><path d=\"M2394 3279 l-29 -30 -3 -207 c-2 -182 0 -211 15 -242 39 -76 157 -76 196 0 15 31 17 60 15 243 l-3 209 -33 29 c-26 23 -41 29 -80 29 -41 0 -53 -5 -78 -31z\"\/><path d=\"M3085 3251 c-45 -19 -58 -50 -96 -229 -47 -217 -49 -260 -13 -295 52 -53 146 -42 177 20 16 31 87 366 87 410 0 70 -86 122 -155 94z\"\/><path d=\"M1751 3234 c-13 -9 -29 -31 -37 -50 -12 -29 -10 -49 21 -204 19 -94 39 -189 45 -210 14 -50 54 -80 110 -80 34 0 48 6 76 34 21 21 34 44 34 59 0 14 -18 113 -40 219 -37 178 -43 195 -70 221 -36 32 -101 37 -139 11z\"\/><path d=\"M1163 3073 c-36 -7 -73 -59 -73 -102 0 -56 133 -378 171 -413 34 -32 83 -37 129 -13 70 36 67 87 -16 290 -86 209 -89 214 -129 231 -35 14 -42 15 -82 7z\"\/><path d=\"M3689 3066 c-15 -9 -33 -30 -42 -48 -48 -103 -147 -355 -147 -375 0 -98 131 -148 192 -74 13 15 57 108 97 206 80 196 84 226 37 273 -30 30 -99 39 -137 18z\"\/><path d=\"M583 2784 c-38 -19 -67 -74 -58 -113 9 -42 211 -354 242 -373 16 -10 45 -18 66 -18 51 0 107 52 107 100 0 39 -1 41 -124 234 -80 126 -108 162 -133 173 -41 17 -61 16 -100 -3z\"\/><path d=\"M4250 2784 c-14 -9 -74 -91 -133 -183 -95 -150 -107 -173 -107 -213 0 -55 33 -94 87 -104 67 -13 90 8 211 198 130 202 137 225 78 284 -27 27 -42 34 -72 34 -22 0 -50 -8 -64 -16z\"\/><path d=\"M2275 2693 c-553 -48 -1095 -270 -1585 -649 -135 -104 -459 -423 -483 -476 -23 -49 -22 -139 2 -186 73 -142 361 -457 571 -626 285 -228 642 -407 990 -497 242 -63 336 -73 660 -74 310 0 370 5 595 52 535 111 1045 392 1455 803 122 121 250 273 275 326 19 41 19 137 0 174 -41 79 -309 363 -465 492 -447 370 -946 591 -1479 653 -113 14 -422 18 -536 8z m395 -428 c171 -34 330 -124 456 -258 112 -119 167 -219 211 -378 27 -96 24 -300 -5 -401 -72 -255 -236 -447 -474 -557 -132 -62 -201 -76 -368 -76 -167 0 -236 14 -368 76 -213 98 -373 271 -451 485 -162 444 86 934 547 1084 153 49 292 57 452 25z m909 -232 c222 -123 408 -262 593 -441 76 -74 138 -139 138 -144 0 -16 -233 -242 -330 -319 -155 -123 -309 -223 -461 -299 l-81 -41 32 46 c18 26 49 83 70 128 143 306 141 649 -6 957 -25 52 -61 116 -79 142 l-34 47 45 -20 c26 -10 76 -36 113 -56z m-2057 25 c-40 -58 -105 -190 -130 -263 -110 -324 -59 -707 132 -981 25 -35 42 -64 37 -64 -19 0 -241 119 -326 174 -188 122 -406 314 -532 468 l-58 71 108 103 c185 178 428 349 672 473 66 33 121 60 123 61 2 0 -10 -19 -26 -42z\"\/><path d=\"M2375 1950 c-198 -44 -350 -190 -395 -379 -18 -76 -8 -221 19 -290 114 -284 457 -406 731 -260 98 52 188 154 231 260 27 69 37 214 19 290 -38 163 -166 304 -326 360 -67 23 -215 33 -279 19z\"\/><\/g><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5927\u5bb6\u5728\u65e5\u5e38\u5de5\u4f5c\u4e2d\u53ef\u80fd\u4f1a\u7ecf\u5e38\u9047\u5230\u7cfb\u7edf\u66f4\u65b0\u8fed\u4ee3\u4e0e\u96c6\u7fa4\u91cd\u5efa\u7b49\u9700\u6c42\uff0c\u4e0d\u53ef\u907f\u514d\u4f1a\u6d89\u53ca\u5230\u670d\u52a1\u7684\u8fc1\u79fb\u66f4\u6362\u64cd\u4f5c\u3002\u9488\u5bf9\u4e0d\u540c\u573a\u666f\u548c [&hellip;]<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_4073\" class=\"pvc_stats total_only  \" data-element-id=\"4073\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.0\" viewBox=\"0 0 502 315\" preserveAspectRatio=\"xMidYMid meet\"><g transform=\"translate(0,332) scale(0.1,-0.1)\" fill=\"\" stroke=\"none\"><path d=\"M2394 3279 l-29 -30 -3 -207 c-2 -182 0 -211 15 -242 39 -76 157 -76 196 0 15 31 17 60 15 243 l-3 209 -33 29 c-26 23 -41 29 -80 29 -41 0 -53 -5 -78 -31z\"\/><path d=\"M3085 3251 c-45 -19 -58 -50 -96 -229 -47 -217 -49 -260 -13 -295 52 -53 146 -42 177 20 16 31 87 366 87 410 0 70 -86 122 -155 94z\"\/><path d=\"M1751 3234 c-13 -9 -29 -31 -37 -50 -12 -29 -10 -49 21 -204 19 -94 39 -189 45 -210 14 -50 54 -80 110 -80 34 0 48 6 76 34 21 21 34 44 34 59 0 14 -18 113 -40 219 -37 178 -43 195 -70 221 -36 32 -101 37 -139 11z\"\/><path d=\"M1163 3073 c-36 -7 -73 -59 -73 -102 0 -56 133 -378 171 -413 34 -32 83 -37 129 -13 70 36 67 87 -16 290 -86 209 -89 214 -129 231 -35 14 -42 15 -82 7z\"\/><path d=\"M3689 3066 c-15 -9 -33 -30 -42 -48 -48 -103 -147 -355 -147 -375 0 -98 131 -148 192 -74 13 15 57 108 97 206 80 196 84 226 37 273 -30 30 -99 39 -137 18z\"\/><path d=\"M583 2784 c-38 -19 -67 -74 -58 -113 9 -42 211 -354 242 -373 16 -10 45 -18 66 -18 51 0 107 52 107 100 0 39 -1 41 -124 234 -80 126 -108 162 -133 173 -41 17 -61 16 -100 -3z\"\/><path d=\"M4250 2784 c-14 -9 -74 -91 -133 -183 -95 -150 -107 -173 -107 -213 0 -55 33 -94 87 -104 67 -13 90 8 211 198 130 202 137 225 78 284 -27 27 -42 34 -72 34 -22 0 -50 -8 -64 -16z\"\/><path d=\"M2275 2693 c-553 -48 -1095 -270 -1585 -649 -135 -104 -459 -423 -483 -476 -23 -49 -22 -139 2 -186 73 -142 361 -457 571 -626 285 -228 642 -407 990 -497 242 -63 336 -73 660 -74 310 0 370 5 595 52 535 111 1045 392 1455 803 122 121 250 273 275 326 19 41 19 137 0 174 -41 79 -309 363 -465 492 -447 370 -946 591 -1479 653 -113 14 -422 18 -536 8z m395 -428 c171 -34 330 -124 456 -258 112 -119 167 -219 211 -378 27 -96 24 -300 -5 -401 -72 -255 -236 -447 -474 -557 -132 -62 -201 -76 -368 -76 -167 0 -236 14 -368 76 -213 98 -373 271 -451 485 -162 444 86 934 547 1084 153 49 292 57 452 25z m909 -232 c222 -123 408 -262 593 -441 76 -74 138 -139 138 -144 0 -16 -233 -242 -330 -319 -155 -123 -309 -223 -461 -299 l-81 -41 32 46 c18 26 49 83 70 128 143 306 141 649 -6 957 -25 52 -61 116 -79 142 l-34 47 45 -20 c26 -10 76 -36 113 -56z m-2057 25 c-40 -58 -105 -190 -130 -263 -110 -324 -59 -707 132 -981 25 -35 42 -64 37 -64 -19 0 -241 119 -326 174 -188 122 -406 314 -532 468 l-58 71 108 103 c185 178 428 349 672 473 66 33 121 60 123 61 2 0 -10 -19 -26 -42z\"\/><path d=\"M2375 1950 c-198 -44 -350 -190 -395 -379 -18 -76 -8 -221 19 -290 114 -284 457 -406 731 -260 98 52 188 154 231 260 27 69 37 214 19 290 -38 163 -166 304 -326 360 -67 23 -215 33 -279 19z\"\/><\/g><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":3,"featured_media":4084,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,17],"tags":[],"class_list":["post-4073","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-18","category-17"],"_links":{"self":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/4073","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/comments?post=4073"}],"version-history":[{"count":1,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/4073\/revisions"}],"predecessor-version":[{"id":4094,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/4073\/revisions\/4094"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/media\/4084"}],"wp:attachment":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/media?parent=4073"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/categories?post=4073"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/tags?post=4073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}