{"id":284383,"date":"2023-10-18T09:00:01","date_gmt":"2023-10-18T01:00:01","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=284383"},"modified":"2023-10-09T14:57:44","modified_gmt":"2023-10-09T06:57:44","slug":"pika-v3-5-1","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/pika-v3-5-1.html","title":{"rendered":"Pika v3.5.1\u53d1\u5e03\uff01"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nPika \u793e\u533a\u5f88\u9ad8\u5174\u5ba3\u5e03\uff0c\u6211\u4eec\u4eca\u5929\u53d1\u5e03\u5df2\u7ecf\u8fc7\u6211\u4eec\u751f\u4ea7\u73af\u5883\u9a8c\u8bc1 v3.5.1 \u7248\u672c\uff0chttps:\/\/github.com\/OpenAtomFoundation\/pika\/releases\/tag\/v3.5.1\u00a0\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u8be5\u7248\u672c\u4e0d\u4ec5\u505a\u4e86\u5f88\u591a\u4f18\u5316\u5de5\u4f5c\uff0c\u8fd8\u5f15\u5165\u4e86\u591a\u9879\u65b0\u529f\u80fd\u3002\u8fd9\u4e9b\u65b0\u529f\u80fd\u5305\u62ec \u52a8\u6001\u5173\u95ed WAL\u3001ReplicationID \u68c0\u6d4b\u662f\u5426\u589e\u91cf\u590d\u5236\u3001\u5728 K8s \u73af\u5883\u4e0a Pika \u670d\u52a1\u7684\u81ea\u52a8\u6ce8\u518c\u4ece\u800c\u5b9e\u73b0\u96c6\u7fa4\u7684\u81ea\u7ec4\u7ec7\u3001\u4ee5\u53ca exporter \u68c0\u6d4b\u96c6\u7fa4\u6307\u6807\u7b49\u7b49\uff0c\u65e0\u7591\u5c06\u4f1a\u8ba9\u7528\u6237\u4eab\u53d7\u5230\u66f4\u4e3a\u7a33\u5b9a\u548c\u9ad8\u6548\u7684 NoSQL \u4f7f\u7528\u4f53\u9a8c\u3002<\/p>\n

\"\"<\/p>\n

1 \u65b0\u7279\u6027<\/strong><\/div>\n
    \n
  • 1 Slow log \u589e\u52a0\u961f\u5217\u7b49\u5f85\u65f6\u95f4\u7edf\u8ba1\uff0c\u5728\u961f\u5217\u963b\u585e\u7684\u65f6\u5019\u65b9\u4fbf\u6211\u4eec\u8fdb\u884c\u95ee\u9898\u5b9a\u4f4d\u3002PR 1997\uff0c \u4f5c\u8005\u00a0wangshao1\u3002<\/li>\n
  • 2 \u4e3b\u4ece\u590d\u5236\u4f7f\u7528 ReplicationID \u5224\u65ad\u662f\u5426\u8fdb\u884c\u589e\u91cf\u540c\u6b65\uff0c\u89e3\u51b3\u539f\u4e3b\u4ece\u540c\u6b65\u65b9\u5f0f\u5207\u4e3b\u540e\u6574\u4e2a\u6570\u636e\u96c6\u4f1a\u8fdb\u884c\u5168\u91cf\u590d\u5236\u7684\u95ee\u9898\uff0c\u53ef\u4ee5\u63d0\u5347 Pika \u6027\u80fd\u3002PR 1951\uff0c \u4f5c\u8005\u00a0Mixficsol\u3002<\/li>\n
  • 3 WAL \u4ee5 'disablewal' \u547d\u4ee4\u65b9\u5f0f\u652f\u6301\u52a8\u6001\u5173\u95ed\uff0c\u5728\u5199\u6027\u80fd\u9047\u5230\u74f6\u9888\u7684\u65f6\u5019\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u5173\u95ed WAL \u00a0\u7f13\u89e3\u5199\u6027\u80fd\u4e0b\u964d\u7684\u95ee\u9898\uff0c\u5173\u95ed WAL \u6709\u673a\u5668\u5b95\u673a\u540e\u4e22\u5931\u6570\u636e\u7684\u98ce\u9669\uff0c\u7528\u6237\u9700\u8981\u6839\u636e\u81ea\u5df1\u7684\u4f7f\u7528\u4e60\u60ef\u6743\u8861\u3002PR 2015\uff0c\u4f5c\u8005\u00a0Mixficsol\u3002<\/li>\n
  • 4 flush \u7ebf\u7a0b\u6570\u548c compaction \u7ebf\u7a0b\u6570\u5408\u4e8c\u4e3a\u4e00\uff0c\u5728 Compaction \u6027\u80fd\u74f6\u9888\u65f6\uff0c\u53ef\u4ee5\u52a8\u6001\u8c03\u6574\u7ebf\u7a0b\u6570\uff0c\u7f13\u89e3 Comapction \u635f\u8017 Pika \u6027\u80fd\u7684\u95ee\u9898\u3002PR 2014\uff0c \u4f5c\u8005\u00a0Tianpingan\u3002<\/li>\n
  • 5 \u5347\u7ea7\u4e86 RocksDB \u7248\u672c\u5230 v8.3.3\u3002PR 2000\uff0c \u4f5c\u8005\u00a0dingxiaoshuai123\u3002<\/li>\n
  • 6 \u65b0\u589e\u5468\u671f\u6027\u6253\u5370\u5de5\u4f5c\u961f\u5217\u7684\u957f\u5ea6\u529f\u80fd\uff0c\u5728\u961f\u5217\u963b\u585e\u7684\u65f6\u5019\u53ef\u4ee5\u5feb\u901f\u5b9a\u4f4d\u95ee\u9898\u3002PR 1978\uff0c \u4f5c\u8005\u00a0Tianpingan\u3002<\/li>\n
  • 7 \u65b0\u589e\u5229\u7528\u4e00\u4e2a\u00a0pika_exporter<\/code>\u00a0\u76d1\u6d4b\u6574\u4e2a\u96c6\u7fa4\u7684\u6307\u6807\uff0c\u5b9e\u73b0\u4e00\u4e2a Pika Exporter \u5b9e\u4f8b\u76d1\u63a7\u6574\u4e2a\u96c6\u7fa4\uff0c\u89e3\u51b3\u4e86 3.5.0 \u7248\u672c\u4e00\u4e2a\u00a0Pika Exporter \u00a0\u76d1\u6d4b\u4e00\u4e2a Pika \u5b9e\u4f8b\u6d88\u8017\u8d44\u6e90\u7684\u95ee\u9898\u3002PR 1953\uff0c \u4f5c\u8005\u00a0chenbt-hz\u3002<\/li>\n
  • 8 \u5b9e\u73b0\u5728\u00a0 K8s \u00a0\u73af\u5883\u4e0a\u00a0 Pika \u00a0\u670d\u52a1\u7684\u81ea\u52a8\u6ce8\u518c\uff0c\u5728\u542f\u52a8\u65f6\u81ea\u52a8\u6ce8\u518c\uff0c\u4ece\u800c\u5b9e\u73b0\u96c6\u7fa4\u7684\u81ea\u7ec4\u7ec7 \uff0c\u5b9e\u73b0\u4e86\u901a\u8fc7\u547d\u4ee4\u62c9\u8d77\u6574\u4e2a Pika Cluster \u96c6\u7fa4\u3002PR 1931\uff0c \u4f5c\u8005\u00a0machinly\u3002<\/li>\n<\/ul>\n
    2 bug \u4fee\u590d<\/strong><\/div>\n
      \n
    • 1 \u8c03\u6574\u4e86 Rate_limit \u53c2\u6570\uff0c\u4fee\u590d\u4e86\u538b\u6d4b\u65f6\u51fa\u73b0 RPS \u4e3a 0 \u7684\u60c5\u51b5 \u3002PR 2009\uff0c \u4f5c\u8005\u00a0Mixficsol\u3002<\/li>\n
    • 2 \u4fee\u590d\u4e86 INFODATA \u547d\u4ee4\u4e2d\u5bf9\u4e8e\u904d\u5386\u6570\u636e\u6587\u4ef6\u65f6\u51fa\u73b0\u7a7a\u8def\u5f84\u7684\u903b\u8f91\u5224\u65ad\u3002PR 1996\uff0c \u4f5c\u8005\u00a0Mixficsol\u3002<\/li>\n
    • 3 \u4fee\u590d\u4e86 Codis \u5728\u7ebf\u4e0a\u51fa\u73b0\u5927\u6bdb\u523a\u7684\u95ee\u9898\u3002PR 2016\uff0c \u4f5c\u8005\u00a0chejinge\u3002<\/li>\n
    • 4 \u4fee\u590d\u4e86 macOS \u73af\u5883\u4e0b\u7f16\u8bd1\u4f7f\u7528 tools \u5bfc\u81f4\u7f16\u8bd1\u4e0d\u8fc7\u7684\u95ee\u9898 \u3002PR 2011\uff0c \u4f5c\u8005\u00a0A2ureStone\u3002<\/li>\n
    • 5 \u51cf\u5c11\u4e86 exporter \u975e\u5fc5\u8981\u65e5\u5fd7\u7684\u6253\u5370\uff0c\u964d\u4f4e \u4e86\u8d44\u6e90\u5229\u7528\u7387\u3002PR 1945\uff0c \u4f5c\u8005\u00a0Mixficsol\u3002<\/li>\n<\/ul>\n
      3 \u4f7f\u7528\u5efa\u8bae<\/strong><\/div>\n

      \u672c\u6b21\u65b0\u589e\u4e86\u51e0\u4e2a\u914d\u7f6e\u53c2\u6570\uff0c\u5927\u5bb6\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\uff0c\u9700\u8981\u6839\u636e\u4f7f\u7528\u60c5\u51b5\u6309\u9700\u8c03\u6574\uff1a<\/p>\n

        \n
      • 1 max-rsync-parallel-num\uff1a\u4e3b\u4ece\u5168\u91cf\u590d\u5236\u7ebf\u7a0b\u6570\uff0c\u9700\u8981\u6839\u636e\u81ea\u5df1\u673a\u5668 CPU \u6838\u6570\u548c\u90e8\u7f72\u5b9e\u4f8b\u4e2a\u6570\u8fdb\u884c\u8c03\u6574\uff0c\u5efa\u8bae\u6700\u5c0f\u8bbe\u7f6e\u4e3a 2\u3002<\/li>\n
      • 2 rate-limiter-bandwidth:\u00a0\u9650\u5236 RocksDB \u6570\u636e\u5e93\u8bfb\u5199\u901f\u5ea6\uff0c\u9650\u5236\u6570\u636e\u5e93\u5728\u4e00\u5b9a\u65f6\u95f4\u5185\u53ef\u4ee5\u8bfb\u5199\u7684\u6570\u636e\u91cf\uff0c\u9ed8\u8ba4 2000MiB\/s\uff0c\u9700\u8981\u6839\u636e\u81ea\u5df1\u7684\u673a\u5668\u6027\u80fd\u548c\u90e8\u7f72\u5b9e\u4f8b\u505a\u8c03\u6574\u3002<\/li>\n
      • max-background-jobs: compaction \u548c flushdb \u7ebf\u7a0b\u6570\uff0c\u8981\u6839\u636e\u81ea\u5df1\u673a\u5668 CPU \u6838\u6570\u548c\u90e8\u7f72\u5b9e\u4f8b\u4e2a\u6570\u8fdb\u884c\u8c03\u6574\uff0c\u5efa\u8bae\u6700\u5c0f\u8bbe\u7f6e\u4e3a 4\u3002<\/li>\n
      • 3 throttle-bytes-per-second:\u00a0\u4e3b\u4ece\u590d\u5236\u4f20\u8f93\u9650\u901f\u53c2\u6570\uff0c\u9ed8\u8ba4\u4e3a 200MiB\/s\uff0c\u8be5\u53c2\u6570\u53ef\u4ee5\u6839\u636e\u673a\u5668\u7f51\u5361\u7684\u914d\u7f6e\u53ca\u90e8\u7f72 pika \u5b9e\u4f8b\u7684\u4e2a\u6570\u8fdb\u884c\u8c03\u6574\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"

        \u8be5\u7248\u672c\u4e0d\u4ec5\u505a\u4e86\u5f88\u591a\u4f18\u5316\u5de5\u4f5c\uff0c\u8fd8\u5f15\u5165\u4e86\u591a\u9879\u65b0\u529f\u80fd\u3002\u8fd9\u4e9b\u65b0\u529f\u80fd\u5305\u62ec \u52a8\u6001\u5173\u95ed WAL\u3001ReplicationID […]<\/p>\n","protected":false},"author":323,"featured_media":284387,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-284383","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/284383","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/323"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=284383"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/284383\/revisions"}],"predecessor-version":[{"id":284867,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/284383\/revisions\/284867"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/284387"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=284383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=284383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=284383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}