{"id":33704,"date":"2023-10-23T11:56:07","date_gmt":"2023-03-21T21:27:20","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%8a%a9%e4%ba%8e%e7%a1%ae%e5%ae%9a%e5%af%bc%e8%87%b4elasticache-for-redis%e9%ab%98%e8%b4%9f%e8%bd%bd%e5%8e%9f%e5%9b%a0%e7%9a%84%e4%bf%a1%e6%81%af%e3%80%82\/"},"modified":"2024-05-04T05:36:30","modified_gmt":"2024-05-03T21:36:30","slug":"%e6%9c%89%e5%8a%a9%e4%ba%8e%e7%a1%ae%e5%ae%9a%e5%af%bc%e8%87%b4elasticache-for-redis%e9%ab%98%e8%b4%9f%e8%bd%bd%e5%8e%9f%e5%9b%a0%e7%9a%84%e4%bf%a1%e6%81%af%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%8a%a9%e4%ba%8e%e7%a1%ae%e5%ae%9a%e5%af%bc%e8%87%b4elasticache-for-redis%e9%ab%98%e8%b4%9f%e8%bd%bd%e5%8e%9f%e5%9b%a0%e7%9a%84%e4%bf%a1%e6%81%af%e3%80%82\/","title":{"rendered":"\u6709\u52a9\u4e8e\u786e\u5b9a\u5bfc\u81f4ElastiCache for Redis\u9ad8\u8d1f\u8f7d\u539f\u56e0\u7684\u4fe1\u606f"},"content":{"rendered":"<p>\u8fd9\u662f2023\u5e74AWS\u6e38\u620f\u5723\u8bde\u8282\u5012\u6570\u65e5\u5386\u7684\u7b2c\u4e00\u7bc7\u6587\u7ae0\u3002<\/p>\n<h2>\u9996\u5148<\/h2>\n<p>\u9664\u4e86\u6e38\u620f\u5f00\u53d1\u5916\uff0cRedis\u4e5f\u53ef\u4ee5\u5728\u5404\u79cd\u5e7f\u6cdb\u573a\u666f\u4e2d\u4f7f\u7528\uff0c\u5982Leaderboard\u548cPub\/Sub\u7b49\uff0c\u901a\u8fc7\u6570\u636e\u7f13\u5b58\u548c\u7075\u6d3b\u7684\u6570\u636e\u7c7b\u578b\u3002ElastiCache for Redis\u662fRedis\u7684\u6258\u7ba1\u670d\u52a1\u3002\u7531\u4e8e\u5176\u5728\u4e00\u4e9b\u60c5\u51b5\u4e0b\u5177\u6709\u91cd\u8981\u7684\u4f5c\u7528\uff0c\u5e76\u4e14\u8fde\u63a5\u6570\u548c\u547d\u4ee4\u6267\u884c\u6570\u91cf\u5f80\u5f80\u5f88\u9ad8\uff0c\u56e0\u6b64\u7ecf\u5e38\u4f1a\u51fa\u73b0Redis\uff08ElastiCache\uff09\u7684\u8d1f\u8f7d\u8f83\u5927\u7684\u60c5\u51b5\u3002<\/p>\n<p>\u5728AWS re:Invent 2023\u5927\u4f1a\u4e0a\uff0cElastiCache Serverless\u6b63\u5f0f\u53d1\u5e03\uff0c\u8fd9\u662f\u4e00\u4e2a\u975e\u5e38\u6709\u8da3\u7684\u5ba3\u5e03\u3002ElastiCache Serverless\u53ef\u4ee5\u6839\u636e\u6d41\u91cf\u6a21\u5f0f\u81ea\u52a8\u8c03\u6574\u5bb9\u91cf\uff0c\u4f7f\u5f97\u5728\u9ad8\u8d1f\u8f7d\u73af\u5883\u4e0b\u66f4\u5bb9\u6613\u8fdb\u884c\u6269\u5c55\u3002\u7136\u800c\uff0c\u7531\u4e8e\u8d39\u7528\u4e5f\u4f1a\u968f\u7740\u5bb9\u91cf\u7684\u589e\u52a0\u800c\u6269\u5c55\uff0c\u56e0\u6b64\u9700\u8981\u6b63\u786e\u5e94\u5bf9\u610f\u5916\u7684\u5e94\u7528\u7a0b\u5e8f\u9519\u8bef\u6216\u4f4e\u6548\u7684\u5b9e\u73b0\u65b9\u5f0f\u5bfc\u81f4\u7684\u9ad8\u8d1f\u8f7d\u3002\u6b63\u786e\u8bc6\u522b\u9ad8\u8d1f\u8f7d\u7684\u539f\u56e0\uff0c\u5e76\u901a\u8fc7\u6539\u8fdb\u5e94\u7528\u7a0b\u5e8f\u6765\u5728\u6210\u672c\u4e0e\u6027\u80fd\u4e4b\u95f4\u53d6\u5f97\u5e73\u8861\uff0c\u8fd9\u975e\u5e38\u91cd\u8981\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u6211\u5c06\u4ecb\u7ecd\u5728\u8c03\u67e5\u5bfc\u81f4\u9ad8\u8d1f\u8377\u7684\u539f\u56e0\uff08\u53ef\u80fd\u662f\u5e94\u7528\u7a0b\u5e8f\u672a\u6b63\u786e\u4f7f\u7528\uff09\u548c\u8d8b\u52bf\u65f6\u7684\u4e00\u4e9b\u5efa\u8bae\u3002\u6839\u636e\u6211\u7684\u7ecf\u9a8c\uff0c\u6e38\u620f\u5f00\u53d1\u4e2d\uff0c\u5e94\u7528\u7a0b\u5e8f\u548c\u57fa\u7840\u8bbe\u65bd\u90e8\u95e8\u53ef\u80fd\u4f1a\u5206\u5f00\uff0c\u8fd9\u5e38\u5e38\u5bfc\u81f4\u5bf9\u8fd9\u7c7b\u95ee\u9898\u7684\u8c03\u67e5\u8d23\u4efb\u4e0d\u6e05\u6670\u3002\u6211\u5e0c\u671b\u80fd\u591f\u8f7b\u677e\u5730\u8fdb\u884c\u8c03\u67e5\u5e76\u987a\u5229\u89e3\u51b3\u95ee\u9898\uff01<\/p>\n<h2>\u67e5\u770b CloudWatch \u7684\u6307\u6807<\/h2>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d18f537434c4406c07ddb\/7-0.png\" alt=\"Screenshot 2023-11-29 at 20.26.53.png\" \/><\/div>\n<p>\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u4f1a\u4ece\u68c0\u67e5\u9ed8\u8ba4\u5df2\u7ecf\u5b89\u88c5\u597d\u7684ElastiCache\u6307\u6807\u5f00\u59cb\u3002\u4ee5\u4e0b\u6307\u5357\u5df2\u7ecf\u51c6\u5907\u597d\uff0c\u53ef\u4ee5\u4f5c\u4e3a\u6ce8\u89c6\u54ea\u4e9b\u6307\u6807\u7684\u53c2\u8003\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u5728\u786e\u8ba4\u6307\u6807\u5e76\u4e86\u89e3\u8d1f\u8f7d\u8d8b\u52bf\u540e\uff0c\u53c2\u8003\u4ee5\u4e0bre:Post\u7684\u95ee\u7b54\u4e5f\u80fd\u5236\u5b9a\u5bf9\u7b56\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u4f5c\u4e3a\u5bf9\u7b56\uff0c\u53ef\u4ee5\u8003\u8651\u5c06\u5b9e\u4f8b\u7c7b\u578b\u6539\u4e3a\u66f4\u5927\u7684\u7c7b\u578b\uff0c\u6216\u8005\u5728\u8fd0\u884c\u5728\u96c6\u7fa4\u6a21\u5f0f\u4e0b\u7684\u96c6\u7fa4\u4e0a\u6dfb\u52a0\u8282\u70b9\u3002<\/p>\n<p>\u4e3a\u4e86\u786e\u5b9a\u5177\u4f53\u6210\u4e3a\u74f6\u9888\u7684\u547d\u4ee4\uff0c\u9700\u8981\u91c7\u53d6\u4ee5\u4e0b\u6240\u8ff0\u7684\u65b9\u6cd5\u3002<\/p>\n<h2>\u5c06\u6162\u67e5\u8be2\u65e5\u5fd7\u8f93\u51fa\u5230CloudWatch Logs\u4e2d<\/h2>\n<p>\u5728\u4f7f\u7528Redis\u96c6\u7fa4\u7684\u5f15\u64ce\u7248\u672c6.0\u53ca\u4ee5\u4e0a\u7248\u672c\u4e2d\uff0c\u652f\u6301\u6162\u65e5\u5fd7\u529f\u80fd\uff0c\u5e76\u4e14\u60a8\u53ef\u4ee5\u660e\u786e\u542f\u7528\u8be5\u529f\u80fd\u4ee5\u8f93\u51fa\u65e5\u5fd7\u3002\u60a8\u53ef\u4ee5\u9009\u62e9\u5c06\u65e5\u5fd7\u4f20\u8f93\u5230CloudWatch\u65e5\u5fd7\u6216Kinesis Data Firehose\u4f5c\u4e3a\u65e5\u5fd7\u76ee\u6807\u3002<\/p>\n<p>\u901a\u8fc7\u5728\u53c2\u6570\u7ec4\u7684\u201cslowlog-log-slower-than\u201d\u4e2d\u8bbe\u7f6e\u9608\u503c(\u03bcs)\uff0c\u53ef\u4ee5\u5c06\u6267\u884c\u65f6\u95f4\u8d85\u8fc7\u9608\u503c\u7684\u547d\u4ee4\u8f93\u51fa\u4e3a\u6162\u65e5\u5fd7\u3002\u5982\u679c\u60a8\u7684\u8c03\u67e5\u76ee\u7684\u662f\u8f93\u51fa\u6240\u6709\u547d\u4ee4\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u4e3a\u201c0\u201d\u6765\u8f93\u51fa\u6240\u6709\u547d\u4ee4\u3002<\/p>\n<p>&nbsp;<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d18f537434c4406c07ddb\/19-0.png\" alt=\"Screenshot 2023-11-29 at 23.09.02.png\" \/><\/div>\n<p>\u4ee5\u4e0b\u662f\u5c06\u7ed3\u679c\u8f93\u51fa\u5230CloudWatch Logs\u65f6\u7684\u793a\u4f8b\u3002<br \/>\n\u7531\u4e8e\u53ef\u4ee5\u5728Insights\u4e2d\u8fdb\u884c\u7b5b\u9009\u548c\u6392\u5e8f\uff0c\u56e0\u6b64\u8c03\u67e5\u53d8\u5f97\u66f4\u52a0\u5bb9\u6613\u3002<\/p>\n<p>\u7136\u800c\uff0c\u6b63\u5982\u4e0a\u8ff0\u6240\u8ff0\uff0c\u547d\u4ee4\u53c2\u6570\u4f1a\u88ab\u622a\u65ad\uff0c\u65e0\u6cd5\u8bc6\u522b\u952e\/\u503c\u3002\u6b64\u5916\uff0c\u867d\u7136\u53ef\u4ee5\u4f7f\u7528CLIENT SETNAME\u547d\u4ee4\u7ed9\u5ba2\u6237\u7aef\u6dfb\u52a0\u4efb\u610f\u540d\u79f0\u4f5c\u4e3a\u5ba2\u6237\u7aef\u540d\u79f0\uff0c\u4f46\u7531\u4e8e\u5b57\u7b26\u4e32&#8221;ClientName&#8221;\u5728\u4e2d\u9014\u88ab\u622a\u65ad\uff0c\u56e0\u6b64\u5f88\u96be\u6ce8\u518c\u5305\u542b\u6587\u4ef6\u540d\u548c\u884c\u53f7\u7684\u957f\u5b57\u7b26\u4e32\uff0c\u7c7b\u4f3c\u4e8e\u5806\u6808\u8ddf\u8e2a\u4fe1\u606f\u3002\u5982\u679c\u4f7f\u7528redis-cli\u547d\u4ee4\u884c\u754c\u9762\u4e2d\u7684SHOWLOG\u547d\u4ee4\uff0c\u53ef\u4ee5\u67e5\u770b\u66f4\u8be6\u7ec6\u7684\u6162\u65e5\u5fd7\uff0c\u56e0\u6b64\u540c\u65f6\u4f7f\u7528\u6b64\u547d\u4ee4\u53ef\u80fd\u4f1a\u66f4\u597d\u3002<\/p>\n<pre class=\"post-pre\"><code> SLOWLOG GET 1\r\n1) 1) (integer) 62054744\r\n   2) (integer) 1701266759\r\n   3) (integer) 0\r\n   4) 1) \"SET\"\r\n      2) \"key\"\r\n      3) \"value\"\r\n   5) \"172.31.12.235:59914\"\r\n   6) \"my-app#Error_at_file:\/\/\/home\/ec2-user\/environment\/adv2023\/test.mjs:7:37_at_file:\/\/\/home\/ec2-user\/environment\/adv2023\/test.mjs:7:92_at_runMicrotasks_(&lt;anonymous&gt;)_at_processTicksAndRejections_(node:internal\/process\/task_queues:96:5)\"\r\n<\/code><\/pre>\n<h2>Redis \u76d1\u89c6\u5668<\/h2>\n<p>&nbsp;<\/p>\n<p>Redis MONITOR\u662f\u4e00\u4e2a\u8c03\u8bd5\u547d\u4ee4\uff0c\u5b83\u5728\u6d41\u4e2d\u8fd4\u56deRedis\u670d\u52a1\u5668\u5904\u7406\u7684\u6240\u6709\u547d\u4ee4\u3002\u5b83\u6709\u52a9\u4e8e\u7406\u89e3\u6570\u636e\u5e93\u4e2d\u6b63\u5728\u53d1\u751f\u7684\u4e8b\u60c5\u3002\u8fd9\u4e2a\u547d\u4ee4\u5df2\u7ecf\u5b9e\u73b0\u5728redis-cli\u4e2d\uff0c\u5e76\u4e14\u4e5f\u53ef\u4ee5\u5728ElastiCache\u4e2d\u4f7f\u7528\u3002<\/p>\n<p>\u5982\u679c\u4f60\u60f3\u8981\u786e\u8ba4\u5f53\u524d\u6d41\u7a0b\u4e2d\u6709\u54ea\u4e9b\u547d\u4ee4\u7684\u8bdd\uff0c\u628a\u5b83\u4eec\u4f5c\u4e3aCloudWatch Logs\u7684\u6162\u67e5\u8be2\u65e5\u5fd7\u8f93\u51fa\u4f1a\u66f4\u5bb9\u6613\u540e\u7eed\u8fdb\u884c\u641c\u7d22\uff0c\u4e0d\u8fc7\u5982\u679c\u4f60\u66f4\u6ce8\u91cd\u65b9\u4fbf\u6027\u7684\u8bdd\uff0cRedis MONITOR\u53ef\u80fd\u66f4\u597d\u7528\u3002<\/p>\n<p>\u8bf7\u6ce8\u610f\uff0c\u5728\u5b9e\u9645\u73af\u5883\u4e2d\u8fd0\u884c\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u5230MONITOR\u4f1a\u4ea7\u751f\u8f83\u9ad8\u7684\u8d1f\u8f7d\uff0c\u6839\u636e\u6587\u6863\uff0c\u4ec5\u8fd0\u884c\u4e00\u4e2aMONITOR\u5ba2\u6237\u7aef\u53ef\u80fd\u5bfc\u81f4\u541e\u5410\u91cf\u4e0b\u964d50%\u4ee5\u4e0a\u3002<\/p>\n<pre class=\"post-pre\"><code>MONITOR\r\n\r\n1701267313.987149 [0 172.31.12.235:45766] \"CLIENT\" \"SETNAME\" \"my-app#Error_at_file:\/\/\/home\/ec2-user\/environment\/adv2023\/test.mjs:7:37_at_file:\/\/\/home\/ec2-user\/environment\/adv2023\/test.mjs:7:92_at_runMicrotasks_(&lt;anonymous&gt;)_at_processTicksAndRejections_(node:internal\/process\/task_queues:96:5)\"\r\n1701267313.987625 [0 172.31.12.235:45766] \"SET\" \"key\" \"value\"\r\n1701267313.987981 [0 172.31.12.235:45766] \"GET\" \"key\"\r\n1701267313.990282 [0 172.31.12.235:45784] \"CLIENT\" \"SETNAME\" \"my-app#Error_at_file:\/\/\/home\/ec2-user\/environment\/adv2023\/test.mjs:7:37_at_file:\/\/\/home\/ec2-user\/environment\/adv2023\/test.mjs:7:92_at_runMicrotasks_(&lt;anonymous&gt;)_at_processTicksAndRejections_(node:internal\/process\/task_queues:96:5)\"\r\n1701267313.990723 [0 172.31.12.235:45784] \"SET\" \"key\" \"value\"\r\n1701267313.991091 [0 172.31.12.235:45784] \"GET\" \"key\"\r\n<\/code><\/pre>\n<p>\u628a\u4e0b\u9762\u7684\u53e5\u5b50\u7528\u4e2d\u6587\u8868\u8fbe\u51fa\u6765\uff0c\u53ea\u9700\u8981\u4e00\u79cd\u9009\u9879\uff1a<br \/>\n&#8230;.<\/p>\n<h2>redis-faina \u793e<\/h2>\n<p>Facebook\u5236\u4f5c\u7684\u5de5\u5177\uff08\u5f53\u524d\u5df2\u5f52\u6863\uff09<\/p>\n<p>&nbsp;<\/p>\n<p>\u4e3a\u4e86\u5206\u6790Redis MONITOR\u547d\u4ee4\u7684\u7ed3\u679c\u5e76\u663e\u793a\u7edf\u8ba1\u4fe1\u606f\uff0c\u6709\u52a9\u4e8e\u786e\u5b9a\u9891\u7e41\u6267\u884c\u7684\u547d\u4ee4\u548c\u952e\u3002\u8fd9\u4e2a\u5de5\u5177\u4ec5\u4f7f\u7528Python\u7684\u6807\u51c6\u5305\u8fdb\u884c\u5b9e\u73b0\uff0c\u56e0\u6b64\u975e\u5e38\u5bb9\u6613\u4f7f\u7528\u3002\u7136\u800c\uff0c\u9700\u8981\u6ce8\u610f\u5b83\u662f\u4e00\u4e2a\u4f7f\u7528Redis MONITOR\u7684\u5de5\u5177\u3002<\/p>\n<p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u5b9e\u9645\u6267\u884c\u7684\u4f8b\u5b50<\/p>\n<pre class=\"post-pre\"><code>redis-cli -h \u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8 MONITOR | head -n 10000 | .\/redis-faina.py     \r\n\r\nOverall Stats\r\n========================================\r\nLines Processed         10000\r\nCommands\/Sec            1029.13\r\n\r\nTop Prefixes\r\n========================================\r\nkey             1700    (17.00%)\r\ncounter         600     (6.00%)\r\nmyset           500     (5.00%)\r\n\r\nTop Keys\r\n========================================\r\nmylist                  4900    (49.00%)\r\nkey:__rand_int__        1700    (17.00%)\r\nmyset                   1099    (10.99%)\r\ncounter:__rand_int__    600     (6.00%)\r\nmyset:__rand_int__      500     (5.00%)\r\n\r\nTop Commands\r\n========================================\r\nLRANGE          2000    (20.00%)\r\nPING            1200    (12.00%)\r\nLPUSH           1100    (11.00%)\r\nINCR            600     (6.00%)\r\nSET             600     (6.00%)\r\nGET             600     (6.00%)\r\nLPOP            600     (6.00%)\r\nRPOP            600     (6.00%)\r\n\r\nCommand Time (microsecs)\r\n========================================\r\nMedian          29.25\r\n75%             44.25\r\n90%             74.0\r\n99%             9279.0\r\n\r\nHeaviest Commands (microsecs)\r\n========================================\r\nMSET            5253914.25\r\nLRANGE          924210.25\r\nPING            559702.75\r\nLPUSH           513888.25\r\nINCR            324686.0\r\nSET             324561.25\r\nLPOP            320195.0\r\nGET             308743.0\r\n\r\nSlowest Calls\r\n========================================\r\n1057570.0       \"MSET\" \"key:__rand_int__\" \"xxx\" \"key:__rand_int__\" \"xxx\" \"key:__rand_int__\" \"xxx\" ...\r\n1040329.0       \"MSET\" \"key:__rand_int__\" \"xxx\" \"key:__rand_int__\" \"xxx\" \"key:__rand_int__\" \"xxx\" ...\r\n1040218.0       \"MSET\" \"key:__rand_int__\" \"xxx\" \"key:__rand_int__\" \"xxx\" \"key:__rand_int__\" \"xxx\" ...\r\n1032906.0       \"MSET\" \"key:__rand_int__\" \"xxx\" \"key:__rand_int__\" \"xxx\" \"key:__rand_int__\" \"xxx\" ...\r\n1030291.0       \"MSET\" \"key:__rand_int__\" \"xxx\" \"key:__rand_int__\" \"xxx\" \"key:__rand_int__\" \"xxx\" ...\r\n86542.0         \"LPOP\" \"mylist\"\r\n80689.0         \"LPUSH\" \"mylist\" \"xxx\"\r\n78757.0         \"RPOP\" \"mylist\"\r\n<\/code><\/pre>\n<h2>Redis\u6d41\u91cf\u7edf\u8ba1<\/h2>\n<p>&nbsp;<\/p>\n<p>\u901a\u8fc7\u5206\u6790tcpdump\u7684pcap\u6570\u636e\u5e76\u751f\u6210\u62a5\u544a\uff0c\u76f8\u8f83\u4e8eRedis MONITOR\uff0c\u5b83\u5177\u6709\u4e0d\u7ed9\u96c6\u7fa4\u5e26\u6765\u8d1f\u8f7d\u7684\u4f18\u70b9\uff0c\u8fd8\u53ef\u4ee5\u8f93\u51fa\u547d\u4ee4\u4f20\u8f93\u7684\u5b57\u8282\u6570\u7edf\u8ba1\u3002<\/p>\n<p>\u7136\u800c\uff0c\u9884\u6784\u5efa\u7684\u5206\u53d1\u6587\u4ef6\u51fa\u73b0\u4e86404\u9519\u8bef\uff0c\u5982\u679c\u8981\u4ece\u6e90\u4ee3\u7801\u6784\u5efa\uff0c\u9700\u8981\u5b89\u88c5Perl\u4f9d\u8d56\u5305\u7b49\uff0c\u56e0\u6b64\u5b89\u88c5\u8fc7\u7a0b\u7a0d\u5fae\u6709\u4e9b\u56f0\u96be\u3002<\/p>\n<pre class=\"post-pre\"><code># cpanm install\r\n$ curl -L https:\/\/cpanmin.us | perl - --sudo App::cpanminus\r\n$ cpanm --local-lib=~\/perl5 local::lib &amp;&amp; eval $(perl -I ~\/perl5\/lib\/perl5\/ -Mlocal::lib)\r\n\r\n# redis-traffic-stats install\r\n$ git clone https:\/\/github.com\/hirose31\/redis-traffic-stats.git\r\n$ cd redis-traffic-stats\/\r\n# Net::Pcap \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u306e\u3067\u3001libpcap-devel\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb: sudo yum install libpcap-devel\r\n$ cpanm --installdeps .\r\n$ perl Build.PL\r\n$ .\/Build\r\n$ .\/Build test\r\n$ .\/Build install\r\n<\/code><\/pre>\n<p>\u4f8b\u5b50\u7684\u7528\u6cd5<\/p>\n<pre class=\"post-pre\"><code>$ tcpdump -s 65535 tcp port 6379 -w redis.pcap -i eth0    $ redis-traffic-stats -r redis.pcap\r\n\r\npcapfile: redis.pcap\r\nread pcap data and rebuild TCP stream ......................................... done (41057 pkt)\r\nprocess Redis protocol ............ done\r\n\r\n# redis-traffic-stats\r\n\r\n## Summary\r\n\r\n* Duration:\r\n    * 2023-11-29 15:16:10 - 2023-11-29 15:16:16 (6s)\r\n* Total Traffic:\r\n    * 1607003 bytes (267833.83 bytes\/sec)\r\n* Total Requests:\r\n    * 6486 requests (Avg 1081.00 req\/sec, Peak 1621.00 req\/sec)\r\n\r\n## Top Commands\r\n\r\n### By count\r\nCommand          | Count  | Pct    | Req\/sec \r\n-----------------|-------:|-------:|---------:\r\nLRANGE           |   1445 |  22.28 |   240.83\r\nLPUSH            |    733 |  11.30 |   122.17\r\nPING             |    690 |  10.64 |   115.00\r\nHSET             |    396 |   6.11 |    66.00\r\nLPOP             |    393 |   6.06 |    65.50\r\nGET              |    377 |   5.81 |    62.83\r\nSET              |    371 |   5.72 |    61.83\r\nSADD             |    371 |   5.72 |    61.83\r\nMSET             |    371 |   5.72 |    61.83\r\nINCR             |    343 |   5.29 |    57.17\r\n\r\n### By traffic\r\nCommand          | Bytes     | Byte\/sec    \r\n-----------------|----------:|-------------:\r\nLRANGE           |   1588650 |    264775.00\r\nLPUSH            |      5131 |       855.17\r\nPING             |      2760 |       460.00\r\nINCR             |      2401 |       400.17\r\nRPUSH            |      2394 |       399.00\r\nLPOP             |      1179 |       196.50\r\nGET              |      1131 |       188.50\r\nRPOP             |      1026 |       171.00\r\nSET              |       742 |       123.67\r\nMSET             |       742 |       123.67\r\n\r\n## Command Detail\r\n\r\n### LRANGE\r\nKey                  | Bytes     | Byte\/sec     | Count  | Pct    | Req\/sec \r\n---------------------|----------:|-------------:|-------:|-------:|---------:\r\nmylist               |   1588650 |    264775.00 |   1445 | 100.00 |   240.83\r\n\r\n### LPUSH\r\nKey                  | Bytes     | Byte\/sec     | Count  | Pct    | Req\/sec \r\n---------------------|----------:|-------------:|-------:|-------:|---------:\r\nmylist               |      5131 |       855.17 |    733 | 100.00 |   122.17\r\n\r\n### PING\r\nKey                  | Bytes     | Byte\/sec     | Count  | Pct    | Req\/sec \r\n---------------------|----------:|-------------:|-------:|-------:|---------:\r\n\r\n### INCR\r\nKey                  | Bytes     | Byte\/sec     | Count  | Pct    | Req\/sec \r\n---------------------|----------:|-------------:|-------:|-------:|---------:\r\ncounter:__rand_int__ |      2401 |       400.17 |    343 | 100.00 |    57.17\r\n\r\n### RPUSH\r\nKey                  | Bytes     | Byte\/sec     | Count  | Pct    | Req\/sec \r\n---------------------|----------:|-------------:|-------:|-------:|---------:\r\nmylist               |      2394 |       399.00 |    342 | 100.00 |    57.00\r\n\r\n### LPOP\r\nKey                  | Bytes     | Byte\/sec     | Count  | Pct    | Req\/sec \r\n---------------------|----------:|-------------:|-------:|-------:|---------:\r\nmylist               |      1179 |       196.50 |    393 | 100.00 |    65.50\r\n\r\n### GET\r\nKey                  | Bytes     | Byte\/sec     | Count  | Pct    | Req\/sec \r\n---------------------|----------:|-------------:|-------:|-------:|---------:\r\nkey:__rand_int__     |      1131 |       188.50 |    377 | 100.00 |    62.83\r\n\r\n### RPOP\r\nKey                  | Bytes     | Byte\/sec     | Count  | Pct    | Req\/sec \r\n---------------------|----------:|-------------:|-------:|-------:|---------:\r\nmylist               |      1026 |       171.00 |    342 | 100.00 |    57.00\r\n\r\n### SET\r\nKey                  | Bytes     | Byte\/sec     | Count  | Pct    | Req\/sec \r\n---------------------|----------:|-------------:|-------:|-------:|---------:\r\nkey:__rand_int__     |       742 |       123.67 |    371 | 100.00 |    61.83\r\n\r\n### MSET\r\nKey                  | Bytes     | Byte\/sec     | Count  | Pct    | Req\/sec \r\n---------------------|----------:|-------------:|-------:|-------:|---------:\r\nkey:__rand_int__     |       742 |       123.67 |    371 | 100.00 |    61.83\r\n\r\n### HSET\r\nKey                  | Bytes     | Byte\/sec     | Count  | Pct    | Req\/sec \r\n---------------------|----------:|-------------:|-------:|-------:|---------:\r\nmyset:__rand_int__   |       396 |        66.00 |    396 | 100.00 |    66.00\r\n\r\n### SADD\r\nKey                  | Bytes     | Byte\/sec     | Count  | Pct    | Req\/sec \r\n---------------------|----------:|-------------:|-------:|-------:|---------:\r\nmyset                |       371 |        61.83 |    371 | 100.00 |    61.83\r\n\r\n### SPOP\r\nKey                  | Bytes     | Byte\/sec     | Count  | Pct    | Req\/sec \r\n---------------------|----------:|-------------:|-------:|-------:|---------:\r\nmyset                |        80 |        13.33 |    312 | 100.00 |    52.00\r\n\r\n## Slow Commands\r\n\r\nTime   | Command                                                               \r\n------:|------------------------------------------------------------------------\r\n 0.044 | LRANGE mylist 0 599                                                   \r\n 0.044 | LRANGE mylist 0 599                                                   \r\n 0.043 | LRANGE mylist 0 599                                                   \r\n 0.043 | SADD myset element:__rand_int__                                       \r\n 0.043 | LRANGE mylist 0 599                                                   \r\n 0.043 | LRANGE mylist 0 599                                                   \r\n 0.043 | LRANGE mylist 0 599                                                   \r\n 0.042 | SADD myset element:__rand_int__                                       \r\n 0.042 | LRANGE mylist 0 599                                                   \r\n 0.042 | LRANGE mylist 0 599                    \r\n<\/code><\/pre>\n<h2>\u6700\u540e<\/h2>\n<p>\u4e0a\u8ff0\u7684\u4fe1\u606f\u6709\u52a9\u4e8e\u786e\u5b9aElastiCache for Redis\u7684\u9ad8\u8d1f\u8377\u539f\u56e0\u3002\u5982\u679c\u8fd8\u6709\u5176\u4ed6\u6709\u7528\u7684\u4fe1\u606f\uff0c\u6b22\u8fce\u7559\u8a00\u6216\u63d0\u51fa\u7f16\u8f91\u8bf7\u6c42\uff01<\/p>\n<p>\uff08\u514d\u8d23\uff09\u672c\u7bc7\u6587\u7ae0\u5185\u5bb9\u4ec5\u4ee3\u8868\u4e2a\u4eba\u89c2\u70b9\uff0c\u4e0e\u6240\u5c5e\u4f01\u4e1a\u6216\u7ec4\u7ec7\u65e0\u5173\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u662f2023\u5e74AWS\u6e38\u620f\u5723\u8bde\u8282\u5012\u6570\u65e5\u5386\u7684\u7b2c\u4e00\u7bc7\u6587\u7ae0\u3002 \u9996\u5148 \u9664\u4e86\u6e38\u620f\u5f00\u53d1\u5916\uff0cRedis\u4e5f\u53ef\u4ee5\u5728\u5404\u79cd\u5e7f\u6cdb\u573a\u666f\u4e2d\u4f7f [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-33704","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u6709\u52a9\u4e8e\u786e\u5b9a\u5bfc\u81f4ElastiCache for Redis\u9ad8\u8d1f\u8f7d\u539f\u56e0\u7684\u4fe1\u606f - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u6709\u52a9\u4e8e\u786e\u5b9a\u5bfc\u81f4elasticache-for-redis\u9ad8\u8d1f\u8f7d\u539f\u56e0\u7684\u4fe1\u606f\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6709\u52a9\u4e8e\u786e\u5b9a\u5bfc\u81f4ElastiCache for Redis\u9ad8\u8d1f\u8f7d\u539f\u56e0\u7684\u4fe1\u606f\" \/>\n<meta property=\"og:description\" content=\"\u8fd9\u662f2023\u5e74AWS\u6e38\u620f\u5723\u8bde\u8282\u5012\u6570\u65e5\u5386\u7684\u7b2c\u4e00\u7bc7\u6587\u7ae0\u3002 \u9996\u5148 \u9664\u4e86\u6e38\u620f\u5f00\u53d1\u5916\uff0cRedis\u4e5f\u53ef\u4ee5\u5728\u5404\u79cd\u5e7f\u6cdb\u573a\u666f\u4e2d\u4f7f [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u6709\u52a9\u4e8e\u786e\u5b9a\u5bfc\u81f4elasticache-for-redis\u9ad8\u8d1f\u8f7d\u539f\u56e0\u7684\u4fe1\u606f\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-21T21:27:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-03T21:36:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d18f537434c4406c07ddb\/7-0.png\" \/>\n<meta name=\"author\" content=\"\u96c5, \u609f\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u96c5, \u609f\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%8a%a9%e4%ba%8e%e7%a1%ae%e5%ae%9a%e5%af%bc%e8%87%b4elasticache-for-redis%e9%ab%98%e8%b4%9f%e8%bd%bd%e5%8e%9f%e5%9b%a0%e7%9a%84%e4%bf%a1%e6%81%af%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%8a%a9%e4%ba%8e%e7%a1%ae%e5%ae%9a%e5%af%bc%e8%87%b4elasticache-for-redis%e9%ab%98%e8%b4%9f%e8%bd%bd%e5%8e%9f%e5%9b%a0%e7%9a%84%e4%bf%a1%e6%81%af%e3%80%82\/\",\"name\":\"\u6709\u52a9\u4e8e\u786e\u5b9a\u5bfc\u81f4ElastiCache for Redis\u9ad8\u8d1f\u8f7d\u539f\u56e0\u7684\u4fe1\u606f - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-03-21T21:27:20+00:00\",\"dateModified\":\"2024-05-03T21:36:30+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%8a%a9%e4%ba%8e%e7%a1%ae%e5%ae%9a%e5%af%bc%e8%87%b4elasticache-for-redis%e9%ab%98%e8%b4%9f%e8%bd%bd%e5%8e%9f%e5%9b%a0%e7%9a%84%e4%bf%a1%e6%81%af%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%8a%a9%e4%ba%8e%e7%a1%ae%e5%ae%9a%e5%af%bc%e8%87%b4elasticache-for-redis%e9%ab%98%e8%b4%9f%e8%bd%bd%e5%8e%9f%e5%9b%a0%e7%9a%84%e4%bf%a1%e6%81%af%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%8a%a9%e4%ba%8e%e7%a1%ae%e5%ae%9a%e5%af%bc%e8%87%b4elasticache-for-redis%e9%ab%98%e8%b4%9f%e8%bd%bd%e5%8e%9f%e5%9b%a0%e7%9a%84%e4%bf%a1%e6%81%af%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6709\u52a9\u4e8e\u786e\u5b9a\u5bfc\u81f4ElastiCache for Redis\u9ad8\u8d1f\u8f7d\u539f\u56e0\u7684\u4fe1\u606f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6\",\"name\":\"\u96c5, \u609f\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g\",\"caption\":\"\u96c5, \u609f\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yawu\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%8a%a9%e4%ba%8e%e7%a1%ae%e5%ae%9a%e5%af%bc%e8%87%b4elasticache-for-redis%e9%ab%98%e8%b4%9f%e8%bd%bd%e5%8e%9f%e5%9b%a0%e7%9a%84%e4%bf%a1%e6%81%af%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u6709\u52a9\u4e8e\u786e\u5b9a\u5bfc\u81f4ElastiCache for Redis\u9ad8\u8d1f\u8f7d\u539f\u56e0\u7684\u4fe1\u606f - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u6709\u52a9\u4e8e\u786e\u5b9a\u5bfc\u81f4elasticache-for-redis\u9ad8\u8d1f\u8f7d\u539f\u56e0\u7684\u4fe1\u606f\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u6709\u52a9\u4e8e\u786e\u5b9a\u5bfc\u81f4ElastiCache for Redis\u9ad8\u8d1f\u8f7d\u539f\u56e0\u7684\u4fe1\u606f","og_description":"\u8fd9\u662f2023\u5e74AWS\u6e38\u620f\u5723\u8bde\u8282\u5012\u6570\u65e5\u5386\u7684\u7b2c\u4e00\u7bc7\u6587\u7ae0\u3002 \u9996\u5148 \u9664\u4e86\u6e38\u620f\u5f00\u53d1\u5916\uff0cRedis\u4e5f\u53ef\u4ee5\u5728\u5404\u79cd\u5e7f\u6cdb\u573a\u666f\u4e2d\u4f7f [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u6709\u52a9\u4e8e\u786e\u5b9a\u5bfc\u81f4elasticache-for-redis\u9ad8\u8d1f\u8f7d\u539f\u56e0\u7684\u4fe1\u606f\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-03-21T21:27:20+00:00","article_modified_time":"2024-05-03T21:36:30+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d18f537434c4406c07ddb\/7-0.png"}],"author":"\u96c5, \u609f","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u96c5, \u609f","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%8a%a9%e4%ba%8e%e7%a1%ae%e5%ae%9a%e5%af%bc%e8%87%b4elasticache-for-redis%e9%ab%98%e8%b4%9f%e8%bd%bd%e5%8e%9f%e5%9b%a0%e7%9a%84%e4%bf%a1%e6%81%af%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%8a%a9%e4%ba%8e%e7%a1%ae%e5%ae%9a%e5%af%bc%e8%87%b4elasticache-for-redis%e9%ab%98%e8%b4%9f%e8%bd%bd%e5%8e%9f%e5%9b%a0%e7%9a%84%e4%bf%a1%e6%81%af%e3%80%82\/","name":"\u6709\u52a9\u4e8e\u786e\u5b9a\u5bfc\u81f4ElastiCache for Redis\u9ad8\u8d1f\u8f7d\u539f\u56e0\u7684\u4fe1\u606f - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-03-21T21:27:20+00:00","dateModified":"2024-05-03T21:36:30+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%8a%a9%e4%ba%8e%e7%a1%ae%e5%ae%9a%e5%af%bc%e8%87%b4elasticache-for-redis%e9%ab%98%e8%b4%9f%e8%bd%bd%e5%8e%9f%e5%9b%a0%e7%9a%84%e4%bf%a1%e6%81%af%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%8a%a9%e4%ba%8e%e7%a1%ae%e5%ae%9a%e5%af%bc%e8%87%b4elasticache-for-redis%e9%ab%98%e8%b4%9f%e8%bd%bd%e5%8e%9f%e5%9b%a0%e7%9a%84%e4%bf%a1%e6%81%af%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%8a%a9%e4%ba%8e%e7%a1%ae%e5%ae%9a%e5%af%bc%e8%87%b4elasticache-for-redis%e9%ab%98%e8%b4%9f%e8%bd%bd%e5%8e%9f%e5%9b%a0%e7%9a%84%e4%bf%a1%e6%81%af%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u6709\u52a9\u4e8e\u786e\u5b9a\u5bfc\u81f4ElastiCache for Redis\u9ad8\u8d1f\u8f7d\u539f\u56e0\u7684\u4fe1\u606f"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6","name":"\u96c5, \u609f","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g","caption":"\u96c5, \u609f"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yawu\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%8a%a9%e4%ba%8e%e7%a1%ae%e5%ae%9a%e5%af%bc%e8%87%b4elasticache-for-redis%e9%ab%98%e8%b4%9f%e8%bd%bd%e5%8e%9f%e5%9b%a0%e7%9a%84%e4%bf%a1%e6%81%af%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/33704","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=33704"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/33704\/revisions"}],"predecessor-version":[{"id":96431,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/33704\/revisions\/96431"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=33704"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=33704"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=33704"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}