{"id":1131,"date":"2021-10-11T14:14:24","date_gmt":"2021-10-11T06:14:24","guid":{"rendered":"https:\/\/aif.amtbbs.org\/?p=1131"},"modified":"2021-10-11T14:14:24","modified_gmt":"2021-10-11T06:14:24","slug":"%e5%80%bc75%e4%ba%bf%e7%be%8e%e9%87%91%e7%9a%84github%e9%83%bd%e4%b8%8d%e7%94%a8%e5%88%86%e5%b8%83%e5%bc%8f%ef%bc%8c%e4%bd%a0%e7%9a%84%e6%95%b0%e6%8d%ae%e5%ba%93%e4%b9%9f%e4%b8%8d%e9%9c%80%e8%a6%81","status":"publish","type":"post","link":"https:\/\/aif.amtbbs.org\/index.php\/2021\/10\/11\/1131\/","title":{"rendered":"\u503c75\u4ebf\u7f8e\u91d1\u7684GitHub\u90fd\u4e0d\u7528\u5206\u5e03\u5f0f\uff0c\u4f60\u7684\u6570\u636e\u5e93\u4e5f\u4e0d\u9700\u8981"},"content":{"rendered":"<section><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1132\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/uploads\/2021\/10\/4ffce04d92a4d6cb21c1494cdfcd6dc1-16.png\" width=\"1080\" height=\"675\" alt=\"\u56fe\u7247\" srcset=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2021\/10\/4ffce04d92a4d6cb21c1494cdfcd6dc1-16.png 1080w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2021\/10\/4ffce04d92a4d6cb21c1494cdfcd6dc1-16-300x188.png 300w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2021\/10\/4ffce04d92a4d6cb21c1494cdfcd6dc1-16-1024x640.png 1024w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2021\/10\/4ffce04d92a4d6cb21c1494cdfcd6dc1-16-768x480.png 768w\" sizes=\"auto, (max-width: 1080px) 100vw, 1080px\" \/><\/section>\n<section>\u4f5c\u8005 |\u00a0\u9648\u5929\u821f<\/section>\n<p>\u524d\u4e24\u5929 GitHub \u7684\u535a\u5ba2\u4e0a\u53d1\u5e03\u4e86\u4e00\u7bc7\u9898\u4e3a\u300cPartitioning GitHub\u2019s relational databases to handle scale\u300d[1] \u8bb2\u8ff0\u4ed6\u4eec\u5982\u4f55\u62c6\u5206\u81ea\u5df1\u7684\u6570\u636e\u5e93\u3002\u76f8\u5173\u5185\u5bb9\u5728 Hacker News[2] \u4e0a\u4e5f\u5f15\u8d77\u4e86\u5927\u5bb6\u7684\u5173\u6ce8\u3002<\/p>\n<section>\u62c6\u5206\u524d\u7684 GitHub<\/section>\n<p>\u4e00\u76f4\u4ee5\u6765 GitHub \u4e0a\u51e0\u4e4e\u6240\u6709\u7684\u5143\u6570\u636e\u4fe1\u606f\uff08\u4e0d\u5305\u62ec\u5b58\u653e\u7684\u4ee3\u7801\u4ed3\u5e93\u672c\u8eab\uff09\u90fd\u662f\u5b58\u5728\u4e00\u4e2a\u53eb mysql1 \u7684\u6570\u636e\u5e93\u96c6\u7fa4\u4e0a\uff0c\u8fd9\u4e2a\u96c6\u7fa4\u7531\u4e00\u4e3b\u591a\u5907\u7ec4\u6210\u3002\u6240\u4ee5\u672c\u8d28\u4e0a GitHub \u4e00\u76f4\u662f\u4e00\u4e2a\u5355\u4f53 MySQL \u652f\u6491\u7684\u5e94\u7528\uff0c\u4e00\u76f4\u5230 2019\uff0c\u4e3a\u4e86\u5e94\u5bf9\u589e\u957f\u4ee5\u53ca\u63d0\u9ad8\u53ef\u7528\u6027\uff0cGitHub \u51b3\u5b9a\u5bf9\u6570\u636e\u5e93\u8fdb\u884c\u62c6\u5206\u3002<\/p>\n<section>\u62c6\u5206\u7684\u65b9\u6cd5<\/section>\n<p>\u4e00\u63d0\u5230\u6570\u636e\u5e93\u62c6\u5206\uff0c\u901a\u5e38\u5927\u5bb6\u60f3\u5230\u7684\u4f1a\u662f\u5206\u5e93\u5206\u8868\u6c34\u5e73\u62c6\u5206\u7684 Sharding \u65b9\u6848\uff0c\u65e0\u8bba\u662f\u5206\u5e03\u5f0f\u4e2d\u95f4\u4ef6\uff0c\u8fd8\u662f\u73b0\u5728\u7684\u4e3b\u6d41\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u4f18\u5148\u652f\u6301\u7684\u4e5f\u90fd\u662f Sharding \u65b9\u6848\u3002\u4e0d\u8fc7 GitHub \u9009\u7684\u662f\u53e6\u4e00\u6761\u8def\uff0c\u6309\u7167\u4e1a\u52a1\u903b\u8f91\u8fdb\u884c\u5782\u76f4\u62c6\u5206\uff0c\u6bd4\u5982\u628a\u5b58\u53d6 gist \u76f8\u5173\u4fe1\u606f\u7684\u8868 gists, gist_comments\uff0cstarred_gists \u62c6\u5230\u5355\u72ec\u7684\u4e00\u4e2a\u6570\u636e\u5e93\u91cc\uff08\u867d\u7136\u6587\u7ae0\u6700\u540e\u63d0\u5230 GitHub \u4e5f\u4f7f\u7528\u4e86 Sharding \u7684\u65b9\u6848\uff0c\u4f46\u4ece\u5f53\u524d\u8fd9\u7bc7\u5206\u4eab\u7684\u5185\u5bb9\u770b\uff0c\u76ee\u524d\u7684\u62c6\u5206\u8fd8\u662f\u4ee5\u5782\u76f4\u62c6\u5206\u4e3a\u4e3b\uff09\u3002<\/p>\n<p>\u8fd9\u4e2a\u65b9\u6848\u6709\u8fd9\u4e48\u51e0\u4e2a\u597d\u5904\uff1a<\/p>\n<ol class=\"list-paddingleft-2\">\n<li>\n<section>\u6539\u52a8\u76f8\u5bf9\u8f83\u5c0f\uff0c\u65e0\u9700\u5f15\u5165\u65b0\u7684\u5206\u5e03\u5f0f\u4e2d\u95f4\u4ef6\uff0c\u751a\u81f3\u662f\u628a\u6570\u636e\u5b8c\u5168\u8fc1\u79fb\u5230\u65b0\u7684\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u3002<\/section>\n<\/li>\n<li>\n<section>\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u867d\u7136\u4e5f\u6709\u5bf9\u4e8e MySQL \u7684\u534f\u8bae\u517c\u5bb9\uff0c\u4f46\u4e5f\u65e0\u6cd5\u505a\u5230 100% \u7684\u517c\u5bb9\u6027\uff0c\u4f7f\u7528\u5206\u5e03\u5f0f\u4e2d\u95f4\u4ef6\u4e5f\u4f1a\u6709\u7c7b\u4f3c\u7684\u9650\u5236\u3002<\/section>\n<\/li>\n<li>\u4ecd\u7136\u53ef\u4ee5\u7ee7\u7eed\u4f7f\u7528\u5df2\u6709\u7684\u5de5\u5177\u6d41\u7a0b\uff0cGitHub \u5728\u8fd9\u65b9\u9762\u6295\u5165\u4e0d\u5c0f\uff0c\u6bd4\u5982\u8bf4\u505a\u5927\u8868 schema \u53d8\u66f4\u7684 gh-ost[3]<\/li>\n<\/ol>\n<p>\u5f53\u7136\u8fd9\u4e2a\u65b9\u6848\u7684\u7f3a\u70b9\u4e5f\u6bd4\u8f83\u660e\u663e\uff1a<\/p>\n<ol class=\"list-paddingleft-2\">\n<li>\n<section>\u65e0\u6cd5\u50cf Sharding \u65b9\u6848\u4e00\u6837\u4e00\u7ecf\u6539\u9020\uff0c\u4e4b\u540e\u5c31\u83b7\u5f97\u7406\u8bba\u4e0a\u6ca1\u6709\u4e0a\u9650\u7684\u6269\u5c55\u6027\u3002\u4ece\u7ed3\u679c\u53ef\u4ee5\u770b\u5230\uff0c\u7ecf\u8fc7 2 \u5e74\u7684\u5de5\u4f5c\uff0c\u628a\u4e3b\u5e93\u7684 load \u964d\u4f4e\u4e86\u4e00\u534a\uff0c\u5e76\u4e0d\u7b97\u592a\u591a\uff0c\u800c\u4e14\u968f\u7740 GitHub \u4e1a\u52a1\u7684\u6301\u7eed\u589e\u957f\uff0c\u4e3b\u5e93\u7684 load \u8fd8\u662f\u4f1a\u4e0a\u53bb\uff0c\u6240\u4ee5\u8fd8\u662f\u8981\u7ee7\u7eed\u505a\u5e94\u7528\u5e93\u7684\u62c6\u5206\u3002\u4e0d\u50cf Sharding \u65b9\u6848\u5b8c\u6210\u4e4b\u540e\uff0c\u5728\u6269\u5c55\u6027\u4e0a\u57fa\u672c\u53ef\u4ee5\u8bf4\u662f\u4e00\u52b3\u6c38\u9038\u3002<\/section>\n<\/li>\n<li>\u5bf9\u4e8e\u4e1a\u52a1\u8c03\u4f18\u8981\u6c42\u662f\u76f8\u5bf9\u8f83\u9ad8\u7684\uff0c\u56e0\u4e3a\u6570\u636e\u5e93\u672c\u8eab\u5df2\u7ecf\u7528\u5230\u4e86\u6781\u9650\uff0c\u5c31\u9700\u8981\u66f4\u591a\u5e94\u7528\u4fa7\u7684\u7cbe\u7ec6\u4f18\u5316\u3002\u800c Sharding \u65b9\u6848\u662f\u6c34\u5e73\u6269\u5c55\uff0c\u6240\u4ee5\u8bb8\u591a\u65f6\u5019\u53ef\u4ee5\u65e0\u8111\u52a0\u8282\u70b9\u3002<\/li>\n<\/ol>\n<p>GitHub \u6700\u7ec8\u9009\u62e9\u4e86\u4e00\u4e2a\u6e10\u8fdb\u5f0f\u7684\u65b9\u6848\uff0c\u4ecd\u7136\u662f\u57fa\u4e8e\u539f\u751f MySQL \u7684\u57fa\u7840\u4e0a\uff0c\u5728\u5e94\u7528\u4fa7\u8fdb\u884c\u6570\u636e\u5e93\u7684\u62c6\u5206\u3002<\/p>\n<section>\u4eae \u00a0\u70b9<\/section>\n<p>\u5438\u5f15\u7b14\u8005\u773c\u7403\u7684\u5012\u4e5f\u4e0d\u662f\u62c6\u5206\u9009\u62e9\u7684\u65b9\u6848\u4ee5\u53ca\u8fc7\u7a0b\uff0c\u800c\u662f\u5728\u6700\u540e\u7684\u7ed3\u679c\u4e2d\u8bfb\u5230\u4e86\u62c6\u5206\u524d\u540e\u7684\u6570\u636e\u6bd4\u5bf9\uff0c\u5c24\u5176\u662f\u62c6\u5206\u524d mysql1 \u5355\u96c6\u7fa4\u7684\u6570\u636e<\/p>\n<section>In 2019, mysql1 answered 950,000 queries\/s on average, 900,000 queries\/s on replicas, and 50,000 queries\/s on the primary.<\/section>\n<p>Microsoft \u4ee5 75 \u4ebf\u7f8e\u91d1\u6536\u8d2d GitHub \u662f\u53d1\u751f\u5728 2018 \u5e74\uff0c\u5f7c\u65f6\u7684 GitHub \u5df2\u7ecf\u662f\u5168\u4e16\u754c\u6d41\u91cf\u6700\u5927\u7684\u7f51\u7ad9\u4e4b\u4e00\uff0c\u7528\u4e8e\u652f\u6491\u8fd9\u4e2a\u7f51\u7ad9\u7684\u6838\u5fc3\u6570\u636e\u5e93\u67b6\u6784\u8fd8\u662f\u6734\u7d20\u7684\u4e00\u4e3b\u591a\u5907\u539f\u751f MySQL \u96c6\u7fa4\u3002\u4e0d\u4ec5 MySQL \u80fd\u591f\u505a\u5230\u8fd9\u6837\uff0cPostgreSQL \u540c\u6837\u53ef\u4ee5\uff0c\u636e\u7b14\u8005\u4e86\u89e3\uff0c\u4e16\u754c\u6700\u5927\u7684\u65c5\u6e38\u8bc4\u8bba\u7f51\u7ad9 TripAdvisor \u76f4\u5230\u4e0a\u5e02\u4e5f\u90fd\u662f\u7528\u4e00\u4e3b\u591a\u5907\u7684 PostgreSQL \u96c6\u7fa4\u652f\u6491\u7684\u3002\u800c\u8fd9\u4e24\u5e74\u534f\u540c\u529e\u516c\u9886\u57df\u6700\u706b\u7684\u4ea7\u54c1 Notion \u8fd9\u4e24\u5929\u9664\u4e86\u516c\u5e03\u4ed6\u4eec100\u4ebf\u7f8e\u91d1\u4f30\u503c\u7684\u878d\u8d44\u5916\uff0c\u4e5f\u900f\u9732\u4e86\u4ed6\u4eec\u5728\u4eca\u5e74\u521d\u624d\u8fdb\u884c\u4e86 PostgreSQL \u7684 Sharding\u3002[4]<\/p>\n<section>\u603b \u00a0\u7ed3<\/section>\n<p>\u901a\u5e38\u5927\u5bb6\u9009\u62e9\u5206\u5e93\u5206\u8868\uff0c\u91c7\u7528\u5206\u5e03\u5f0f\u4e2d\u95f4\u4ef6\u8fd8\u662f\u76f4\u63a5\u9009\u7528\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u90fd\u662f\u4e3a\u4e86\u89e3\u51b3\u6269\u5c55\u6027\u95ee\u9898 (Scalability)\uff0c\u4f46\u662f GitHub \u7684\u4f8b\u5b50\u4e5f\u8868\u660e\u4e86\u6734\u7d20\u7684\u4e00\u4e3b\u591a\u5907 MySQL \u6570\u636e\u5e93\u96c6\u7fa4\u4e00\u6837\u53ef\u4ee5\u652f\u6491\u8d77\u9876\u6d41\u7f51\u7ad9\u3002\u5f53\u7136\u8fd9\u4e5f\u4e0d\u662f\u76f4\u63a5\u5426\u5b9a\u5206\u5e03\u5f0f\u4e2d\u95f4\u4ef6 \/ \u6570\u636e\u5e93\u7684\u4ef7\u503c\uff0c\u6bd5\u7adf\u8981\u50cf GitHub \u90a3\u6837\u628a MySQL \u53d1\u6325\u5230\u8fd9\u4e2a\u6c34\u51c6\u4e5f\u8981\u8bb8\u591a\u7684 DBA \u8c03\u4f18\uff0c\u5e94\u7528\u67b6\u6784\u4ee5\u53ca\u5468\u8fb9\u5de5\u5177\u7684\u914d\u5408\uff0c\u800c\u5982\u679c\u4e2d\u95f4\u4ef6\u5c24\u5176\u662f\u6570\u636e\u5e93\u672c\u8eab\u5c31\u5177\u5907\u539f\u751f\u6269\u5c55\u80fd\u529b\u7684\u8bdd\uff0c\u4e5f\u80fd\u7701\u53bb\u8bb8\u591a\u7684\u5de5\u4f5c\u91cf\u3002\u6bd5\u7adf\u4e00\u6b3e\u5f00\u7bb1\u5373\u7528\uff0c\u80fd\u591f\u539f\u751f\u652f\u6301\u6c34\u5e73\u6269\u5c55\u7684\u6570\u636e\u5e93\u4ea7\u54c1\uff0c\u4ed6\u6240\u80fd\u8282\u7701\u7684\u5de5\u7a0b\u5e08\u6210\u672c\u4e5f\u662f\u4e0d\u5bb9\u5ffd\u89c6\u7684\u3002<\/p>\n<p>\u73b0\u5728\u539f\u751f (Vanilla) \u7684 MySQL \u548c PostgreSQL \u672c\u8eab\u7684\u6027\u80fd\u5c31\u5f88\u5f3a\u5927\uff0c\u800c\u4e14\u6bcf\u4e2a\u65b0\u7248\u672c\u8fd8\u4f1a\u6709\u8fdb\u4e00\u6b65\u7684\u6539\u8fdb\uff0c\u5982\u679c\u4ec5\u4ec5\u662f\u62c5\u5fc3\u5c06\u6765\u9047\u4e0a\u6027\u80fd\u74f6\u9888\uff0c\u8fd8\u662f\u8981\u518d\u8ba4\u771f\u5206\u6790\u4e00\u4e0b\u4e1a\u52a1\u60c5\u51b5\u4ee5\u53ca\u5e94\u7528\u67b6\u6784\uff0c\u662f\u4e0d\u662f\u4e1a\u52a1\u4f53\u91cf\u771f\u7684\u5927\u5230\u8981\u7528\u5206\u5e03\u5f0f\u65b9\u6848\u89e3\u51b3\u3002\u5728\u505a\u6280\u672f\u9009\u578b\u65f6\uff0c\u5355\u7eaf\u7684\u6027\u80fd\u6307\u6807\u4e5f\u53ea\u662f\u4e00\u4e2a\u8861\u91cf\u7eac\u5ea6\uff0c\u8fd8\u8981\u8003\u8651\u6613\u7528\u6027\uff0c\u53ef\u8fd0\u7ef4\u6027\u7b49\u5176\u4ed6\u6280\u672f\u6307\u6807\u3002\u9664\u4e86\u6280\u672f\u6307\u6807\u5916\uff0c\u6570\u636e\u5e93\u9009\u578b\u4e5f\u4f1a\u5f71\u54cd\u6280\u672f\u56e2\u961f\u7ec4\u7ec7\u67b6\u6784\u7684\u6f14\u8fdb\u65b9\u5411\uff0c\u91c7\u7528\u5355\u4f53\u6570\u636e\u5e93\uff0c\u5355\u4f53\u6570\u636e\u5e93 + \u5206\u5e03\u5f0f\u4e2d\u95f4\u4ef6\uff0c\u5206\u5e03\u5f0f\u6570\u636e\u5e93\uff0cOLTP\/OLAP \u6df7\u5408\u6570\u636e\u5e93 (HTAP) \u4e5f\u662f\u4f1a\u5f15\u5bfc Infra \u56e2\u961f\u8d70\u5411\u4e0d\u540c\u7684\u7ec4\u7ec7\u67b6\u6784\u3002<\/p>\n<p>\u603b\u4e4b\uff0c\u6211\u4eec\u5e94\u8be5\u91c7\u7528\u65e0\u804a\u7684\u6280\u672f\u53bb\u6784\u5efa\u521b\u65b0\u7684\u4ea7\u54c1\uff0c\u800c\u4e0d\u662f\u5012\u8fc7\u6765\u3002<\/p>\n<p>[1] Partitioning GitHub\u2019s relational databases to handle scale: https:\/\/github.blog\/2021-09-27-partitioning-githubs-relational-databases-scale\/<\/p>\n<p>[2] Hacker News \u76f8\u5173\u8ba8\u8bba: https:\/\/news.ycombinator.com\/item?id=28678647<\/p>\n<p>[3] gh-ost: https:\/\/github.com\/github\/gh-ost<\/p>\n<p>[4] Herding elephants: Lessons learned from sharding Postgres at Notion &#8211; https:\/\/www.notion.so\/blog\/sharding-postgres-at-notion<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_1131\" class=\"pvc_stats total_only  \" data-element-id=\"1131\" 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>\u4f5c\u8005 |\u00a0\u9648\u5929\u821f \u524d\u4e24\u5929 GitHub \u7684\u535a\u5ba2\u4e0a\u53d1\u5e03\u4e86\u4e00\u7bc7\u9898\u4e3a\u300cPartitioning GitHub\u2019s r [&hellip;]<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_1131\" class=\"pvc_stats total_only  \" data-element-id=\"1131\" 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":1,"featured_media":1132,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1131","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai"],"_links":{"self":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/1131","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/comments?post=1131"}],"version-history":[{"count":1,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/1131\/revisions"}],"predecessor-version":[{"id":1133,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/1131\/revisions\/1133"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/media\/1132"}],"wp:attachment":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/media?parent=1131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/categories?post=1131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/tags?post=1131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}