{"id":66820,"date":"2022-04-28T21:26:19","date_gmt":"2022-04-28T13:26:19","guid":{"rendered":"https:\/\/www.growthhk.cn\/?p=66820"},"modified":"2022-04-28T21:26:24","modified_gmt":"2022-04-28T13:26:24","slug":"%e5%bc%a0%e6%99%93%e5%85%89%ef%bc%9a%e9%98%bf%e9%87%8c%e5%b7%b4%e5%b7%b4%e5%8f%8c%e5%8d%81%e4%b8%80%e5%ae%9e%e6%97%b6%e7%9b%91%e6%8e%a7%e7%b3%bb%e7%bb%9f%e6%8a%80%e6%9c%af%ef%bd%9cdatafuntalk","status":"publish","type":"post","link":"https:\/\/www.growthhk.cn\/cgo\/product\/66820.html","title":{"rendered":"\u5f20\u6653\u5149\uff1a\u963f\u91cc\u5df4\u5df4\u53cc\u5341\u4e00\u5b9e\u65f6\u76d1\u63a7\u7cfb\u7edf\u6280\u672f\uff5cDataFunTalk"},"content":{"rendered":"\n
\u5bfc\u8bfb\uff1a<\/strong>\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a<\/p>\n\n\n\n\u65f6\u5e8f\u4e1a\u52a1\u5168\u666f<\/li>TSDB\u4ecb\u7ecd<\/li>\u6838\u5fc3\u6280\u672f<\/li>\u603b\u7ed3\u5c55\u671b<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n01<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u4e1a\u52a1\u5168\u666f<\/strong><\/p>\n\n\n\n\u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u822c\u90fd\u7531\u4e13\u4e1a\u7684\u65f6\u5e8f\u6570\u636e\u5e93\u6765\u5b58\u50a8\u5206\u6790\uff0c\u4e0b\u9762\u4e3b\u8981\u4ecb\u7ecdTSDB\u8986\u76d6\u7684\u4e1a\u52a1\u573a\u666f\u4ee5\u53ca\u9762\u4e34\u7684\u6311\u6218\u3002<\/p>\n\n\n\n1. \u65f6\u5e8f\u6570\u636e\u5e93\u8986\u76d6\u573a\u666f<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u57fa\u7840\u8bbe\u65bd\u5c42\uff1a\u673a\u67dc\u3001\u7269\u7406\u673a\u3001\u64cd\u4f5c\u7cfb\u7edf\u76d1\u63a7\u65e5\u5fd7<\/li>\u57fa\u7840\u8fd0\u7ef4\uff1asunfire(\u96c6\u56e2\u7edf\u4e00\u76d1\u63a7\u3001\u91c7\u96c6\u3001\u62a5\u8b66\u7cfb\u7edf)\u3001\u963f\u91cc\u4e91\u76d1\u63a7\u3001GOC(\u963f\u91cc\u5168\u7403\u5e94\u6025\u8c03\u5ea6\u6307\u6325\u7cfb\u7edf)<\/li>\u8d44\u6e90\u8c03\u5ea6\uff1a\u96c6\u56e2\u5185\u90e8\u8c03\u5ea6\u7cfb\u7edf\u3001Kubernetes<\/li>\u96c6\u7fa4\u7ba1\u7406\uff1aDBPaas(\u963f\u91cc\u6240\u6709\u6570\u636e\u5e93\u5b9e\u4f8b\u7684\u76d1\u63a7\u548c\u8c03\u5ea6)<\/li>\u5e94\u7528\u5c42\uff1aAPM\u573a\u666f\u4e0b\u7684\u5404\u79cd\u5e94\u7528<\/li><\/ul>\n\n\n\n2. \u65f6\u5e8f\u6570\u636e\u5e93\u9762\u4e34\u7684\u6311\u6218<\/strong><\/p>\n\n\n\n\u7531\u4e8e\u9762\u4e34\u5404\u4e2a\u5c42\u7ea7\u7684\u4e0d\u7528\u573a\u666f\uff0c\u6240\u4ee5\u65f6\u5e8f\u6570\u636e\u5e93\u4e5f\u9762\u4e34\u4e0d\u540c\u6311\u6218\uff1a<\/p>\n\n\n\n\u5e94\u7528\u5c42\u6311\u6218\uff1a\u7531\u4e8e\u76f4\u9762\u5ba2\u6237\u6240\u4ee5\u9700\u8981\u63d0\u4f9b\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>olap\u6570\u636e\u5e93\u672c\u8eab\u7279\u6027\uff1a\u6d77\u91cf\u6570\u636e\u7684\u805a\u5408<\/li>\u65f6\u5e8f\u6570\u636e\u5e93\u7279\u6709\u7684\uff1a\u53d1\u6563\u65f6\u95f4\u7ebf<\/li>\u53cc\u5341\u4e00<\/a><\/span>\u5927\u4fc3\uff1a\u7a81\u7136\u6d41\u91cf\u5341\u500d\u4ee5\u4e0a\u589e\u957f<\/li><\/ul>\n\n\n\n—<\/p>\n\n\n\n02<\/strong><\/p>\n\n\n\nTSDB\u4ecb\u7ecd<\/strong><\/p>\n\n\n\n1.TSDB\u7684\u53d1\u5c55\u53ca\u6027\u80fd<\/strong><\/p>\n\n\n\nTSDB\u4e8e2016\u5e74\u5f00\u59cb\u670d\u5f79,\u5230\u76ee\u524d\u4e3a\u6b62\u53c2\u4e0e\u4e86\u4e09\u6b21\u53cc\u5341\u4e00\u5927\u4fc3\uff0c\u76f8\u6bd4\u4e8e2017\u5e74\u8bfb\u5199\u541e\u5410\u7ffb\u500d\u589e\u957f,\u5199\u5165TPS4000w\uff0c\u67e5\u8be22wQPS\u8986\u76d6\u96c6\u56e2130+\u4e1a\u52a1\u7ebf\u53ca\u5b58\u50a8\u767e\u4ebf\u7684\u65f6\u95f4\u7ebf\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n2.TSDB\u67b6\u6784\u4ecb\u7ecd<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\uff0c\u4ece\u5de6\u5230\u53f3\u4e3a\u6570\u636e\u7684\u91c7\u96c6\u5230\u5c55\u73b0\u7684\u8fc7\u7a0b\uff1a<\/p>\n\n\n\n\u8fb9\u7f18\u8ba1\u7b97<\/strong>\uff1a\u8f7b\u91cf\u53ef\u9760\u7684\u8ba1\u7b97\u65b9\u6848\uff0c\u4e3b\u8981\u8d1f\u8d23\u6570\u636e\u7684\u91c7\u96c6\uff0c\u4e0e\u4e91\u7aef\u7684TSDB\u6253\u901a\uff0c\u5728OLAP\u573a\u666f\u6216\u8005\u8d44\u6e90\u4e0d\u7a33\u5b9a\u7684\u573a\u666f\u4e0b\u5b9e\u73b0\u6570\u636e\u7684\u7a33\u5b9a\u91c7\u96c6\u3001\u6e05\u6d17\u7b49\u3002<\/p>\n\n\n\n\u65f6\u5e8f\u5f15\u64ce<\/strong>\uff1a<\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\uff1a\u65f6\u95f4\u7ebf\u7684\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u50a8\u5b58\u5f15\u64ce\uff1a\u65f6\u5e8f\u6570\u636e\u3001\u6d77\u91cf\u6570\u636e\u5b58\u50a8\u7684\u89e3\u51b3\u65b9\u6848\uff1b<\/p>\n\n\n\n\u6d41\u5f0f\u6570\u636e\u805a\u5408\uff1a\u5728\u65f6\u5e8f\u6570\u636e\u5e93\u7684\u6d77\u91cf\u6570\u636e\u91cc\u505a\u9ad8\u6548\u7684\u7684\u805a\u5408\u5206\u6790\uff1b<\/p>\n\n\n\n\u7a33\u5b9a\u6027\u7ba1\u7406\uff1a\u5728\u4e91\u4e0a\u7a33\u5b9a\u5b89\u5168\u7684\u8fd0\u884c\uff1b<\/p>\n\n\n\n\u8ba1\u7b97\u5f15\u64ce\u3001sql\u5f15\u64ce\u3001\u667a\u80fd\u5f15\u64ce<\/strong>\uff1a\u4e3b\u8981\u4e0e\u65f6\u5e8f\u5f15\u64ce\u4ea4\u4e92\u5b9e\u73b0\u6570\u636e\u8ba1\u7b97\u3001sql\u89e3\u6790\u3001\u6a21\u578b\u7b97\u6cd5\u7b49\u529f\u80fd\uff0c\u53ef\u4ee5\u6269\u5c55\u65f6\u5e8f\u5f15\u64ce\u7684\u80fd\u529b\uff0c\u964d\u4f4e\u4f7f\u7528\u7684\u95e8\u69db\uff1b<\/p>\n\n\n\n\u534f\u8bae\u652f\u6301\uff1a<\/strong>\u4e3b\u8981\u9762\u5411\u7528\u6237\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e00\u4e9b\u53ef\u89c6\u5316\u7684\u67e5\u8be2\u548c\u5206\u6790\u652f\u6301\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u6838\u5fc3\u6280\u672f<\/strong><\/p>\n\n\n\n1.\u6d77\u91cf\u65f6\u5e8f\u6570\u636e\u5b58\u50a8<\/strong><\/p>\n\n\n\n\uff081\uff09\u6570\u636e\u538b\u7f29<\/strong><\/p>\n\n\n\n\u8bf4\u8d77\u5b58\u50a8\u5c31\u79bb\u4e0d\u5f00\u538b\u7f29,\u6570\u636e\u7684\u538b\u7f29\u65b9\u6cd5\u548c\u538b\u7f29\u7b97\u6cd5\u7684\u9009\u62e9\u5f88\u5927\u7a0b\u5ea6\u4e0a\u652f\u6301\u4e86\u6d77\u91cf\u6570\u636e\u7684\u50a8\u5b58\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\u4ee3\u8868\u65f6\u95f4\u7a97\u53e3\u4e3a\u4e00\u5c0f\u65f6\u7684\u6570\u636e\uff0c0-3600\u4ee3\u8868\u8fc7\u53bb\u4e00\u4e2a\u5c0f\u65f6\u5185\u7684\u6570\u636e\uff0c\u91c7\u7528key-value\u5b58\u50a8\u683c\u5f0f,\u4ee5\u79d2\u503c\u4f5c\u4e3akey\uff0c\u6bcf\u79d2\u7684\u6570\u636e\u4f5c\u4e3avalue\u5b58\u50a8\u3002<\/p>\n\n\n\n\u8fd9\u91cc\u53c2\u8003facebook grada\u601d\u60f3\u5f15\u5165\u4e86\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u901a\u8fc7\u5217\u5408\u5e76\u7684\u65b9\u5f0f\u628a\u6240\u6709\u7684\u65f6\u95f4\u6233\u548c\u5bf9\u5e94\u7684value\u805a\u5408\u957f\u4e24\u4e2a\u7684\u5927\u6570\u636e\u5757\uff0c\u7136\u540e\u5bf9\u8fd9\u4e2a\u4e24\u4e2a\u5927\u5757\u8fdb\u884c\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u7136\u540e\u518d\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\u7b97\u6cd5\u8fdb\u884c\u538b\u7f29\u3002<\/p>\n\n\n\n\u53e6\u5916\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u91c7\u7528\u4e0d\u540c\u7684\u6570\u636e\u538b\u7f29\u683c\u5f0f\uff0c\u5982\uff1a<\/p>\n\n\n\n\u65f6\u95f4\u6233\uff1adelta- delta<\/li>\u6d6e\u70b9\u578b\uff1aXOR\u7f16\u7801<\/li>\u6574\u578b\uff1avariable length encoding<\/li>\u5b57\u7b26\u4e32\uff1aLZ4\uff0c\u5b9e\u73b0\u4e86\u5b58\u50a8\u5c42\u4e71\u5e8f\u6570\u636e\u538b\u7f29\uff0c\u4fdd\u8bc1\u538b\u7f29\u6570\u636e\u7684\u51c6\u786e\u6027,\u6574\u7406\u7684\u538b\u7f29\u7387\u572815:1\u3002<\/li><\/ul>\n\n\n\n\uff082\uff09\u6570\u636e\u538b\u7f29\u6548\u679c<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u4e3a\u4ec0\u4e48\u8981\u91c7\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u4e2a\u56fe\u3002<\/p>\n\n\n\n\u9996\u5148\u65f6\u5e8f\u538b\u7f29\u9488\u5bf9\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u538b\u7f29\u683c\u5f0f\uff0c\u6240\u4ee5\u6574\u4f53\u7684\u6548\u679c\u4f18\u4e8e\u5757\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u5728\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\u5bf9\u6570\u636e\u538b\u7f29\u540e\u5728\u91c7\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5230\u5757\u538b\u7f29\u7684\u538b\u7f29\u6548\u7387\uff0c\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\u76f8\u6bd4\u5355\u72ec\u7684\u5757\u538b\u7f29\u80fd\u670940%\u7684\u538b\u7f29\u7387\u63d0\u5347\uff0c\u8fd9\u4e3a\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u63d0\u4f9b\u4e86\u6709\u529b\u7684\u5e2e\u52a9\u3002<\/p>\n\n\n\n2.\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u67e5\u8be2<\/strong><\/p>\n\n\n\n\u6dd8\u5b9d\u9b54\u5154\u662f\u963f\u91cc\u4e00\u6b3e\u5e94\u7528\u65e0\u7ebf\u7aef\u6570\u636e\u5206\u6790\u548c\u76d1\u63a7\u7684\u4ea7\u54c1\uff0c\u652f\u6301\u96c6\u56e2\u5185\u90e8500+\u7684\u5e94\u7528\uff0c\u5728\u53cc\u5341\u4e00\u5927\u4fc3\u662f\u67e5\u8be2\u5cf0\u503c\u53ef\u8fbe4000QPS\uff0c\u76f8\u8f83\u4e8e\u5e73\u5e38\u67e5\u8be2\u91cf\u670910\u500d\u7684\u63d0\u5347\uff0c,99%\u8bfb\u5199rt\u90fd\u8981\u6c42\u572820ms\u4ee5\u5185\uff0c\u90a3\u4e48TSDB\u662f\u5982\u4f55\u5b9e\u73b0\u7528\u6237\u7aef\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2\u5462?<\/p>\n\n\n\n\uff081\uff09\u5206\u5e03\u5f0f\u7f13\u5b58\u5b58\u50a8\u9002\u914d<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
01<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u4e1a\u52a1\u5168\u666f<\/strong><\/p>\n\n\n\n\u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u822c\u90fd\u7531\u4e13\u4e1a\u7684\u65f6\u5e8f\u6570\u636e\u5e93\u6765\u5b58\u50a8\u5206\u6790\uff0c\u4e0b\u9762\u4e3b\u8981\u4ecb\u7ecdTSDB\u8986\u76d6\u7684\u4e1a\u52a1\u573a\u666f\u4ee5\u53ca\u9762\u4e34\u7684\u6311\u6218\u3002<\/p>\n\n\n\n1. \u65f6\u5e8f\u6570\u636e\u5e93\u8986\u76d6\u573a\u666f<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u57fa\u7840\u8bbe\u65bd\u5c42\uff1a\u673a\u67dc\u3001\u7269\u7406\u673a\u3001\u64cd\u4f5c\u7cfb\u7edf\u76d1\u63a7\u65e5\u5fd7<\/li>\u57fa\u7840\u8fd0\u7ef4\uff1asunfire(\u96c6\u56e2\u7edf\u4e00\u76d1\u63a7\u3001\u91c7\u96c6\u3001\u62a5\u8b66\u7cfb\u7edf)\u3001\u963f\u91cc\u4e91\u76d1\u63a7\u3001GOC(\u963f\u91cc\u5168\u7403\u5e94\u6025\u8c03\u5ea6\u6307\u6325\u7cfb\u7edf)<\/li>\u8d44\u6e90\u8c03\u5ea6\uff1a\u96c6\u56e2\u5185\u90e8\u8c03\u5ea6\u7cfb\u7edf\u3001Kubernetes<\/li>\u96c6\u7fa4\u7ba1\u7406\uff1aDBPaas(\u963f\u91cc\u6240\u6709\u6570\u636e\u5e93\u5b9e\u4f8b\u7684\u76d1\u63a7\u548c\u8c03\u5ea6)<\/li>\u5e94\u7528\u5c42\uff1aAPM\u573a\u666f\u4e0b\u7684\u5404\u79cd\u5e94\u7528<\/li><\/ul>\n\n\n\n2. \u65f6\u5e8f\u6570\u636e\u5e93\u9762\u4e34\u7684\u6311\u6218<\/strong><\/p>\n\n\n\n\u7531\u4e8e\u9762\u4e34\u5404\u4e2a\u5c42\u7ea7\u7684\u4e0d\u7528\u573a\u666f\uff0c\u6240\u4ee5\u65f6\u5e8f\u6570\u636e\u5e93\u4e5f\u9762\u4e34\u4e0d\u540c\u6311\u6218\uff1a<\/p>\n\n\n\n\u5e94\u7528\u5c42\u6311\u6218\uff1a\u7531\u4e8e\u76f4\u9762\u5ba2\u6237\u6240\u4ee5\u9700\u8981\u63d0\u4f9b\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>olap\u6570\u636e\u5e93\u672c\u8eab\u7279\u6027\uff1a\u6d77\u91cf\u6570\u636e\u7684\u805a\u5408<\/li>\u65f6\u5e8f\u6570\u636e\u5e93\u7279\u6709\u7684\uff1a\u53d1\u6563\u65f6\u95f4\u7ebf<\/li>\u53cc\u5341\u4e00<\/a><\/span>\u5927\u4fc3\uff1a\u7a81\u7136\u6d41\u91cf\u5341\u500d\u4ee5\u4e0a\u589e\u957f<\/li><\/ul>\n\n\n\n—<\/p>\n\n\n\n02<\/strong><\/p>\n\n\n\nTSDB\u4ecb\u7ecd<\/strong><\/p>\n\n\n\n1.TSDB\u7684\u53d1\u5c55\u53ca\u6027\u80fd<\/strong><\/p>\n\n\n\nTSDB\u4e8e2016\u5e74\u5f00\u59cb\u670d\u5f79,\u5230\u76ee\u524d\u4e3a\u6b62\u53c2\u4e0e\u4e86\u4e09\u6b21\u53cc\u5341\u4e00\u5927\u4fc3\uff0c\u76f8\u6bd4\u4e8e2017\u5e74\u8bfb\u5199\u541e\u5410\u7ffb\u500d\u589e\u957f,\u5199\u5165TPS4000w\uff0c\u67e5\u8be22wQPS\u8986\u76d6\u96c6\u56e2130+\u4e1a\u52a1\u7ebf\u53ca\u5b58\u50a8\u767e\u4ebf\u7684\u65f6\u95f4\u7ebf\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n2.TSDB\u67b6\u6784\u4ecb\u7ecd<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\uff0c\u4ece\u5de6\u5230\u53f3\u4e3a\u6570\u636e\u7684\u91c7\u96c6\u5230\u5c55\u73b0\u7684\u8fc7\u7a0b\uff1a<\/p>\n\n\n\n\u8fb9\u7f18\u8ba1\u7b97<\/strong>\uff1a\u8f7b\u91cf\u53ef\u9760\u7684\u8ba1\u7b97\u65b9\u6848\uff0c\u4e3b\u8981\u8d1f\u8d23\u6570\u636e\u7684\u91c7\u96c6\uff0c\u4e0e\u4e91\u7aef\u7684TSDB\u6253\u901a\uff0c\u5728OLAP\u573a\u666f\u6216\u8005\u8d44\u6e90\u4e0d\u7a33\u5b9a\u7684\u573a\u666f\u4e0b\u5b9e\u73b0\u6570\u636e\u7684\u7a33\u5b9a\u91c7\u96c6\u3001\u6e05\u6d17\u7b49\u3002<\/p>\n\n\n\n\u65f6\u5e8f\u5f15\u64ce<\/strong>\uff1a<\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\uff1a\u65f6\u95f4\u7ebf\u7684\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u50a8\u5b58\u5f15\u64ce\uff1a\u65f6\u5e8f\u6570\u636e\u3001\u6d77\u91cf\u6570\u636e\u5b58\u50a8\u7684\u89e3\u51b3\u65b9\u6848\uff1b<\/p>\n\n\n\n\u6d41\u5f0f\u6570\u636e\u805a\u5408\uff1a\u5728\u65f6\u5e8f\u6570\u636e\u5e93\u7684\u6d77\u91cf\u6570\u636e\u91cc\u505a\u9ad8\u6548\u7684\u7684\u805a\u5408\u5206\u6790\uff1b<\/p>\n\n\n\n\u7a33\u5b9a\u6027\u7ba1\u7406\uff1a\u5728\u4e91\u4e0a\u7a33\u5b9a\u5b89\u5168\u7684\u8fd0\u884c\uff1b<\/p>\n\n\n\n\u8ba1\u7b97\u5f15\u64ce\u3001sql\u5f15\u64ce\u3001\u667a\u80fd\u5f15\u64ce<\/strong>\uff1a\u4e3b\u8981\u4e0e\u65f6\u5e8f\u5f15\u64ce\u4ea4\u4e92\u5b9e\u73b0\u6570\u636e\u8ba1\u7b97\u3001sql\u89e3\u6790\u3001\u6a21\u578b\u7b97\u6cd5\u7b49\u529f\u80fd\uff0c\u53ef\u4ee5\u6269\u5c55\u65f6\u5e8f\u5f15\u64ce\u7684\u80fd\u529b\uff0c\u964d\u4f4e\u4f7f\u7528\u7684\u95e8\u69db\uff1b<\/p>\n\n\n\n\u534f\u8bae\u652f\u6301\uff1a<\/strong>\u4e3b\u8981\u9762\u5411\u7528\u6237\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e00\u4e9b\u53ef\u89c6\u5316\u7684\u67e5\u8be2\u548c\u5206\u6790\u652f\u6301\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u6838\u5fc3\u6280\u672f<\/strong><\/p>\n\n\n\n1.\u6d77\u91cf\u65f6\u5e8f\u6570\u636e\u5b58\u50a8<\/strong><\/p>\n\n\n\n\uff081\uff09\u6570\u636e\u538b\u7f29<\/strong><\/p>\n\n\n\n\u8bf4\u8d77\u5b58\u50a8\u5c31\u79bb\u4e0d\u5f00\u538b\u7f29,\u6570\u636e\u7684\u538b\u7f29\u65b9\u6cd5\u548c\u538b\u7f29\u7b97\u6cd5\u7684\u9009\u62e9\u5f88\u5927\u7a0b\u5ea6\u4e0a\u652f\u6301\u4e86\u6d77\u91cf\u6570\u636e\u7684\u50a8\u5b58\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\u4ee3\u8868\u65f6\u95f4\u7a97\u53e3\u4e3a\u4e00\u5c0f\u65f6\u7684\u6570\u636e\uff0c0-3600\u4ee3\u8868\u8fc7\u53bb\u4e00\u4e2a\u5c0f\u65f6\u5185\u7684\u6570\u636e\uff0c\u91c7\u7528key-value\u5b58\u50a8\u683c\u5f0f,\u4ee5\u79d2\u503c\u4f5c\u4e3akey\uff0c\u6bcf\u79d2\u7684\u6570\u636e\u4f5c\u4e3avalue\u5b58\u50a8\u3002<\/p>\n\n\n\n\u8fd9\u91cc\u53c2\u8003facebook grada\u601d\u60f3\u5f15\u5165\u4e86\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u901a\u8fc7\u5217\u5408\u5e76\u7684\u65b9\u5f0f\u628a\u6240\u6709\u7684\u65f6\u95f4\u6233\u548c\u5bf9\u5e94\u7684value\u805a\u5408\u957f\u4e24\u4e2a\u7684\u5927\u6570\u636e\u5757\uff0c\u7136\u540e\u5bf9\u8fd9\u4e2a\u4e24\u4e2a\u5927\u5757\u8fdb\u884c\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u7136\u540e\u518d\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\u7b97\u6cd5\u8fdb\u884c\u538b\u7f29\u3002<\/p>\n\n\n\n\u53e6\u5916\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u91c7\u7528\u4e0d\u540c\u7684\u6570\u636e\u538b\u7f29\u683c\u5f0f\uff0c\u5982\uff1a<\/p>\n\n\n\n\u65f6\u95f4\u6233\uff1adelta- delta<\/li>\u6d6e\u70b9\u578b\uff1aXOR\u7f16\u7801<\/li>\u6574\u578b\uff1avariable length encoding<\/li>\u5b57\u7b26\u4e32\uff1aLZ4\uff0c\u5b9e\u73b0\u4e86\u5b58\u50a8\u5c42\u4e71\u5e8f\u6570\u636e\u538b\u7f29\uff0c\u4fdd\u8bc1\u538b\u7f29\u6570\u636e\u7684\u51c6\u786e\u6027,\u6574\u7406\u7684\u538b\u7f29\u7387\u572815:1\u3002<\/li><\/ul>\n\n\n\n\uff082\uff09\u6570\u636e\u538b\u7f29\u6548\u679c<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u4e3a\u4ec0\u4e48\u8981\u91c7\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u4e2a\u56fe\u3002<\/p>\n\n\n\n\u9996\u5148\u65f6\u5e8f\u538b\u7f29\u9488\u5bf9\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u538b\u7f29\u683c\u5f0f\uff0c\u6240\u4ee5\u6574\u4f53\u7684\u6548\u679c\u4f18\u4e8e\u5757\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u5728\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\u5bf9\u6570\u636e\u538b\u7f29\u540e\u5728\u91c7\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5230\u5757\u538b\u7f29\u7684\u538b\u7f29\u6548\u7387\uff0c\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\u76f8\u6bd4\u5355\u72ec\u7684\u5757\u538b\u7f29\u80fd\u670940%\u7684\u538b\u7f29\u7387\u63d0\u5347\uff0c\u8fd9\u4e3a\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u63d0\u4f9b\u4e86\u6709\u529b\u7684\u5e2e\u52a9\u3002<\/p>\n\n\n\n2.\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u67e5\u8be2<\/strong><\/p>\n\n\n\n\u6dd8\u5b9d\u9b54\u5154\u662f\u963f\u91cc\u4e00\u6b3e\u5e94\u7528\u65e0\u7ebf\u7aef\u6570\u636e\u5206\u6790\u548c\u76d1\u63a7\u7684\u4ea7\u54c1\uff0c\u652f\u6301\u96c6\u56e2\u5185\u90e8500+\u7684\u5e94\u7528\uff0c\u5728\u53cc\u5341\u4e00\u5927\u4fc3\u662f\u67e5\u8be2\u5cf0\u503c\u53ef\u8fbe4000QPS\uff0c\u76f8\u8f83\u4e8e\u5e73\u5e38\u67e5\u8be2\u91cf\u670910\u500d\u7684\u63d0\u5347\uff0c,99%\u8bfb\u5199rt\u90fd\u8981\u6c42\u572820ms\u4ee5\u5185\uff0c\u90a3\u4e48TSDB\u662f\u5982\u4f55\u5b9e\u73b0\u7528\u6237\u7aef\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2\u5462?<\/p>\n\n\n\n\uff081\uff09\u5206\u5e03\u5f0f\u7f13\u5b58\u5b58\u50a8\u9002\u914d<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u65f6\u5e8f\u4e1a\u52a1\u5168\u666f<\/strong><\/p>\n\n\n\n\u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u822c\u90fd\u7531\u4e13\u4e1a\u7684\u65f6\u5e8f\u6570\u636e\u5e93\u6765\u5b58\u50a8\u5206\u6790\uff0c\u4e0b\u9762\u4e3b\u8981\u4ecb\u7ecdTSDB\u8986\u76d6\u7684\u4e1a\u52a1\u573a\u666f\u4ee5\u53ca\u9762\u4e34\u7684\u6311\u6218\u3002<\/p>\n\n\n\n1. \u65f6\u5e8f\u6570\u636e\u5e93\u8986\u76d6\u573a\u666f<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u57fa\u7840\u8bbe\u65bd\u5c42\uff1a\u673a\u67dc\u3001\u7269\u7406\u673a\u3001\u64cd\u4f5c\u7cfb\u7edf\u76d1\u63a7\u65e5\u5fd7<\/li>\u57fa\u7840\u8fd0\u7ef4\uff1asunfire(\u96c6\u56e2\u7edf\u4e00\u76d1\u63a7\u3001\u91c7\u96c6\u3001\u62a5\u8b66\u7cfb\u7edf)\u3001\u963f\u91cc\u4e91\u76d1\u63a7\u3001GOC(\u963f\u91cc\u5168\u7403\u5e94\u6025\u8c03\u5ea6\u6307\u6325\u7cfb\u7edf)<\/li>\u8d44\u6e90\u8c03\u5ea6\uff1a\u96c6\u56e2\u5185\u90e8\u8c03\u5ea6\u7cfb\u7edf\u3001Kubernetes<\/li>\u96c6\u7fa4\u7ba1\u7406\uff1aDBPaas(\u963f\u91cc\u6240\u6709\u6570\u636e\u5e93\u5b9e\u4f8b\u7684\u76d1\u63a7\u548c\u8c03\u5ea6)<\/li>\u5e94\u7528\u5c42\uff1aAPM\u573a\u666f\u4e0b\u7684\u5404\u79cd\u5e94\u7528<\/li><\/ul>\n\n\n\n2. \u65f6\u5e8f\u6570\u636e\u5e93\u9762\u4e34\u7684\u6311\u6218<\/strong><\/p>\n\n\n\n\u7531\u4e8e\u9762\u4e34\u5404\u4e2a\u5c42\u7ea7\u7684\u4e0d\u7528\u573a\u666f\uff0c\u6240\u4ee5\u65f6\u5e8f\u6570\u636e\u5e93\u4e5f\u9762\u4e34\u4e0d\u540c\u6311\u6218\uff1a<\/p>\n\n\n\n\u5e94\u7528\u5c42\u6311\u6218\uff1a\u7531\u4e8e\u76f4\u9762\u5ba2\u6237\u6240\u4ee5\u9700\u8981\u63d0\u4f9b\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>olap\u6570\u636e\u5e93\u672c\u8eab\u7279\u6027\uff1a\u6d77\u91cf\u6570\u636e\u7684\u805a\u5408<\/li>\u65f6\u5e8f\u6570\u636e\u5e93\u7279\u6709\u7684\uff1a\u53d1\u6563\u65f6\u95f4\u7ebf<\/li>\u53cc\u5341\u4e00<\/a><\/span>\u5927\u4fc3\uff1a\u7a81\u7136\u6d41\u91cf\u5341\u500d\u4ee5\u4e0a\u589e\u957f<\/li><\/ul>\n\n\n\n—<\/p>\n\n\n\n02<\/strong><\/p>\n\n\n\nTSDB\u4ecb\u7ecd<\/strong><\/p>\n\n\n\n1.TSDB\u7684\u53d1\u5c55\u53ca\u6027\u80fd<\/strong><\/p>\n\n\n\nTSDB\u4e8e2016\u5e74\u5f00\u59cb\u670d\u5f79,\u5230\u76ee\u524d\u4e3a\u6b62\u53c2\u4e0e\u4e86\u4e09\u6b21\u53cc\u5341\u4e00\u5927\u4fc3\uff0c\u76f8\u6bd4\u4e8e2017\u5e74\u8bfb\u5199\u541e\u5410\u7ffb\u500d\u589e\u957f,\u5199\u5165TPS4000w\uff0c\u67e5\u8be22wQPS\u8986\u76d6\u96c6\u56e2130+\u4e1a\u52a1\u7ebf\u53ca\u5b58\u50a8\u767e\u4ebf\u7684\u65f6\u95f4\u7ebf\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n2.TSDB\u67b6\u6784\u4ecb\u7ecd<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\uff0c\u4ece\u5de6\u5230\u53f3\u4e3a\u6570\u636e\u7684\u91c7\u96c6\u5230\u5c55\u73b0\u7684\u8fc7\u7a0b\uff1a<\/p>\n\n\n\n\u8fb9\u7f18\u8ba1\u7b97<\/strong>\uff1a\u8f7b\u91cf\u53ef\u9760\u7684\u8ba1\u7b97\u65b9\u6848\uff0c\u4e3b\u8981\u8d1f\u8d23\u6570\u636e\u7684\u91c7\u96c6\uff0c\u4e0e\u4e91\u7aef\u7684TSDB\u6253\u901a\uff0c\u5728OLAP\u573a\u666f\u6216\u8005\u8d44\u6e90\u4e0d\u7a33\u5b9a\u7684\u573a\u666f\u4e0b\u5b9e\u73b0\u6570\u636e\u7684\u7a33\u5b9a\u91c7\u96c6\u3001\u6e05\u6d17\u7b49\u3002<\/p>\n\n\n\n\u65f6\u5e8f\u5f15\u64ce<\/strong>\uff1a<\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\uff1a\u65f6\u95f4\u7ebf\u7684\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u50a8\u5b58\u5f15\u64ce\uff1a\u65f6\u5e8f\u6570\u636e\u3001\u6d77\u91cf\u6570\u636e\u5b58\u50a8\u7684\u89e3\u51b3\u65b9\u6848\uff1b<\/p>\n\n\n\n\u6d41\u5f0f\u6570\u636e\u805a\u5408\uff1a\u5728\u65f6\u5e8f\u6570\u636e\u5e93\u7684\u6d77\u91cf\u6570\u636e\u91cc\u505a\u9ad8\u6548\u7684\u7684\u805a\u5408\u5206\u6790\uff1b<\/p>\n\n\n\n\u7a33\u5b9a\u6027\u7ba1\u7406\uff1a\u5728\u4e91\u4e0a\u7a33\u5b9a\u5b89\u5168\u7684\u8fd0\u884c\uff1b<\/p>\n\n\n\n\u8ba1\u7b97\u5f15\u64ce\u3001sql\u5f15\u64ce\u3001\u667a\u80fd\u5f15\u64ce<\/strong>\uff1a\u4e3b\u8981\u4e0e\u65f6\u5e8f\u5f15\u64ce\u4ea4\u4e92\u5b9e\u73b0\u6570\u636e\u8ba1\u7b97\u3001sql\u89e3\u6790\u3001\u6a21\u578b\u7b97\u6cd5\u7b49\u529f\u80fd\uff0c\u53ef\u4ee5\u6269\u5c55\u65f6\u5e8f\u5f15\u64ce\u7684\u80fd\u529b\uff0c\u964d\u4f4e\u4f7f\u7528\u7684\u95e8\u69db\uff1b<\/p>\n\n\n\n\u534f\u8bae\u652f\u6301\uff1a<\/strong>\u4e3b\u8981\u9762\u5411\u7528\u6237\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e00\u4e9b\u53ef\u89c6\u5316\u7684\u67e5\u8be2\u548c\u5206\u6790\u652f\u6301\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u6838\u5fc3\u6280\u672f<\/strong><\/p>\n\n\n\n1.\u6d77\u91cf\u65f6\u5e8f\u6570\u636e\u5b58\u50a8<\/strong><\/p>\n\n\n\n\uff081\uff09\u6570\u636e\u538b\u7f29<\/strong><\/p>\n\n\n\n\u8bf4\u8d77\u5b58\u50a8\u5c31\u79bb\u4e0d\u5f00\u538b\u7f29,\u6570\u636e\u7684\u538b\u7f29\u65b9\u6cd5\u548c\u538b\u7f29\u7b97\u6cd5\u7684\u9009\u62e9\u5f88\u5927\u7a0b\u5ea6\u4e0a\u652f\u6301\u4e86\u6d77\u91cf\u6570\u636e\u7684\u50a8\u5b58\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\u4ee3\u8868\u65f6\u95f4\u7a97\u53e3\u4e3a\u4e00\u5c0f\u65f6\u7684\u6570\u636e\uff0c0-3600\u4ee3\u8868\u8fc7\u53bb\u4e00\u4e2a\u5c0f\u65f6\u5185\u7684\u6570\u636e\uff0c\u91c7\u7528key-value\u5b58\u50a8\u683c\u5f0f,\u4ee5\u79d2\u503c\u4f5c\u4e3akey\uff0c\u6bcf\u79d2\u7684\u6570\u636e\u4f5c\u4e3avalue\u5b58\u50a8\u3002<\/p>\n\n\n\n\u8fd9\u91cc\u53c2\u8003facebook grada\u601d\u60f3\u5f15\u5165\u4e86\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u901a\u8fc7\u5217\u5408\u5e76\u7684\u65b9\u5f0f\u628a\u6240\u6709\u7684\u65f6\u95f4\u6233\u548c\u5bf9\u5e94\u7684value\u805a\u5408\u957f\u4e24\u4e2a\u7684\u5927\u6570\u636e\u5757\uff0c\u7136\u540e\u5bf9\u8fd9\u4e2a\u4e24\u4e2a\u5927\u5757\u8fdb\u884c\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u7136\u540e\u518d\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\u7b97\u6cd5\u8fdb\u884c\u538b\u7f29\u3002<\/p>\n\n\n\n\u53e6\u5916\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u91c7\u7528\u4e0d\u540c\u7684\u6570\u636e\u538b\u7f29\u683c\u5f0f\uff0c\u5982\uff1a<\/p>\n\n\n\n\u65f6\u95f4\u6233\uff1adelta- delta<\/li>\u6d6e\u70b9\u578b\uff1aXOR\u7f16\u7801<\/li>\u6574\u578b\uff1avariable length encoding<\/li>\u5b57\u7b26\u4e32\uff1aLZ4\uff0c\u5b9e\u73b0\u4e86\u5b58\u50a8\u5c42\u4e71\u5e8f\u6570\u636e\u538b\u7f29\uff0c\u4fdd\u8bc1\u538b\u7f29\u6570\u636e\u7684\u51c6\u786e\u6027,\u6574\u7406\u7684\u538b\u7f29\u7387\u572815:1\u3002<\/li><\/ul>\n\n\n\n\uff082\uff09\u6570\u636e\u538b\u7f29\u6548\u679c<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u4e3a\u4ec0\u4e48\u8981\u91c7\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u4e2a\u56fe\u3002<\/p>\n\n\n\n\u9996\u5148\u65f6\u5e8f\u538b\u7f29\u9488\u5bf9\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u538b\u7f29\u683c\u5f0f\uff0c\u6240\u4ee5\u6574\u4f53\u7684\u6548\u679c\u4f18\u4e8e\u5757\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u5728\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\u5bf9\u6570\u636e\u538b\u7f29\u540e\u5728\u91c7\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5230\u5757\u538b\u7f29\u7684\u538b\u7f29\u6548\u7387\uff0c\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\u76f8\u6bd4\u5355\u72ec\u7684\u5757\u538b\u7f29\u80fd\u670940%\u7684\u538b\u7f29\u7387\u63d0\u5347\uff0c\u8fd9\u4e3a\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u63d0\u4f9b\u4e86\u6709\u529b\u7684\u5e2e\u52a9\u3002<\/p>\n\n\n\n2.\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u67e5\u8be2<\/strong><\/p>\n\n\n\n\u6dd8\u5b9d\u9b54\u5154\u662f\u963f\u91cc\u4e00\u6b3e\u5e94\u7528\u65e0\u7ebf\u7aef\u6570\u636e\u5206\u6790\u548c\u76d1\u63a7\u7684\u4ea7\u54c1\uff0c\u652f\u6301\u96c6\u56e2\u5185\u90e8500+\u7684\u5e94\u7528\uff0c\u5728\u53cc\u5341\u4e00\u5927\u4fc3\u662f\u67e5\u8be2\u5cf0\u503c\u53ef\u8fbe4000QPS\uff0c\u76f8\u8f83\u4e8e\u5e73\u5e38\u67e5\u8be2\u91cf\u670910\u500d\u7684\u63d0\u5347\uff0c,99%\u8bfb\u5199rt\u90fd\u8981\u6c42\u572820ms\u4ee5\u5185\uff0c\u90a3\u4e48TSDB\u662f\u5982\u4f55\u5b9e\u73b0\u7528\u6237\u7aef\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2\u5462?<\/p>\n\n\n\n\uff081\uff09\u5206\u5e03\u5f0f\u7f13\u5b58\u5b58\u50a8\u9002\u914d<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u822c\u90fd\u7531\u4e13\u4e1a\u7684\u65f6\u5e8f\u6570\u636e\u5e93\u6765\u5b58\u50a8\u5206\u6790\uff0c\u4e0b\u9762\u4e3b\u8981\u4ecb\u7ecdTSDB\u8986\u76d6\u7684\u4e1a\u52a1\u573a\u666f\u4ee5\u53ca\u9762\u4e34\u7684\u6311\u6218\u3002<\/p>\n\n\n\n
1. \u65f6\u5e8f\u6570\u636e\u5e93\u8986\u76d6\u573a\u666f<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u57fa\u7840\u8bbe\u65bd\u5c42\uff1a\u673a\u67dc\u3001\u7269\u7406\u673a\u3001\u64cd\u4f5c\u7cfb\u7edf\u76d1\u63a7\u65e5\u5fd7<\/li>\u57fa\u7840\u8fd0\u7ef4\uff1asunfire(\u96c6\u56e2\u7edf\u4e00\u76d1\u63a7\u3001\u91c7\u96c6\u3001\u62a5\u8b66\u7cfb\u7edf)\u3001\u963f\u91cc\u4e91\u76d1\u63a7\u3001GOC(\u963f\u91cc\u5168\u7403\u5e94\u6025\u8c03\u5ea6\u6307\u6325\u7cfb\u7edf)<\/li>\u8d44\u6e90\u8c03\u5ea6\uff1a\u96c6\u56e2\u5185\u90e8\u8c03\u5ea6\u7cfb\u7edf\u3001Kubernetes<\/li>\u96c6\u7fa4\u7ba1\u7406\uff1aDBPaas(\u963f\u91cc\u6240\u6709\u6570\u636e\u5e93\u5b9e\u4f8b\u7684\u76d1\u63a7\u548c\u8c03\u5ea6)<\/li>\u5e94\u7528\u5c42\uff1aAPM\u573a\u666f\u4e0b\u7684\u5404\u79cd\u5e94\u7528<\/li><\/ul>\n\n\n\n2. \u65f6\u5e8f\u6570\u636e\u5e93\u9762\u4e34\u7684\u6311\u6218<\/strong><\/p>\n\n\n\n\u7531\u4e8e\u9762\u4e34\u5404\u4e2a\u5c42\u7ea7\u7684\u4e0d\u7528\u573a\u666f\uff0c\u6240\u4ee5\u65f6\u5e8f\u6570\u636e\u5e93\u4e5f\u9762\u4e34\u4e0d\u540c\u6311\u6218\uff1a<\/p>\n\n\n\n\u5e94\u7528\u5c42\u6311\u6218\uff1a\u7531\u4e8e\u76f4\u9762\u5ba2\u6237\u6240\u4ee5\u9700\u8981\u63d0\u4f9b\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>olap\u6570\u636e\u5e93\u672c\u8eab\u7279\u6027\uff1a\u6d77\u91cf\u6570\u636e\u7684\u805a\u5408<\/li>\u65f6\u5e8f\u6570\u636e\u5e93\u7279\u6709\u7684\uff1a\u53d1\u6563\u65f6\u95f4\u7ebf<\/li>\u53cc\u5341\u4e00<\/a><\/span>\u5927\u4fc3\uff1a\u7a81\u7136\u6d41\u91cf\u5341\u500d\u4ee5\u4e0a\u589e\u957f<\/li><\/ul>\n\n\n\n—<\/p>\n\n\n\n02<\/strong><\/p>\n\n\n\nTSDB\u4ecb\u7ecd<\/strong><\/p>\n\n\n\n1.TSDB\u7684\u53d1\u5c55\u53ca\u6027\u80fd<\/strong><\/p>\n\n\n\nTSDB\u4e8e2016\u5e74\u5f00\u59cb\u670d\u5f79,\u5230\u76ee\u524d\u4e3a\u6b62\u53c2\u4e0e\u4e86\u4e09\u6b21\u53cc\u5341\u4e00\u5927\u4fc3\uff0c\u76f8\u6bd4\u4e8e2017\u5e74\u8bfb\u5199\u541e\u5410\u7ffb\u500d\u589e\u957f,\u5199\u5165TPS4000w\uff0c\u67e5\u8be22wQPS\u8986\u76d6\u96c6\u56e2130+\u4e1a\u52a1\u7ebf\u53ca\u5b58\u50a8\u767e\u4ebf\u7684\u65f6\u95f4\u7ebf\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n2.TSDB\u67b6\u6784\u4ecb\u7ecd<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\uff0c\u4ece\u5de6\u5230\u53f3\u4e3a\u6570\u636e\u7684\u91c7\u96c6\u5230\u5c55\u73b0\u7684\u8fc7\u7a0b\uff1a<\/p>\n\n\n\n\u8fb9\u7f18\u8ba1\u7b97<\/strong>\uff1a\u8f7b\u91cf\u53ef\u9760\u7684\u8ba1\u7b97\u65b9\u6848\uff0c\u4e3b\u8981\u8d1f\u8d23\u6570\u636e\u7684\u91c7\u96c6\uff0c\u4e0e\u4e91\u7aef\u7684TSDB\u6253\u901a\uff0c\u5728OLAP\u573a\u666f\u6216\u8005\u8d44\u6e90\u4e0d\u7a33\u5b9a\u7684\u573a\u666f\u4e0b\u5b9e\u73b0\u6570\u636e\u7684\u7a33\u5b9a\u91c7\u96c6\u3001\u6e05\u6d17\u7b49\u3002<\/p>\n\n\n\n\u65f6\u5e8f\u5f15\u64ce<\/strong>\uff1a<\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\uff1a\u65f6\u95f4\u7ebf\u7684\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u50a8\u5b58\u5f15\u64ce\uff1a\u65f6\u5e8f\u6570\u636e\u3001\u6d77\u91cf\u6570\u636e\u5b58\u50a8\u7684\u89e3\u51b3\u65b9\u6848\uff1b<\/p>\n\n\n\n\u6d41\u5f0f\u6570\u636e\u805a\u5408\uff1a\u5728\u65f6\u5e8f\u6570\u636e\u5e93\u7684\u6d77\u91cf\u6570\u636e\u91cc\u505a\u9ad8\u6548\u7684\u7684\u805a\u5408\u5206\u6790\uff1b<\/p>\n\n\n\n\u7a33\u5b9a\u6027\u7ba1\u7406\uff1a\u5728\u4e91\u4e0a\u7a33\u5b9a\u5b89\u5168\u7684\u8fd0\u884c\uff1b<\/p>\n\n\n\n\u8ba1\u7b97\u5f15\u64ce\u3001sql\u5f15\u64ce\u3001\u667a\u80fd\u5f15\u64ce<\/strong>\uff1a\u4e3b\u8981\u4e0e\u65f6\u5e8f\u5f15\u64ce\u4ea4\u4e92\u5b9e\u73b0\u6570\u636e\u8ba1\u7b97\u3001sql\u89e3\u6790\u3001\u6a21\u578b\u7b97\u6cd5\u7b49\u529f\u80fd\uff0c\u53ef\u4ee5\u6269\u5c55\u65f6\u5e8f\u5f15\u64ce\u7684\u80fd\u529b\uff0c\u964d\u4f4e\u4f7f\u7528\u7684\u95e8\u69db\uff1b<\/p>\n\n\n\n\u534f\u8bae\u652f\u6301\uff1a<\/strong>\u4e3b\u8981\u9762\u5411\u7528\u6237\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e00\u4e9b\u53ef\u89c6\u5316\u7684\u67e5\u8be2\u548c\u5206\u6790\u652f\u6301\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u6838\u5fc3\u6280\u672f<\/strong><\/p>\n\n\n\n1.\u6d77\u91cf\u65f6\u5e8f\u6570\u636e\u5b58\u50a8<\/strong><\/p>\n\n\n\n\uff081\uff09\u6570\u636e\u538b\u7f29<\/strong><\/p>\n\n\n\n\u8bf4\u8d77\u5b58\u50a8\u5c31\u79bb\u4e0d\u5f00\u538b\u7f29,\u6570\u636e\u7684\u538b\u7f29\u65b9\u6cd5\u548c\u538b\u7f29\u7b97\u6cd5\u7684\u9009\u62e9\u5f88\u5927\u7a0b\u5ea6\u4e0a\u652f\u6301\u4e86\u6d77\u91cf\u6570\u636e\u7684\u50a8\u5b58\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\u4ee3\u8868\u65f6\u95f4\u7a97\u53e3\u4e3a\u4e00\u5c0f\u65f6\u7684\u6570\u636e\uff0c0-3600\u4ee3\u8868\u8fc7\u53bb\u4e00\u4e2a\u5c0f\u65f6\u5185\u7684\u6570\u636e\uff0c\u91c7\u7528key-value\u5b58\u50a8\u683c\u5f0f,\u4ee5\u79d2\u503c\u4f5c\u4e3akey\uff0c\u6bcf\u79d2\u7684\u6570\u636e\u4f5c\u4e3avalue\u5b58\u50a8\u3002<\/p>\n\n\n\n\u8fd9\u91cc\u53c2\u8003facebook grada\u601d\u60f3\u5f15\u5165\u4e86\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u901a\u8fc7\u5217\u5408\u5e76\u7684\u65b9\u5f0f\u628a\u6240\u6709\u7684\u65f6\u95f4\u6233\u548c\u5bf9\u5e94\u7684value\u805a\u5408\u957f\u4e24\u4e2a\u7684\u5927\u6570\u636e\u5757\uff0c\u7136\u540e\u5bf9\u8fd9\u4e2a\u4e24\u4e2a\u5927\u5757\u8fdb\u884c\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u7136\u540e\u518d\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\u7b97\u6cd5\u8fdb\u884c\u538b\u7f29\u3002<\/p>\n\n\n\n\u53e6\u5916\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u91c7\u7528\u4e0d\u540c\u7684\u6570\u636e\u538b\u7f29\u683c\u5f0f\uff0c\u5982\uff1a<\/p>\n\n\n\n\u65f6\u95f4\u6233\uff1adelta- delta<\/li>\u6d6e\u70b9\u578b\uff1aXOR\u7f16\u7801<\/li>\u6574\u578b\uff1avariable length encoding<\/li>\u5b57\u7b26\u4e32\uff1aLZ4\uff0c\u5b9e\u73b0\u4e86\u5b58\u50a8\u5c42\u4e71\u5e8f\u6570\u636e\u538b\u7f29\uff0c\u4fdd\u8bc1\u538b\u7f29\u6570\u636e\u7684\u51c6\u786e\u6027,\u6574\u7406\u7684\u538b\u7f29\u7387\u572815:1\u3002<\/li><\/ul>\n\n\n\n\uff082\uff09\u6570\u636e\u538b\u7f29\u6548\u679c<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u4e3a\u4ec0\u4e48\u8981\u91c7\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u4e2a\u56fe\u3002<\/p>\n\n\n\n\u9996\u5148\u65f6\u5e8f\u538b\u7f29\u9488\u5bf9\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u538b\u7f29\u683c\u5f0f\uff0c\u6240\u4ee5\u6574\u4f53\u7684\u6548\u679c\u4f18\u4e8e\u5757\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u5728\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\u5bf9\u6570\u636e\u538b\u7f29\u540e\u5728\u91c7\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5230\u5757\u538b\u7f29\u7684\u538b\u7f29\u6548\u7387\uff0c\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\u76f8\u6bd4\u5355\u72ec\u7684\u5757\u538b\u7f29\u80fd\u670940%\u7684\u538b\u7f29\u7387\u63d0\u5347\uff0c\u8fd9\u4e3a\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u63d0\u4f9b\u4e86\u6709\u529b\u7684\u5e2e\u52a9\u3002<\/p>\n\n\n\n2.\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u67e5\u8be2<\/strong><\/p>\n\n\n\n\u6dd8\u5b9d\u9b54\u5154\u662f\u963f\u91cc\u4e00\u6b3e\u5e94\u7528\u65e0\u7ebf\u7aef\u6570\u636e\u5206\u6790\u548c\u76d1\u63a7\u7684\u4ea7\u54c1\uff0c\u652f\u6301\u96c6\u56e2\u5185\u90e8500+\u7684\u5e94\u7528\uff0c\u5728\u53cc\u5341\u4e00\u5927\u4fc3\u662f\u67e5\u8be2\u5cf0\u503c\u53ef\u8fbe4000QPS\uff0c\u76f8\u8f83\u4e8e\u5e73\u5e38\u67e5\u8be2\u91cf\u670910\u500d\u7684\u63d0\u5347\uff0c,99%\u8bfb\u5199rt\u90fd\u8981\u6c42\u572820ms\u4ee5\u5185\uff0c\u90a3\u4e48TSDB\u662f\u5982\u4f55\u5b9e\u73b0\u7528\u6237\u7aef\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2\u5462?<\/p>\n\n\n\n\uff081\uff09\u5206\u5e03\u5f0f\u7f13\u5b58\u5b58\u50a8\u9002\u914d<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
2. \u65f6\u5e8f\u6570\u636e\u5e93\u9762\u4e34\u7684\u6311\u6218<\/strong><\/p>\n\n\n\n\u7531\u4e8e\u9762\u4e34\u5404\u4e2a\u5c42\u7ea7\u7684\u4e0d\u7528\u573a\u666f\uff0c\u6240\u4ee5\u65f6\u5e8f\u6570\u636e\u5e93\u4e5f\u9762\u4e34\u4e0d\u540c\u6311\u6218\uff1a<\/p>\n\n\n\n\u5e94\u7528\u5c42\u6311\u6218\uff1a\u7531\u4e8e\u76f4\u9762\u5ba2\u6237\u6240\u4ee5\u9700\u8981\u63d0\u4f9b\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>olap\u6570\u636e\u5e93\u672c\u8eab\u7279\u6027\uff1a\u6d77\u91cf\u6570\u636e\u7684\u805a\u5408<\/li>\u65f6\u5e8f\u6570\u636e\u5e93\u7279\u6709\u7684\uff1a\u53d1\u6563\u65f6\u95f4\u7ebf<\/li>\u53cc\u5341\u4e00<\/a><\/span>\u5927\u4fc3\uff1a\u7a81\u7136\u6d41\u91cf\u5341\u500d\u4ee5\u4e0a\u589e\u957f<\/li><\/ul>\n\n\n\n—<\/p>\n\n\n\n02<\/strong><\/p>\n\n\n\nTSDB\u4ecb\u7ecd<\/strong><\/p>\n\n\n\n1.TSDB\u7684\u53d1\u5c55\u53ca\u6027\u80fd<\/strong><\/p>\n\n\n\nTSDB\u4e8e2016\u5e74\u5f00\u59cb\u670d\u5f79,\u5230\u76ee\u524d\u4e3a\u6b62\u53c2\u4e0e\u4e86\u4e09\u6b21\u53cc\u5341\u4e00\u5927\u4fc3\uff0c\u76f8\u6bd4\u4e8e2017\u5e74\u8bfb\u5199\u541e\u5410\u7ffb\u500d\u589e\u957f,\u5199\u5165TPS4000w\uff0c\u67e5\u8be22wQPS\u8986\u76d6\u96c6\u56e2130+\u4e1a\u52a1\u7ebf\u53ca\u5b58\u50a8\u767e\u4ebf\u7684\u65f6\u95f4\u7ebf\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n2.TSDB\u67b6\u6784\u4ecb\u7ecd<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\uff0c\u4ece\u5de6\u5230\u53f3\u4e3a\u6570\u636e\u7684\u91c7\u96c6\u5230\u5c55\u73b0\u7684\u8fc7\u7a0b\uff1a<\/p>\n\n\n\n\u8fb9\u7f18\u8ba1\u7b97<\/strong>\uff1a\u8f7b\u91cf\u53ef\u9760\u7684\u8ba1\u7b97\u65b9\u6848\uff0c\u4e3b\u8981\u8d1f\u8d23\u6570\u636e\u7684\u91c7\u96c6\uff0c\u4e0e\u4e91\u7aef\u7684TSDB\u6253\u901a\uff0c\u5728OLAP\u573a\u666f\u6216\u8005\u8d44\u6e90\u4e0d\u7a33\u5b9a\u7684\u573a\u666f\u4e0b\u5b9e\u73b0\u6570\u636e\u7684\u7a33\u5b9a\u91c7\u96c6\u3001\u6e05\u6d17\u7b49\u3002<\/p>\n\n\n\n\u65f6\u5e8f\u5f15\u64ce<\/strong>\uff1a<\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\uff1a\u65f6\u95f4\u7ebf\u7684\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u50a8\u5b58\u5f15\u64ce\uff1a\u65f6\u5e8f\u6570\u636e\u3001\u6d77\u91cf\u6570\u636e\u5b58\u50a8\u7684\u89e3\u51b3\u65b9\u6848\uff1b<\/p>\n\n\n\n\u6d41\u5f0f\u6570\u636e\u805a\u5408\uff1a\u5728\u65f6\u5e8f\u6570\u636e\u5e93\u7684\u6d77\u91cf\u6570\u636e\u91cc\u505a\u9ad8\u6548\u7684\u7684\u805a\u5408\u5206\u6790\uff1b<\/p>\n\n\n\n\u7a33\u5b9a\u6027\u7ba1\u7406\uff1a\u5728\u4e91\u4e0a\u7a33\u5b9a\u5b89\u5168\u7684\u8fd0\u884c\uff1b<\/p>\n\n\n\n\u8ba1\u7b97\u5f15\u64ce\u3001sql\u5f15\u64ce\u3001\u667a\u80fd\u5f15\u64ce<\/strong>\uff1a\u4e3b\u8981\u4e0e\u65f6\u5e8f\u5f15\u64ce\u4ea4\u4e92\u5b9e\u73b0\u6570\u636e\u8ba1\u7b97\u3001sql\u89e3\u6790\u3001\u6a21\u578b\u7b97\u6cd5\u7b49\u529f\u80fd\uff0c\u53ef\u4ee5\u6269\u5c55\u65f6\u5e8f\u5f15\u64ce\u7684\u80fd\u529b\uff0c\u964d\u4f4e\u4f7f\u7528\u7684\u95e8\u69db\uff1b<\/p>\n\n\n\n\u534f\u8bae\u652f\u6301\uff1a<\/strong>\u4e3b\u8981\u9762\u5411\u7528\u6237\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e00\u4e9b\u53ef\u89c6\u5316\u7684\u67e5\u8be2\u548c\u5206\u6790\u652f\u6301\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u6838\u5fc3\u6280\u672f<\/strong><\/p>\n\n\n\n1.\u6d77\u91cf\u65f6\u5e8f\u6570\u636e\u5b58\u50a8<\/strong><\/p>\n\n\n\n\uff081\uff09\u6570\u636e\u538b\u7f29<\/strong><\/p>\n\n\n\n\u8bf4\u8d77\u5b58\u50a8\u5c31\u79bb\u4e0d\u5f00\u538b\u7f29,\u6570\u636e\u7684\u538b\u7f29\u65b9\u6cd5\u548c\u538b\u7f29\u7b97\u6cd5\u7684\u9009\u62e9\u5f88\u5927\u7a0b\u5ea6\u4e0a\u652f\u6301\u4e86\u6d77\u91cf\u6570\u636e\u7684\u50a8\u5b58\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\u4ee3\u8868\u65f6\u95f4\u7a97\u53e3\u4e3a\u4e00\u5c0f\u65f6\u7684\u6570\u636e\uff0c0-3600\u4ee3\u8868\u8fc7\u53bb\u4e00\u4e2a\u5c0f\u65f6\u5185\u7684\u6570\u636e\uff0c\u91c7\u7528key-value\u5b58\u50a8\u683c\u5f0f,\u4ee5\u79d2\u503c\u4f5c\u4e3akey\uff0c\u6bcf\u79d2\u7684\u6570\u636e\u4f5c\u4e3avalue\u5b58\u50a8\u3002<\/p>\n\n\n\n\u8fd9\u91cc\u53c2\u8003facebook grada\u601d\u60f3\u5f15\u5165\u4e86\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u901a\u8fc7\u5217\u5408\u5e76\u7684\u65b9\u5f0f\u628a\u6240\u6709\u7684\u65f6\u95f4\u6233\u548c\u5bf9\u5e94\u7684value\u805a\u5408\u957f\u4e24\u4e2a\u7684\u5927\u6570\u636e\u5757\uff0c\u7136\u540e\u5bf9\u8fd9\u4e2a\u4e24\u4e2a\u5927\u5757\u8fdb\u884c\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u7136\u540e\u518d\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\u7b97\u6cd5\u8fdb\u884c\u538b\u7f29\u3002<\/p>\n\n\n\n\u53e6\u5916\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u91c7\u7528\u4e0d\u540c\u7684\u6570\u636e\u538b\u7f29\u683c\u5f0f\uff0c\u5982\uff1a<\/p>\n\n\n\n\u65f6\u95f4\u6233\uff1adelta- delta<\/li>\u6d6e\u70b9\u578b\uff1aXOR\u7f16\u7801<\/li>\u6574\u578b\uff1avariable length encoding<\/li>\u5b57\u7b26\u4e32\uff1aLZ4\uff0c\u5b9e\u73b0\u4e86\u5b58\u50a8\u5c42\u4e71\u5e8f\u6570\u636e\u538b\u7f29\uff0c\u4fdd\u8bc1\u538b\u7f29\u6570\u636e\u7684\u51c6\u786e\u6027,\u6574\u7406\u7684\u538b\u7f29\u7387\u572815:1\u3002<\/li><\/ul>\n\n\n\n\uff082\uff09\u6570\u636e\u538b\u7f29\u6548\u679c<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u4e3a\u4ec0\u4e48\u8981\u91c7\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u4e2a\u56fe\u3002<\/p>\n\n\n\n\u9996\u5148\u65f6\u5e8f\u538b\u7f29\u9488\u5bf9\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u538b\u7f29\u683c\u5f0f\uff0c\u6240\u4ee5\u6574\u4f53\u7684\u6548\u679c\u4f18\u4e8e\u5757\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u5728\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\u5bf9\u6570\u636e\u538b\u7f29\u540e\u5728\u91c7\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5230\u5757\u538b\u7f29\u7684\u538b\u7f29\u6548\u7387\uff0c\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\u76f8\u6bd4\u5355\u72ec\u7684\u5757\u538b\u7f29\u80fd\u670940%\u7684\u538b\u7f29\u7387\u63d0\u5347\uff0c\u8fd9\u4e3a\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u63d0\u4f9b\u4e86\u6709\u529b\u7684\u5e2e\u52a9\u3002<\/p>\n\n\n\n2.\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u67e5\u8be2<\/strong><\/p>\n\n\n\n\u6dd8\u5b9d\u9b54\u5154\u662f\u963f\u91cc\u4e00\u6b3e\u5e94\u7528\u65e0\u7ebf\u7aef\u6570\u636e\u5206\u6790\u548c\u76d1\u63a7\u7684\u4ea7\u54c1\uff0c\u652f\u6301\u96c6\u56e2\u5185\u90e8500+\u7684\u5e94\u7528\uff0c\u5728\u53cc\u5341\u4e00\u5927\u4fc3\u662f\u67e5\u8be2\u5cf0\u503c\u53ef\u8fbe4000QPS\uff0c\u76f8\u8f83\u4e8e\u5e73\u5e38\u67e5\u8be2\u91cf\u670910\u500d\u7684\u63d0\u5347\uff0c,99%\u8bfb\u5199rt\u90fd\u8981\u6c42\u572820ms\u4ee5\u5185\uff0c\u90a3\u4e48TSDB\u662f\u5982\u4f55\u5b9e\u73b0\u7528\u6237\u7aef\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2\u5462?<\/p>\n\n\n\n\uff081\uff09\u5206\u5e03\u5f0f\u7f13\u5b58\u5b58\u50a8\u9002\u914d<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u7531\u4e8e\u9762\u4e34\u5404\u4e2a\u5c42\u7ea7\u7684\u4e0d\u7528\u573a\u666f\uff0c\u6240\u4ee5\u65f6\u5e8f\u6570\u636e\u5e93\u4e5f\u9762\u4e34\u4e0d\u540c\u6311\u6218\uff1a<\/p>\n\n\n\n
—<\/p>\n\n\n\n
02<\/strong><\/p>\n\n\n\nTSDB\u4ecb\u7ecd<\/strong><\/p>\n\n\n\n1.TSDB\u7684\u53d1\u5c55\u53ca\u6027\u80fd<\/strong><\/p>\n\n\n\nTSDB\u4e8e2016\u5e74\u5f00\u59cb\u670d\u5f79,\u5230\u76ee\u524d\u4e3a\u6b62\u53c2\u4e0e\u4e86\u4e09\u6b21\u53cc\u5341\u4e00\u5927\u4fc3\uff0c\u76f8\u6bd4\u4e8e2017\u5e74\u8bfb\u5199\u541e\u5410\u7ffb\u500d\u589e\u957f,\u5199\u5165TPS4000w\uff0c\u67e5\u8be22wQPS\u8986\u76d6\u96c6\u56e2130+\u4e1a\u52a1\u7ebf\u53ca\u5b58\u50a8\u767e\u4ebf\u7684\u65f6\u95f4\u7ebf\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n2.TSDB\u67b6\u6784\u4ecb\u7ecd<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\uff0c\u4ece\u5de6\u5230\u53f3\u4e3a\u6570\u636e\u7684\u91c7\u96c6\u5230\u5c55\u73b0\u7684\u8fc7\u7a0b\uff1a<\/p>\n\n\n\n\u8fb9\u7f18\u8ba1\u7b97<\/strong>\uff1a\u8f7b\u91cf\u53ef\u9760\u7684\u8ba1\u7b97\u65b9\u6848\uff0c\u4e3b\u8981\u8d1f\u8d23\u6570\u636e\u7684\u91c7\u96c6\uff0c\u4e0e\u4e91\u7aef\u7684TSDB\u6253\u901a\uff0c\u5728OLAP\u573a\u666f\u6216\u8005\u8d44\u6e90\u4e0d\u7a33\u5b9a\u7684\u573a\u666f\u4e0b\u5b9e\u73b0\u6570\u636e\u7684\u7a33\u5b9a\u91c7\u96c6\u3001\u6e05\u6d17\u7b49\u3002<\/p>\n\n\n\n\u65f6\u5e8f\u5f15\u64ce<\/strong>\uff1a<\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\uff1a\u65f6\u95f4\u7ebf\u7684\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u50a8\u5b58\u5f15\u64ce\uff1a\u65f6\u5e8f\u6570\u636e\u3001\u6d77\u91cf\u6570\u636e\u5b58\u50a8\u7684\u89e3\u51b3\u65b9\u6848\uff1b<\/p>\n\n\n\n\u6d41\u5f0f\u6570\u636e\u805a\u5408\uff1a\u5728\u65f6\u5e8f\u6570\u636e\u5e93\u7684\u6d77\u91cf\u6570\u636e\u91cc\u505a\u9ad8\u6548\u7684\u7684\u805a\u5408\u5206\u6790\uff1b<\/p>\n\n\n\n\u7a33\u5b9a\u6027\u7ba1\u7406\uff1a\u5728\u4e91\u4e0a\u7a33\u5b9a\u5b89\u5168\u7684\u8fd0\u884c\uff1b<\/p>\n\n\n\n\u8ba1\u7b97\u5f15\u64ce\u3001sql\u5f15\u64ce\u3001\u667a\u80fd\u5f15\u64ce<\/strong>\uff1a\u4e3b\u8981\u4e0e\u65f6\u5e8f\u5f15\u64ce\u4ea4\u4e92\u5b9e\u73b0\u6570\u636e\u8ba1\u7b97\u3001sql\u89e3\u6790\u3001\u6a21\u578b\u7b97\u6cd5\u7b49\u529f\u80fd\uff0c\u53ef\u4ee5\u6269\u5c55\u65f6\u5e8f\u5f15\u64ce\u7684\u80fd\u529b\uff0c\u964d\u4f4e\u4f7f\u7528\u7684\u95e8\u69db\uff1b<\/p>\n\n\n\n\u534f\u8bae\u652f\u6301\uff1a<\/strong>\u4e3b\u8981\u9762\u5411\u7528\u6237\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e00\u4e9b\u53ef\u89c6\u5316\u7684\u67e5\u8be2\u548c\u5206\u6790\u652f\u6301\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u6838\u5fc3\u6280\u672f<\/strong><\/p>\n\n\n\n1.\u6d77\u91cf\u65f6\u5e8f\u6570\u636e\u5b58\u50a8<\/strong><\/p>\n\n\n\n\uff081\uff09\u6570\u636e\u538b\u7f29<\/strong><\/p>\n\n\n\n\u8bf4\u8d77\u5b58\u50a8\u5c31\u79bb\u4e0d\u5f00\u538b\u7f29,\u6570\u636e\u7684\u538b\u7f29\u65b9\u6cd5\u548c\u538b\u7f29\u7b97\u6cd5\u7684\u9009\u62e9\u5f88\u5927\u7a0b\u5ea6\u4e0a\u652f\u6301\u4e86\u6d77\u91cf\u6570\u636e\u7684\u50a8\u5b58\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\u4ee3\u8868\u65f6\u95f4\u7a97\u53e3\u4e3a\u4e00\u5c0f\u65f6\u7684\u6570\u636e\uff0c0-3600\u4ee3\u8868\u8fc7\u53bb\u4e00\u4e2a\u5c0f\u65f6\u5185\u7684\u6570\u636e\uff0c\u91c7\u7528key-value\u5b58\u50a8\u683c\u5f0f,\u4ee5\u79d2\u503c\u4f5c\u4e3akey\uff0c\u6bcf\u79d2\u7684\u6570\u636e\u4f5c\u4e3avalue\u5b58\u50a8\u3002<\/p>\n\n\n\n\u8fd9\u91cc\u53c2\u8003facebook grada\u601d\u60f3\u5f15\u5165\u4e86\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u901a\u8fc7\u5217\u5408\u5e76\u7684\u65b9\u5f0f\u628a\u6240\u6709\u7684\u65f6\u95f4\u6233\u548c\u5bf9\u5e94\u7684value\u805a\u5408\u957f\u4e24\u4e2a\u7684\u5927\u6570\u636e\u5757\uff0c\u7136\u540e\u5bf9\u8fd9\u4e2a\u4e24\u4e2a\u5927\u5757\u8fdb\u884c\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u7136\u540e\u518d\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\u7b97\u6cd5\u8fdb\u884c\u538b\u7f29\u3002<\/p>\n\n\n\n\u53e6\u5916\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u91c7\u7528\u4e0d\u540c\u7684\u6570\u636e\u538b\u7f29\u683c\u5f0f\uff0c\u5982\uff1a<\/p>\n\n\n\n\u65f6\u95f4\u6233\uff1adelta- delta<\/li>\u6d6e\u70b9\u578b\uff1aXOR\u7f16\u7801<\/li>\u6574\u578b\uff1avariable length encoding<\/li>\u5b57\u7b26\u4e32\uff1aLZ4\uff0c\u5b9e\u73b0\u4e86\u5b58\u50a8\u5c42\u4e71\u5e8f\u6570\u636e\u538b\u7f29\uff0c\u4fdd\u8bc1\u538b\u7f29\u6570\u636e\u7684\u51c6\u786e\u6027,\u6574\u7406\u7684\u538b\u7f29\u7387\u572815:1\u3002<\/li><\/ul>\n\n\n\n\uff082\uff09\u6570\u636e\u538b\u7f29\u6548\u679c<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u4e3a\u4ec0\u4e48\u8981\u91c7\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u4e2a\u56fe\u3002<\/p>\n\n\n\n\u9996\u5148\u65f6\u5e8f\u538b\u7f29\u9488\u5bf9\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u538b\u7f29\u683c\u5f0f\uff0c\u6240\u4ee5\u6574\u4f53\u7684\u6548\u679c\u4f18\u4e8e\u5757\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u5728\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\u5bf9\u6570\u636e\u538b\u7f29\u540e\u5728\u91c7\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5230\u5757\u538b\u7f29\u7684\u538b\u7f29\u6548\u7387\uff0c\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\u76f8\u6bd4\u5355\u72ec\u7684\u5757\u538b\u7f29\u80fd\u670940%\u7684\u538b\u7f29\u7387\u63d0\u5347\uff0c\u8fd9\u4e3a\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u63d0\u4f9b\u4e86\u6709\u529b\u7684\u5e2e\u52a9\u3002<\/p>\n\n\n\n2.\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u67e5\u8be2<\/strong><\/p>\n\n\n\n\u6dd8\u5b9d\u9b54\u5154\u662f\u963f\u91cc\u4e00\u6b3e\u5e94\u7528\u65e0\u7ebf\u7aef\u6570\u636e\u5206\u6790\u548c\u76d1\u63a7\u7684\u4ea7\u54c1\uff0c\u652f\u6301\u96c6\u56e2\u5185\u90e8500+\u7684\u5e94\u7528\uff0c\u5728\u53cc\u5341\u4e00\u5927\u4fc3\u662f\u67e5\u8be2\u5cf0\u503c\u53ef\u8fbe4000QPS\uff0c\u76f8\u8f83\u4e8e\u5e73\u5e38\u67e5\u8be2\u91cf\u670910\u500d\u7684\u63d0\u5347\uff0c,99%\u8bfb\u5199rt\u90fd\u8981\u6c42\u572820ms\u4ee5\u5185\uff0c\u90a3\u4e48TSDB\u662f\u5982\u4f55\u5b9e\u73b0\u7528\u6237\u7aef\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2\u5462?<\/p>\n\n\n\n\uff081\uff09\u5206\u5e03\u5f0f\u7f13\u5b58\u5b58\u50a8\u9002\u914d<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
TSDB\u4ecb\u7ecd<\/strong><\/p>\n\n\n\n1.TSDB\u7684\u53d1\u5c55\u53ca\u6027\u80fd<\/strong><\/p>\n\n\n\nTSDB\u4e8e2016\u5e74\u5f00\u59cb\u670d\u5f79,\u5230\u76ee\u524d\u4e3a\u6b62\u53c2\u4e0e\u4e86\u4e09\u6b21\u53cc\u5341\u4e00\u5927\u4fc3\uff0c\u76f8\u6bd4\u4e8e2017\u5e74\u8bfb\u5199\u541e\u5410\u7ffb\u500d\u589e\u957f,\u5199\u5165TPS4000w\uff0c\u67e5\u8be22wQPS\u8986\u76d6\u96c6\u56e2130+\u4e1a\u52a1\u7ebf\u53ca\u5b58\u50a8\u767e\u4ebf\u7684\u65f6\u95f4\u7ebf\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n2.TSDB\u67b6\u6784\u4ecb\u7ecd<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\uff0c\u4ece\u5de6\u5230\u53f3\u4e3a\u6570\u636e\u7684\u91c7\u96c6\u5230\u5c55\u73b0\u7684\u8fc7\u7a0b\uff1a<\/p>\n\n\n\n\u8fb9\u7f18\u8ba1\u7b97<\/strong>\uff1a\u8f7b\u91cf\u53ef\u9760\u7684\u8ba1\u7b97\u65b9\u6848\uff0c\u4e3b\u8981\u8d1f\u8d23\u6570\u636e\u7684\u91c7\u96c6\uff0c\u4e0e\u4e91\u7aef\u7684TSDB\u6253\u901a\uff0c\u5728OLAP\u573a\u666f\u6216\u8005\u8d44\u6e90\u4e0d\u7a33\u5b9a\u7684\u573a\u666f\u4e0b\u5b9e\u73b0\u6570\u636e\u7684\u7a33\u5b9a\u91c7\u96c6\u3001\u6e05\u6d17\u7b49\u3002<\/p>\n\n\n\n\u65f6\u5e8f\u5f15\u64ce<\/strong>\uff1a<\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\uff1a\u65f6\u95f4\u7ebf\u7684\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u50a8\u5b58\u5f15\u64ce\uff1a\u65f6\u5e8f\u6570\u636e\u3001\u6d77\u91cf\u6570\u636e\u5b58\u50a8\u7684\u89e3\u51b3\u65b9\u6848\uff1b<\/p>\n\n\n\n\u6d41\u5f0f\u6570\u636e\u805a\u5408\uff1a\u5728\u65f6\u5e8f\u6570\u636e\u5e93\u7684\u6d77\u91cf\u6570\u636e\u91cc\u505a\u9ad8\u6548\u7684\u7684\u805a\u5408\u5206\u6790\uff1b<\/p>\n\n\n\n\u7a33\u5b9a\u6027\u7ba1\u7406\uff1a\u5728\u4e91\u4e0a\u7a33\u5b9a\u5b89\u5168\u7684\u8fd0\u884c\uff1b<\/p>\n\n\n\n\u8ba1\u7b97\u5f15\u64ce\u3001sql\u5f15\u64ce\u3001\u667a\u80fd\u5f15\u64ce<\/strong>\uff1a\u4e3b\u8981\u4e0e\u65f6\u5e8f\u5f15\u64ce\u4ea4\u4e92\u5b9e\u73b0\u6570\u636e\u8ba1\u7b97\u3001sql\u89e3\u6790\u3001\u6a21\u578b\u7b97\u6cd5\u7b49\u529f\u80fd\uff0c\u53ef\u4ee5\u6269\u5c55\u65f6\u5e8f\u5f15\u64ce\u7684\u80fd\u529b\uff0c\u964d\u4f4e\u4f7f\u7528\u7684\u95e8\u69db\uff1b<\/p>\n\n\n\n\u534f\u8bae\u652f\u6301\uff1a<\/strong>\u4e3b\u8981\u9762\u5411\u7528\u6237\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e00\u4e9b\u53ef\u89c6\u5316\u7684\u67e5\u8be2\u548c\u5206\u6790\u652f\u6301\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u6838\u5fc3\u6280\u672f<\/strong><\/p>\n\n\n\n1.\u6d77\u91cf\u65f6\u5e8f\u6570\u636e\u5b58\u50a8<\/strong><\/p>\n\n\n\n\uff081\uff09\u6570\u636e\u538b\u7f29<\/strong><\/p>\n\n\n\n\u8bf4\u8d77\u5b58\u50a8\u5c31\u79bb\u4e0d\u5f00\u538b\u7f29,\u6570\u636e\u7684\u538b\u7f29\u65b9\u6cd5\u548c\u538b\u7f29\u7b97\u6cd5\u7684\u9009\u62e9\u5f88\u5927\u7a0b\u5ea6\u4e0a\u652f\u6301\u4e86\u6d77\u91cf\u6570\u636e\u7684\u50a8\u5b58\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\u4ee3\u8868\u65f6\u95f4\u7a97\u53e3\u4e3a\u4e00\u5c0f\u65f6\u7684\u6570\u636e\uff0c0-3600\u4ee3\u8868\u8fc7\u53bb\u4e00\u4e2a\u5c0f\u65f6\u5185\u7684\u6570\u636e\uff0c\u91c7\u7528key-value\u5b58\u50a8\u683c\u5f0f,\u4ee5\u79d2\u503c\u4f5c\u4e3akey\uff0c\u6bcf\u79d2\u7684\u6570\u636e\u4f5c\u4e3avalue\u5b58\u50a8\u3002<\/p>\n\n\n\n\u8fd9\u91cc\u53c2\u8003facebook grada\u601d\u60f3\u5f15\u5165\u4e86\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u901a\u8fc7\u5217\u5408\u5e76\u7684\u65b9\u5f0f\u628a\u6240\u6709\u7684\u65f6\u95f4\u6233\u548c\u5bf9\u5e94\u7684value\u805a\u5408\u957f\u4e24\u4e2a\u7684\u5927\u6570\u636e\u5757\uff0c\u7136\u540e\u5bf9\u8fd9\u4e2a\u4e24\u4e2a\u5927\u5757\u8fdb\u884c\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u7136\u540e\u518d\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\u7b97\u6cd5\u8fdb\u884c\u538b\u7f29\u3002<\/p>\n\n\n\n\u53e6\u5916\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u91c7\u7528\u4e0d\u540c\u7684\u6570\u636e\u538b\u7f29\u683c\u5f0f\uff0c\u5982\uff1a<\/p>\n\n\n\n\u65f6\u95f4\u6233\uff1adelta- delta<\/li>\u6d6e\u70b9\u578b\uff1aXOR\u7f16\u7801<\/li>\u6574\u578b\uff1avariable length encoding<\/li>\u5b57\u7b26\u4e32\uff1aLZ4\uff0c\u5b9e\u73b0\u4e86\u5b58\u50a8\u5c42\u4e71\u5e8f\u6570\u636e\u538b\u7f29\uff0c\u4fdd\u8bc1\u538b\u7f29\u6570\u636e\u7684\u51c6\u786e\u6027,\u6574\u7406\u7684\u538b\u7f29\u7387\u572815:1\u3002<\/li><\/ul>\n\n\n\n\uff082\uff09\u6570\u636e\u538b\u7f29\u6548\u679c<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u4e3a\u4ec0\u4e48\u8981\u91c7\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u4e2a\u56fe\u3002<\/p>\n\n\n\n\u9996\u5148\u65f6\u5e8f\u538b\u7f29\u9488\u5bf9\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u538b\u7f29\u683c\u5f0f\uff0c\u6240\u4ee5\u6574\u4f53\u7684\u6548\u679c\u4f18\u4e8e\u5757\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u5728\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\u5bf9\u6570\u636e\u538b\u7f29\u540e\u5728\u91c7\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5230\u5757\u538b\u7f29\u7684\u538b\u7f29\u6548\u7387\uff0c\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\u76f8\u6bd4\u5355\u72ec\u7684\u5757\u538b\u7f29\u80fd\u670940%\u7684\u538b\u7f29\u7387\u63d0\u5347\uff0c\u8fd9\u4e3a\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u63d0\u4f9b\u4e86\u6709\u529b\u7684\u5e2e\u52a9\u3002<\/p>\n\n\n\n2.\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u67e5\u8be2<\/strong><\/p>\n\n\n\n\u6dd8\u5b9d\u9b54\u5154\u662f\u963f\u91cc\u4e00\u6b3e\u5e94\u7528\u65e0\u7ebf\u7aef\u6570\u636e\u5206\u6790\u548c\u76d1\u63a7\u7684\u4ea7\u54c1\uff0c\u652f\u6301\u96c6\u56e2\u5185\u90e8500+\u7684\u5e94\u7528\uff0c\u5728\u53cc\u5341\u4e00\u5927\u4fc3\u662f\u67e5\u8be2\u5cf0\u503c\u53ef\u8fbe4000QPS\uff0c\u76f8\u8f83\u4e8e\u5e73\u5e38\u67e5\u8be2\u91cf\u670910\u500d\u7684\u63d0\u5347\uff0c,99%\u8bfb\u5199rt\u90fd\u8981\u6c42\u572820ms\u4ee5\u5185\uff0c\u90a3\u4e48TSDB\u662f\u5982\u4f55\u5b9e\u73b0\u7528\u6237\u7aef\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2\u5462?<\/p>\n\n\n\n\uff081\uff09\u5206\u5e03\u5f0f\u7f13\u5b58\u5b58\u50a8\u9002\u914d<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
1.TSDB\u7684\u53d1\u5c55\u53ca\u6027\u80fd<\/strong><\/p>\n\n\n\nTSDB\u4e8e2016\u5e74\u5f00\u59cb\u670d\u5f79,\u5230\u76ee\u524d\u4e3a\u6b62\u53c2\u4e0e\u4e86\u4e09\u6b21\u53cc\u5341\u4e00\u5927\u4fc3\uff0c\u76f8\u6bd4\u4e8e2017\u5e74\u8bfb\u5199\u541e\u5410\u7ffb\u500d\u589e\u957f,\u5199\u5165TPS4000w\uff0c\u67e5\u8be22wQPS\u8986\u76d6\u96c6\u56e2130+\u4e1a\u52a1\u7ebf\u53ca\u5b58\u50a8\u767e\u4ebf\u7684\u65f6\u95f4\u7ebf\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n2.TSDB\u67b6\u6784\u4ecb\u7ecd<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\uff0c\u4ece\u5de6\u5230\u53f3\u4e3a\u6570\u636e\u7684\u91c7\u96c6\u5230\u5c55\u73b0\u7684\u8fc7\u7a0b\uff1a<\/p>\n\n\n\n\u8fb9\u7f18\u8ba1\u7b97<\/strong>\uff1a\u8f7b\u91cf\u53ef\u9760\u7684\u8ba1\u7b97\u65b9\u6848\uff0c\u4e3b\u8981\u8d1f\u8d23\u6570\u636e\u7684\u91c7\u96c6\uff0c\u4e0e\u4e91\u7aef\u7684TSDB\u6253\u901a\uff0c\u5728OLAP\u573a\u666f\u6216\u8005\u8d44\u6e90\u4e0d\u7a33\u5b9a\u7684\u573a\u666f\u4e0b\u5b9e\u73b0\u6570\u636e\u7684\u7a33\u5b9a\u91c7\u96c6\u3001\u6e05\u6d17\u7b49\u3002<\/p>\n\n\n\n\u65f6\u5e8f\u5f15\u64ce<\/strong>\uff1a<\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\uff1a\u65f6\u95f4\u7ebf\u7684\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u50a8\u5b58\u5f15\u64ce\uff1a\u65f6\u5e8f\u6570\u636e\u3001\u6d77\u91cf\u6570\u636e\u5b58\u50a8\u7684\u89e3\u51b3\u65b9\u6848\uff1b<\/p>\n\n\n\n\u6d41\u5f0f\u6570\u636e\u805a\u5408\uff1a\u5728\u65f6\u5e8f\u6570\u636e\u5e93\u7684\u6d77\u91cf\u6570\u636e\u91cc\u505a\u9ad8\u6548\u7684\u7684\u805a\u5408\u5206\u6790\uff1b<\/p>\n\n\n\n\u7a33\u5b9a\u6027\u7ba1\u7406\uff1a\u5728\u4e91\u4e0a\u7a33\u5b9a\u5b89\u5168\u7684\u8fd0\u884c\uff1b<\/p>\n\n\n\n\u8ba1\u7b97\u5f15\u64ce\u3001sql\u5f15\u64ce\u3001\u667a\u80fd\u5f15\u64ce<\/strong>\uff1a\u4e3b\u8981\u4e0e\u65f6\u5e8f\u5f15\u64ce\u4ea4\u4e92\u5b9e\u73b0\u6570\u636e\u8ba1\u7b97\u3001sql\u89e3\u6790\u3001\u6a21\u578b\u7b97\u6cd5\u7b49\u529f\u80fd\uff0c\u53ef\u4ee5\u6269\u5c55\u65f6\u5e8f\u5f15\u64ce\u7684\u80fd\u529b\uff0c\u964d\u4f4e\u4f7f\u7528\u7684\u95e8\u69db\uff1b<\/p>\n\n\n\n\u534f\u8bae\u652f\u6301\uff1a<\/strong>\u4e3b\u8981\u9762\u5411\u7528\u6237\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e00\u4e9b\u53ef\u89c6\u5316\u7684\u67e5\u8be2\u548c\u5206\u6790\u652f\u6301\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u6838\u5fc3\u6280\u672f<\/strong><\/p>\n\n\n\n1.\u6d77\u91cf\u65f6\u5e8f\u6570\u636e\u5b58\u50a8<\/strong><\/p>\n\n\n\n\uff081\uff09\u6570\u636e\u538b\u7f29<\/strong><\/p>\n\n\n\n\u8bf4\u8d77\u5b58\u50a8\u5c31\u79bb\u4e0d\u5f00\u538b\u7f29,\u6570\u636e\u7684\u538b\u7f29\u65b9\u6cd5\u548c\u538b\u7f29\u7b97\u6cd5\u7684\u9009\u62e9\u5f88\u5927\u7a0b\u5ea6\u4e0a\u652f\u6301\u4e86\u6d77\u91cf\u6570\u636e\u7684\u50a8\u5b58\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\u4ee3\u8868\u65f6\u95f4\u7a97\u53e3\u4e3a\u4e00\u5c0f\u65f6\u7684\u6570\u636e\uff0c0-3600\u4ee3\u8868\u8fc7\u53bb\u4e00\u4e2a\u5c0f\u65f6\u5185\u7684\u6570\u636e\uff0c\u91c7\u7528key-value\u5b58\u50a8\u683c\u5f0f,\u4ee5\u79d2\u503c\u4f5c\u4e3akey\uff0c\u6bcf\u79d2\u7684\u6570\u636e\u4f5c\u4e3avalue\u5b58\u50a8\u3002<\/p>\n\n\n\n\u8fd9\u91cc\u53c2\u8003facebook grada\u601d\u60f3\u5f15\u5165\u4e86\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u901a\u8fc7\u5217\u5408\u5e76\u7684\u65b9\u5f0f\u628a\u6240\u6709\u7684\u65f6\u95f4\u6233\u548c\u5bf9\u5e94\u7684value\u805a\u5408\u957f\u4e24\u4e2a\u7684\u5927\u6570\u636e\u5757\uff0c\u7136\u540e\u5bf9\u8fd9\u4e2a\u4e24\u4e2a\u5927\u5757\u8fdb\u884c\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u7136\u540e\u518d\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\u7b97\u6cd5\u8fdb\u884c\u538b\u7f29\u3002<\/p>\n\n\n\n\u53e6\u5916\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u91c7\u7528\u4e0d\u540c\u7684\u6570\u636e\u538b\u7f29\u683c\u5f0f\uff0c\u5982\uff1a<\/p>\n\n\n\n\u65f6\u95f4\u6233\uff1adelta- delta<\/li>\u6d6e\u70b9\u578b\uff1aXOR\u7f16\u7801<\/li>\u6574\u578b\uff1avariable length encoding<\/li>\u5b57\u7b26\u4e32\uff1aLZ4\uff0c\u5b9e\u73b0\u4e86\u5b58\u50a8\u5c42\u4e71\u5e8f\u6570\u636e\u538b\u7f29\uff0c\u4fdd\u8bc1\u538b\u7f29\u6570\u636e\u7684\u51c6\u786e\u6027,\u6574\u7406\u7684\u538b\u7f29\u7387\u572815:1\u3002<\/li><\/ul>\n\n\n\n\uff082\uff09\u6570\u636e\u538b\u7f29\u6548\u679c<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u4e3a\u4ec0\u4e48\u8981\u91c7\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u4e2a\u56fe\u3002<\/p>\n\n\n\n\u9996\u5148\u65f6\u5e8f\u538b\u7f29\u9488\u5bf9\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u538b\u7f29\u683c\u5f0f\uff0c\u6240\u4ee5\u6574\u4f53\u7684\u6548\u679c\u4f18\u4e8e\u5757\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u5728\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\u5bf9\u6570\u636e\u538b\u7f29\u540e\u5728\u91c7\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5230\u5757\u538b\u7f29\u7684\u538b\u7f29\u6548\u7387\uff0c\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\u76f8\u6bd4\u5355\u72ec\u7684\u5757\u538b\u7f29\u80fd\u670940%\u7684\u538b\u7f29\u7387\u63d0\u5347\uff0c\u8fd9\u4e3a\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u63d0\u4f9b\u4e86\u6709\u529b\u7684\u5e2e\u52a9\u3002<\/p>\n\n\n\n2.\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u67e5\u8be2<\/strong><\/p>\n\n\n\n\u6dd8\u5b9d\u9b54\u5154\u662f\u963f\u91cc\u4e00\u6b3e\u5e94\u7528\u65e0\u7ebf\u7aef\u6570\u636e\u5206\u6790\u548c\u76d1\u63a7\u7684\u4ea7\u54c1\uff0c\u652f\u6301\u96c6\u56e2\u5185\u90e8500+\u7684\u5e94\u7528\uff0c\u5728\u53cc\u5341\u4e00\u5927\u4fc3\u662f\u67e5\u8be2\u5cf0\u503c\u53ef\u8fbe4000QPS\uff0c\u76f8\u8f83\u4e8e\u5e73\u5e38\u67e5\u8be2\u91cf\u670910\u500d\u7684\u63d0\u5347\uff0c,99%\u8bfb\u5199rt\u90fd\u8981\u6c42\u572820ms\u4ee5\u5185\uff0c\u90a3\u4e48TSDB\u662f\u5982\u4f55\u5b9e\u73b0\u7528\u6237\u7aef\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2\u5462?<\/p>\n\n\n\n\uff081\uff09\u5206\u5e03\u5f0f\u7f13\u5b58\u5b58\u50a8\u9002\u914d<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
TSDB\u4e8e2016\u5e74\u5f00\u59cb\u670d\u5f79,\u5230\u76ee\u524d\u4e3a\u6b62\u53c2\u4e0e\u4e86\u4e09\u6b21\u53cc\u5341\u4e00\u5927\u4fc3\uff0c\u76f8\u6bd4\u4e8e2017\u5e74\u8bfb\u5199\u541e\u5410\u7ffb\u500d\u589e\u957f,\u5199\u5165TPS4000w\uff0c\u67e5\u8be22wQPS\u8986\u76d6\u96c6\u56e2130+\u4e1a\u52a1\u7ebf\u53ca\u5b58\u50a8\u767e\u4ebf\u7684\u65f6\u95f4\u7ebf\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n2.TSDB\u67b6\u6784\u4ecb\u7ecd<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\uff0c\u4ece\u5de6\u5230\u53f3\u4e3a\u6570\u636e\u7684\u91c7\u96c6\u5230\u5c55\u73b0\u7684\u8fc7\u7a0b\uff1a<\/p>\n\n\n\n\u8fb9\u7f18\u8ba1\u7b97<\/strong>\uff1a\u8f7b\u91cf\u53ef\u9760\u7684\u8ba1\u7b97\u65b9\u6848\uff0c\u4e3b\u8981\u8d1f\u8d23\u6570\u636e\u7684\u91c7\u96c6\uff0c\u4e0e\u4e91\u7aef\u7684TSDB\u6253\u901a\uff0c\u5728OLAP\u573a\u666f\u6216\u8005\u8d44\u6e90\u4e0d\u7a33\u5b9a\u7684\u573a\u666f\u4e0b\u5b9e\u73b0\u6570\u636e\u7684\u7a33\u5b9a\u91c7\u96c6\u3001\u6e05\u6d17\u7b49\u3002<\/p>\n\n\n\n\u65f6\u5e8f\u5f15\u64ce<\/strong>\uff1a<\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\uff1a\u65f6\u95f4\u7ebf\u7684\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u50a8\u5b58\u5f15\u64ce\uff1a\u65f6\u5e8f\u6570\u636e\u3001\u6d77\u91cf\u6570\u636e\u5b58\u50a8\u7684\u89e3\u51b3\u65b9\u6848\uff1b<\/p>\n\n\n\n\u6d41\u5f0f\u6570\u636e\u805a\u5408\uff1a\u5728\u65f6\u5e8f\u6570\u636e\u5e93\u7684\u6d77\u91cf\u6570\u636e\u91cc\u505a\u9ad8\u6548\u7684\u7684\u805a\u5408\u5206\u6790\uff1b<\/p>\n\n\n\n\u7a33\u5b9a\u6027\u7ba1\u7406\uff1a\u5728\u4e91\u4e0a\u7a33\u5b9a\u5b89\u5168\u7684\u8fd0\u884c\uff1b<\/p>\n\n\n\n\u8ba1\u7b97\u5f15\u64ce\u3001sql\u5f15\u64ce\u3001\u667a\u80fd\u5f15\u64ce<\/strong>\uff1a\u4e3b\u8981\u4e0e\u65f6\u5e8f\u5f15\u64ce\u4ea4\u4e92\u5b9e\u73b0\u6570\u636e\u8ba1\u7b97\u3001sql\u89e3\u6790\u3001\u6a21\u578b\u7b97\u6cd5\u7b49\u529f\u80fd\uff0c\u53ef\u4ee5\u6269\u5c55\u65f6\u5e8f\u5f15\u64ce\u7684\u80fd\u529b\uff0c\u964d\u4f4e\u4f7f\u7528\u7684\u95e8\u69db\uff1b<\/p>\n\n\n\n\u534f\u8bae\u652f\u6301\uff1a<\/strong>\u4e3b\u8981\u9762\u5411\u7528\u6237\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e00\u4e9b\u53ef\u89c6\u5316\u7684\u67e5\u8be2\u548c\u5206\u6790\u652f\u6301\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u6838\u5fc3\u6280\u672f<\/strong><\/p>\n\n\n\n1.\u6d77\u91cf\u65f6\u5e8f\u6570\u636e\u5b58\u50a8<\/strong><\/p>\n\n\n\n\uff081\uff09\u6570\u636e\u538b\u7f29<\/strong><\/p>\n\n\n\n\u8bf4\u8d77\u5b58\u50a8\u5c31\u79bb\u4e0d\u5f00\u538b\u7f29,\u6570\u636e\u7684\u538b\u7f29\u65b9\u6cd5\u548c\u538b\u7f29\u7b97\u6cd5\u7684\u9009\u62e9\u5f88\u5927\u7a0b\u5ea6\u4e0a\u652f\u6301\u4e86\u6d77\u91cf\u6570\u636e\u7684\u50a8\u5b58\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\u4ee3\u8868\u65f6\u95f4\u7a97\u53e3\u4e3a\u4e00\u5c0f\u65f6\u7684\u6570\u636e\uff0c0-3600\u4ee3\u8868\u8fc7\u53bb\u4e00\u4e2a\u5c0f\u65f6\u5185\u7684\u6570\u636e\uff0c\u91c7\u7528key-value\u5b58\u50a8\u683c\u5f0f,\u4ee5\u79d2\u503c\u4f5c\u4e3akey\uff0c\u6bcf\u79d2\u7684\u6570\u636e\u4f5c\u4e3avalue\u5b58\u50a8\u3002<\/p>\n\n\n\n\u8fd9\u91cc\u53c2\u8003facebook grada\u601d\u60f3\u5f15\u5165\u4e86\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u901a\u8fc7\u5217\u5408\u5e76\u7684\u65b9\u5f0f\u628a\u6240\u6709\u7684\u65f6\u95f4\u6233\u548c\u5bf9\u5e94\u7684value\u805a\u5408\u957f\u4e24\u4e2a\u7684\u5927\u6570\u636e\u5757\uff0c\u7136\u540e\u5bf9\u8fd9\u4e2a\u4e24\u4e2a\u5927\u5757\u8fdb\u884c\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u7136\u540e\u518d\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\u7b97\u6cd5\u8fdb\u884c\u538b\u7f29\u3002<\/p>\n\n\n\n\u53e6\u5916\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u91c7\u7528\u4e0d\u540c\u7684\u6570\u636e\u538b\u7f29\u683c\u5f0f\uff0c\u5982\uff1a<\/p>\n\n\n\n\u65f6\u95f4\u6233\uff1adelta- delta<\/li>\u6d6e\u70b9\u578b\uff1aXOR\u7f16\u7801<\/li>\u6574\u578b\uff1avariable length encoding<\/li>\u5b57\u7b26\u4e32\uff1aLZ4\uff0c\u5b9e\u73b0\u4e86\u5b58\u50a8\u5c42\u4e71\u5e8f\u6570\u636e\u538b\u7f29\uff0c\u4fdd\u8bc1\u538b\u7f29\u6570\u636e\u7684\u51c6\u786e\u6027,\u6574\u7406\u7684\u538b\u7f29\u7387\u572815:1\u3002<\/li><\/ul>\n\n\n\n\uff082\uff09\u6570\u636e\u538b\u7f29\u6548\u679c<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u4e3a\u4ec0\u4e48\u8981\u91c7\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u4e2a\u56fe\u3002<\/p>\n\n\n\n\u9996\u5148\u65f6\u5e8f\u538b\u7f29\u9488\u5bf9\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u538b\u7f29\u683c\u5f0f\uff0c\u6240\u4ee5\u6574\u4f53\u7684\u6548\u679c\u4f18\u4e8e\u5757\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u5728\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\u5bf9\u6570\u636e\u538b\u7f29\u540e\u5728\u91c7\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5230\u5757\u538b\u7f29\u7684\u538b\u7f29\u6548\u7387\uff0c\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\u76f8\u6bd4\u5355\u72ec\u7684\u5757\u538b\u7f29\u80fd\u670940%\u7684\u538b\u7f29\u7387\u63d0\u5347\uff0c\u8fd9\u4e3a\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u63d0\u4f9b\u4e86\u6709\u529b\u7684\u5e2e\u52a9\u3002<\/p>\n\n\n\n2.\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u67e5\u8be2<\/strong><\/p>\n\n\n\n\u6dd8\u5b9d\u9b54\u5154\u662f\u963f\u91cc\u4e00\u6b3e\u5e94\u7528\u65e0\u7ebf\u7aef\u6570\u636e\u5206\u6790\u548c\u76d1\u63a7\u7684\u4ea7\u54c1\uff0c\u652f\u6301\u96c6\u56e2\u5185\u90e8500+\u7684\u5e94\u7528\uff0c\u5728\u53cc\u5341\u4e00\u5927\u4fc3\u662f\u67e5\u8be2\u5cf0\u503c\u53ef\u8fbe4000QPS\uff0c\u76f8\u8f83\u4e8e\u5e73\u5e38\u67e5\u8be2\u91cf\u670910\u500d\u7684\u63d0\u5347\uff0c,99%\u8bfb\u5199rt\u90fd\u8981\u6c42\u572820ms\u4ee5\u5185\uff0c\u90a3\u4e48TSDB\u662f\u5982\u4f55\u5b9e\u73b0\u7528\u6237\u7aef\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2\u5462?<\/p>\n\n\n\n\uff081\uff09\u5206\u5e03\u5f0f\u7f13\u5b58\u5b58\u50a8\u9002\u914d<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
2.TSDB\u67b6\u6784\u4ecb\u7ecd<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\uff0c\u4ece\u5de6\u5230\u53f3\u4e3a\u6570\u636e\u7684\u91c7\u96c6\u5230\u5c55\u73b0\u7684\u8fc7\u7a0b\uff1a<\/p>\n\n\n\n\u8fb9\u7f18\u8ba1\u7b97<\/strong>\uff1a\u8f7b\u91cf\u53ef\u9760\u7684\u8ba1\u7b97\u65b9\u6848\uff0c\u4e3b\u8981\u8d1f\u8d23\u6570\u636e\u7684\u91c7\u96c6\uff0c\u4e0e\u4e91\u7aef\u7684TSDB\u6253\u901a\uff0c\u5728OLAP\u573a\u666f\u6216\u8005\u8d44\u6e90\u4e0d\u7a33\u5b9a\u7684\u573a\u666f\u4e0b\u5b9e\u73b0\u6570\u636e\u7684\u7a33\u5b9a\u91c7\u96c6\u3001\u6e05\u6d17\u7b49\u3002<\/p>\n\n\n\n\u65f6\u5e8f\u5f15\u64ce<\/strong>\uff1a<\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\uff1a\u65f6\u95f4\u7ebf\u7684\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u50a8\u5b58\u5f15\u64ce\uff1a\u65f6\u5e8f\u6570\u636e\u3001\u6d77\u91cf\u6570\u636e\u5b58\u50a8\u7684\u89e3\u51b3\u65b9\u6848\uff1b<\/p>\n\n\n\n\u6d41\u5f0f\u6570\u636e\u805a\u5408\uff1a\u5728\u65f6\u5e8f\u6570\u636e\u5e93\u7684\u6d77\u91cf\u6570\u636e\u91cc\u505a\u9ad8\u6548\u7684\u7684\u805a\u5408\u5206\u6790\uff1b<\/p>\n\n\n\n\u7a33\u5b9a\u6027\u7ba1\u7406\uff1a\u5728\u4e91\u4e0a\u7a33\u5b9a\u5b89\u5168\u7684\u8fd0\u884c\uff1b<\/p>\n\n\n\n\u8ba1\u7b97\u5f15\u64ce\u3001sql\u5f15\u64ce\u3001\u667a\u80fd\u5f15\u64ce<\/strong>\uff1a\u4e3b\u8981\u4e0e\u65f6\u5e8f\u5f15\u64ce\u4ea4\u4e92\u5b9e\u73b0\u6570\u636e\u8ba1\u7b97\u3001sql\u89e3\u6790\u3001\u6a21\u578b\u7b97\u6cd5\u7b49\u529f\u80fd\uff0c\u53ef\u4ee5\u6269\u5c55\u65f6\u5e8f\u5f15\u64ce\u7684\u80fd\u529b\uff0c\u964d\u4f4e\u4f7f\u7528\u7684\u95e8\u69db\uff1b<\/p>\n\n\n\n\u534f\u8bae\u652f\u6301\uff1a<\/strong>\u4e3b\u8981\u9762\u5411\u7528\u6237\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e00\u4e9b\u53ef\u89c6\u5316\u7684\u67e5\u8be2\u548c\u5206\u6790\u652f\u6301\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u6838\u5fc3\u6280\u672f<\/strong><\/p>\n\n\n\n1.\u6d77\u91cf\u65f6\u5e8f\u6570\u636e\u5b58\u50a8<\/strong><\/p>\n\n\n\n\uff081\uff09\u6570\u636e\u538b\u7f29<\/strong><\/p>\n\n\n\n\u8bf4\u8d77\u5b58\u50a8\u5c31\u79bb\u4e0d\u5f00\u538b\u7f29,\u6570\u636e\u7684\u538b\u7f29\u65b9\u6cd5\u548c\u538b\u7f29\u7b97\u6cd5\u7684\u9009\u62e9\u5f88\u5927\u7a0b\u5ea6\u4e0a\u652f\u6301\u4e86\u6d77\u91cf\u6570\u636e\u7684\u50a8\u5b58\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\u4ee3\u8868\u65f6\u95f4\u7a97\u53e3\u4e3a\u4e00\u5c0f\u65f6\u7684\u6570\u636e\uff0c0-3600\u4ee3\u8868\u8fc7\u53bb\u4e00\u4e2a\u5c0f\u65f6\u5185\u7684\u6570\u636e\uff0c\u91c7\u7528key-value\u5b58\u50a8\u683c\u5f0f,\u4ee5\u79d2\u503c\u4f5c\u4e3akey\uff0c\u6bcf\u79d2\u7684\u6570\u636e\u4f5c\u4e3avalue\u5b58\u50a8\u3002<\/p>\n\n\n\n\u8fd9\u91cc\u53c2\u8003facebook grada\u601d\u60f3\u5f15\u5165\u4e86\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u901a\u8fc7\u5217\u5408\u5e76\u7684\u65b9\u5f0f\u628a\u6240\u6709\u7684\u65f6\u95f4\u6233\u548c\u5bf9\u5e94\u7684value\u805a\u5408\u957f\u4e24\u4e2a\u7684\u5927\u6570\u636e\u5757\uff0c\u7136\u540e\u5bf9\u8fd9\u4e2a\u4e24\u4e2a\u5927\u5757\u8fdb\u884c\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u7136\u540e\u518d\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\u7b97\u6cd5\u8fdb\u884c\u538b\u7f29\u3002<\/p>\n\n\n\n\u53e6\u5916\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u91c7\u7528\u4e0d\u540c\u7684\u6570\u636e\u538b\u7f29\u683c\u5f0f\uff0c\u5982\uff1a<\/p>\n\n\n\n\u65f6\u95f4\u6233\uff1adelta- delta<\/li>\u6d6e\u70b9\u578b\uff1aXOR\u7f16\u7801<\/li>\u6574\u578b\uff1avariable length encoding<\/li>\u5b57\u7b26\u4e32\uff1aLZ4\uff0c\u5b9e\u73b0\u4e86\u5b58\u50a8\u5c42\u4e71\u5e8f\u6570\u636e\u538b\u7f29\uff0c\u4fdd\u8bc1\u538b\u7f29\u6570\u636e\u7684\u51c6\u786e\u6027,\u6574\u7406\u7684\u538b\u7f29\u7387\u572815:1\u3002<\/li><\/ul>\n\n\n\n\uff082\uff09\u6570\u636e\u538b\u7f29\u6548\u679c<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u4e3a\u4ec0\u4e48\u8981\u91c7\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u4e2a\u56fe\u3002<\/p>\n\n\n\n\u9996\u5148\u65f6\u5e8f\u538b\u7f29\u9488\u5bf9\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u538b\u7f29\u683c\u5f0f\uff0c\u6240\u4ee5\u6574\u4f53\u7684\u6548\u679c\u4f18\u4e8e\u5757\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u5728\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\u5bf9\u6570\u636e\u538b\u7f29\u540e\u5728\u91c7\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5230\u5757\u538b\u7f29\u7684\u538b\u7f29\u6548\u7387\uff0c\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\u76f8\u6bd4\u5355\u72ec\u7684\u5757\u538b\u7f29\u80fd\u670940%\u7684\u538b\u7f29\u7387\u63d0\u5347\uff0c\u8fd9\u4e3a\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u63d0\u4f9b\u4e86\u6709\u529b\u7684\u5e2e\u52a9\u3002<\/p>\n\n\n\n2.\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u67e5\u8be2<\/strong><\/p>\n\n\n\n\u6dd8\u5b9d\u9b54\u5154\u662f\u963f\u91cc\u4e00\u6b3e\u5e94\u7528\u65e0\u7ebf\u7aef\u6570\u636e\u5206\u6790\u548c\u76d1\u63a7\u7684\u4ea7\u54c1\uff0c\u652f\u6301\u96c6\u56e2\u5185\u90e8500+\u7684\u5e94\u7528\uff0c\u5728\u53cc\u5341\u4e00\u5927\u4fc3\u662f\u67e5\u8be2\u5cf0\u503c\u53ef\u8fbe4000QPS\uff0c\u76f8\u8f83\u4e8e\u5e73\u5e38\u67e5\u8be2\u91cf\u670910\u500d\u7684\u63d0\u5347\uff0c,99%\u8bfb\u5199rt\u90fd\u8981\u6c42\u572820ms\u4ee5\u5185\uff0c\u90a3\u4e48TSDB\u662f\u5982\u4f55\u5b9e\u73b0\u7528\u6237\u7aef\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2\u5462?<\/p>\n\n\n\n\uff081\uff09\u5206\u5e03\u5f0f\u7f13\u5b58\u5b58\u50a8\u9002\u914d<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5982\u4e0a\u56fe\uff0c\u4ece\u5de6\u5230\u53f3\u4e3a\u6570\u636e\u7684\u91c7\u96c6\u5230\u5c55\u73b0\u7684\u8fc7\u7a0b\uff1a<\/p>\n\n\n\n
\u8fb9\u7f18\u8ba1\u7b97<\/strong>\uff1a\u8f7b\u91cf\u53ef\u9760\u7684\u8ba1\u7b97\u65b9\u6848\uff0c\u4e3b\u8981\u8d1f\u8d23\u6570\u636e\u7684\u91c7\u96c6\uff0c\u4e0e\u4e91\u7aef\u7684TSDB\u6253\u901a\uff0c\u5728OLAP\u573a\u666f\u6216\u8005\u8d44\u6e90\u4e0d\u7a33\u5b9a\u7684\u573a\u666f\u4e0b\u5b9e\u73b0\u6570\u636e\u7684\u7a33\u5b9a\u91c7\u96c6\u3001\u6e05\u6d17\u7b49\u3002<\/p>\n\n\n\n\u65f6\u5e8f\u5f15\u64ce<\/strong>\uff1a<\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\uff1a\u65f6\u95f4\u7ebf\u7684\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u50a8\u5b58\u5f15\u64ce\uff1a\u65f6\u5e8f\u6570\u636e\u3001\u6d77\u91cf\u6570\u636e\u5b58\u50a8\u7684\u89e3\u51b3\u65b9\u6848\uff1b<\/p>\n\n\n\n\u6d41\u5f0f\u6570\u636e\u805a\u5408\uff1a\u5728\u65f6\u5e8f\u6570\u636e\u5e93\u7684\u6d77\u91cf\u6570\u636e\u91cc\u505a\u9ad8\u6548\u7684\u7684\u805a\u5408\u5206\u6790\uff1b<\/p>\n\n\n\n\u7a33\u5b9a\u6027\u7ba1\u7406\uff1a\u5728\u4e91\u4e0a\u7a33\u5b9a\u5b89\u5168\u7684\u8fd0\u884c\uff1b<\/p>\n\n\n\n\u8ba1\u7b97\u5f15\u64ce\u3001sql\u5f15\u64ce\u3001\u667a\u80fd\u5f15\u64ce<\/strong>\uff1a\u4e3b\u8981\u4e0e\u65f6\u5e8f\u5f15\u64ce\u4ea4\u4e92\u5b9e\u73b0\u6570\u636e\u8ba1\u7b97\u3001sql\u89e3\u6790\u3001\u6a21\u578b\u7b97\u6cd5\u7b49\u529f\u80fd\uff0c\u53ef\u4ee5\u6269\u5c55\u65f6\u5e8f\u5f15\u64ce\u7684\u80fd\u529b\uff0c\u964d\u4f4e\u4f7f\u7528\u7684\u95e8\u69db\uff1b<\/p>\n\n\n\n\u534f\u8bae\u652f\u6301\uff1a<\/strong>\u4e3b\u8981\u9762\u5411\u7528\u6237\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e00\u4e9b\u53ef\u89c6\u5316\u7684\u67e5\u8be2\u548c\u5206\u6790\u652f\u6301\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u6838\u5fc3\u6280\u672f<\/strong><\/p>\n\n\n\n1.\u6d77\u91cf\u65f6\u5e8f\u6570\u636e\u5b58\u50a8<\/strong><\/p>\n\n\n\n\uff081\uff09\u6570\u636e\u538b\u7f29<\/strong><\/p>\n\n\n\n\u8bf4\u8d77\u5b58\u50a8\u5c31\u79bb\u4e0d\u5f00\u538b\u7f29,\u6570\u636e\u7684\u538b\u7f29\u65b9\u6cd5\u548c\u538b\u7f29\u7b97\u6cd5\u7684\u9009\u62e9\u5f88\u5927\u7a0b\u5ea6\u4e0a\u652f\u6301\u4e86\u6d77\u91cf\u6570\u636e\u7684\u50a8\u5b58\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\u4ee3\u8868\u65f6\u95f4\u7a97\u53e3\u4e3a\u4e00\u5c0f\u65f6\u7684\u6570\u636e\uff0c0-3600\u4ee3\u8868\u8fc7\u53bb\u4e00\u4e2a\u5c0f\u65f6\u5185\u7684\u6570\u636e\uff0c\u91c7\u7528key-value\u5b58\u50a8\u683c\u5f0f,\u4ee5\u79d2\u503c\u4f5c\u4e3akey\uff0c\u6bcf\u79d2\u7684\u6570\u636e\u4f5c\u4e3avalue\u5b58\u50a8\u3002<\/p>\n\n\n\n\u8fd9\u91cc\u53c2\u8003facebook grada\u601d\u60f3\u5f15\u5165\u4e86\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u901a\u8fc7\u5217\u5408\u5e76\u7684\u65b9\u5f0f\u628a\u6240\u6709\u7684\u65f6\u95f4\u6233\u548c\u5bf9\u5e94\u7684value\u805a\u5408\u957f\u4e24\u4e2a\u7684\u5927\u6570\u636e\u5757\uff0c\u7136\u540e\u5bf9\u8fd9\u4e2a\u4e24\u4e2a\u5927\u5757\u8fdb\u884c\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u7136\u540e\u518d\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\u7b97\u6cd5\u8fdb\u884c\u538b\u7f29\u3002<\/p>\n\n\n\n\u53e6\u5916\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u91c7\u7528\u4e0d\u540c\u7684\u6570\u636e\u538b\u7f29\u683c\u5f0f\uff0c\u5982\uff1a<\/p>\n\n\n\n\u65f6\u95f4\u6233\uff1adelta- delta<\/li>\u6d6e\u70b9\u578b\uff1aXOR\u7f16\u7801<\/li>\u6574\u578b\uff1avariable length encoding<\/li>\u5b57\u7b26\u4e32\uff1aLZ4\uff0c\u5b9e\u73b0\u4e86\u5b58\u50a8\u5c42\u4e71\u5e8f\u6570\u636e\u538b\u7f29\uff0c\u4fdd\u8bc1\u538b\u7f29\u6570\u636e\u7684\u51c6\u786e\u6027,\u6574\u7406\u7684\u538b\u7f29\u7387\u572815:1\u3002<\/li><\/ul>\n\n\n\n\uff082\uff09\u6570\u636e\u538b\u7f29\u6548\u679c<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u4e3a\u4ec0\u4e48\u8981\u91c7\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u4e2a\u56fe\u3002<\/p>\n\n\n\n\u9996\u5148\u65f6\u5e8f\u538b\u7f29\u9488\u5bf9\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u538b\u7f29\u683c\u5f0f\uff0c\u6240\u4ee5\u6574\u4f53\u7684\u6548\u679c\u4f18\u4e8e\u5757\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u5728\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\u5bf9\u6570\u636e\u538b\u7f29\u540e\u5728\u91c7\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5230\u5757\u538b\u7f29\u7684\u538b\u7f29\u6548\u7387\uff0c\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\u76f8\u6bd4\u5355\u72ec\u7684\u5757\u538b\u7f29\u80fd\u670940%\u7684\u538b\u7f29\u7387\u63d0\u5347\uff0c\u8fd9\u4e3a\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u63d0\u4f9b\u4e86\u6709\u529b\u7684\u5e2e\u52a9\u3002<\/p>\n\n\n\n2.\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u67e5\u8be2<\/strong><\/p>\n\n\n\n\u6dd8\u5b9d\u9b54\u5154\u662f\u963f\u91cc\u4e00\u6b3e\u5e94\u7528\u65e0\u7ebf\u7aef\u6570\u636e\u5206\u6790\u548c\u76d1\u63a7\u7684\u4ea7\u54c1\uff0c\u652f\u6301\u96c6\u56e2\u5185\u90e8500+\u7684\u5e94\u7528\uff0c\u5728\u53cc\u5341\u4e00\u5927\u4fc3\u662f\u67e5\u8be2\u5cf0\u503c\u53ef\u8fbe4000QPS\uff0c\u76f8\u8f83\u4e8e\u5e73\u5e38\u67e5\u8be2\u91cf\u670910\u500d\u7684\u63d0\u5347\uff0c,99%\u8bfb\u5199rt\u90fd\u8981\u6c42\u572820ms\u4ee5\u5185\uff0c\u90a3\u4e48TSDB\u662f\u5982\u4f55\u5b9e\u73b0\u7528\u6237\u7aef\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2\u5462?<\/p>\n\n\n\n\uff081\uff09\u5206\u5e03\u5f0f\u7f13\u5b58\u5b58\u50a8\u9002\u914d<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u65f6\u5e8f\u5f15\u64ce<\/strong>\uff1a<\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\uff1a\u65f6\u95f4\u7ebf\u7684\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u50a8\u5b58\u5f15\u64ce\uff1a\u65f6\u5e8f\u6570\u636e\u3001\u6d77\u91cf\u6570\u636e\u5b58\u50a8\u7684\u89e3\u51b3\u65b9\u6848\uff1b<\/p>\n\n\n\n\u6d41\u5f0f\u6570\u636e\u805a\u5408\uff1a\u5728\u65f6\u5e8f\u6570\u636e\u5e93\u7684\u6d77\u91cf\u6570\u636e\u91cc\u505a\u9ad8\u6548\u7684\u7684\u805a\u5408\u5206\u6790\uff1b<\/p>\n\n\n\n\u7a33\u5b9a\u6027\u7ba1\u7406\uff1a\u5728\u4e91\u4e0a\u7a33\u5b9a\u5b89\u5168\u7684\u8fd0\u884c\uff1b<\/p>\n\n\n\n\u8ba1\u7b97\u5f15\u64ce\u3001sql\u5f15\u64ce\u3001\u667a\u80fd\u5f15\u64ce<\/strong>\uff1a\u4e3b\u8981\u4e0e\u65f6\u5e8f\u5f15\u64ce\u4ea4\u4e92\u5b9e\u73b0\u6570\u636e\u8ba1\u7b97\u3001sql\u89e3\u6790\u3001\u6a21\u578b\u7b97\u6cd5\u7b49\u529f\u80fd\uff0c\u53ef\u4ee5\u6269\u5c55\u65f6\u5e8f\u5f15\u64ce\u7684\u80fd\u529b\uff0c\u964d\u4f4e\u4f7f\u7528\u7684\u95e8\u69db\uff1b<\/p>\n\n\n\n\u534f\u8bae\u652f\u6301\uff1a<\/strong>\u4e3b\u8981\u9762\u5411\u7528\u6237\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e00\u4e9b\u53ef\u89c6\u5316\u7684\u67e5\u8be2\u548c\u5206\u6790\u652f\u6301\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u6838\u5fc3\u6280\u672f<\/strong><\/p>\n\n\n\n1.\u6d77\u91cf\u65f6\u5e8f\u6570\u636e\u5b58\u50a8<\/strong><\/p>\n\n\n\n\uff081\uff09\u6570\u636e\u538b\u7f29<\/strong><\/p>\n\n\n\n\u8bf4\u8d77\u5b58\u50a8\u5c31\u79bb\u4e0d\u5f00\u538b\u7f29,\u6570\u636e\u7684\u538b\u7f29\u65b9\u6cd5\u548c\u538b\u7f29\u7b97\u6cd5\u7684\u9009\u62e9\u5f88\u5927\u7a0b\u5ea6\u4e0a\u652f\u6301\u4e86\u6d77\u91cf\u6570\u636e\u7684\u50a8\u5b58\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\u4ee3\u8868\u65f6\u95f4\u7a97\u53e3\u4e3a\u4e00\u5c0f\u65f6\u7684\u6570\u636e\uff0c0-3600\u4ee3\u8868\u8fc7\u53bb\u4e00\u4e2a\u5c0f\u65f6\u5185\u7684\u6570\u636e\uff0c\u91c7\u7528key-value\u5b58\u50a8\u683c\u5f0f,\u4ee5\u79d2\u503c\u4f5c\u4e3akey\uff0c\u6bcf\u79d2\u7684\u6570\u636e\u4f5c\u4e3avalue\u5b58\u50a8\u3002<\/p>\n\n\n\n\u8fd9\u91cc\u53c2\u8003facebook grada\u601d\u60f3\u5f15\u5165\u4e86\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u901a\u8fc7\u5217\u5408\u5e76\u7684\u65b9\u5f0f\u628a\u6240\u6709\u7684\u65f6\u95f4\u6233\u548c\u5bf9\u5e94\u7684value\u805a\u5408\u957f\u4e24\u4e2a\u7684\u5927\u6570\u636e\u5757\uff0c\u7136\u540e\u5bf9\u8fd9\u4e2a\u4e24\u4e2a\u5927\u5757\u8fdb\u884c\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u7136\u540e\u518d\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\u7b97\u6cd5\u8fdb\u884c\u538b\u7f29\u3002<\/p>\n\n\n\n\u53e6\u5916\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u91c7\u7528\u4e0d\u540c\u7684\u6570\u636e\u538b\u7f29\u683c\u5f0f\uff0c\u5982\uff1a<\/p>\n\n\n\n\u65f6\u95f4\u6233\uff1adelta- delta<\/li>\u6d6e\u70b9\u578b\uff1aXOR\u7f16\u7801<\/li>\u6574\u578b\uff1avariable length encoding<\/li>\u5b57\u7b26\u4e32\uff1aLZ4\uff0c\u5b9e\u73b0\u4e86\u5b58\u50a8\u5c42\u4e71\u5e8f\u6570\u636e\u538b\u7f29\uff0c\u4fdd\u8bc1\u538b\u7f29\u6570\u636e\u7684\u51c6\u786e\u6027,\u6574\u7406\u7684\u538b\u7f29\u7387\u572815:1\u3002<\/li><\/ul>\n\n\n\n\uff082\uff09\u6570\u636e\u538b\u7f29\u6548\u679c<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u4e3a\u4ec0\u4e48\u8981\u91c7\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u4e2a\u56fe\u3002<\/p>\n\n\n\n\u9996\u5148\u65f6\u5e8f\u538b\u7f29\u9488\u5bf9\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u538b\u7f29\u683c\u5f0f\uff0c\u6240\u4ee5\u6574\u4f53\u7684\u6548\u679c\u4f18\u4e8e\u5757\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u5728\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\u5bf9\u6570\u636e\u538b\u7f29\u540e\u5728\u91c7\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5230\u5757\u538b\u7f29\u7684\u538b\u7f29\u6548\u7387\uff0c\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\u76f8\u6bd4\u5355\u72ec\u7684\u5757\u538b\u7f29\u80fd\u670940%\u7684\u538b\u7f29\u7387\u63d0\u5347\uff0c\u8fd9\u4e3a\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u63d0\u4f9b\u4e86\u6709\u529b\u7684\u5e2e\u52a9\u3002<\/p>\n\n\n\n2.\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u67e5\u8be2<\/strong><\/p>\n\n\n\n\u6dd8\u5b9d\u9b54\u5154\u662f\u963f\u91cc\u4e00\u6b3e\u5e94\u7528\u65e0\u7ebf\u7aef\u6570\u636e\u5206\u6790\u548c\u76d1\u63a7\u7684\u4ea7\u54c1\uff0c\u652f\u6301\u96c6\u56e2\u5185\u90e8500+\u7684\u5e94\u7528\uff0c\u5728\u53cc\u5341\u4e00\u5927\u4fc3\u662f\u67e5\u8be2\u5cf0\u503c\u53ef\u8fbe4000QPS\uff0c\u76f8\u8f83\u4e8e\u5e73\u5e38\u67e5\u8be2\u91cf\u670910\u500d\u7684\u63d0\u5347\uff0c,99%\u8bfb\u5199rt\u90fd\u8981\u6c42\u572820ms\u4ee5\u5185\uff0c\u90a3\u4e48TSDB\u662f\u5982\u4f55\u5b9e\u73b0\u7528\u6237\u7aef\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2\u5462?<\/p>\n\n\n\n\uff081\uff09\u5206\u5e03\u5f0f\u7f13\u5b58\u5b58\u50a8\u9002\u914d<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u65f6\u5e8f\u7d22\u5f15\uff1a\u65f6\u95f4\u7ebf\u7684\u67e5\u8be2\uff1b<\/p>\n\n\n\n
\u50a8\u5b58\u5f15\u64ce\uff1a\u65f6\u5e8f\u6570\u636e\u3001\u6d77\u91cf\u6570\u636e\u5b58\u50a8\u7684\u89e3\u51b3\u65b9\u6848\uff1b<\/p>\n\n\n\n
\u6d41\u5f0f\u6570\u636e\u805a\u5408\uff1a\u5728\u65f6\u5e8f\u6570\u636e\u5e93\u7684\u6d77\u91cf\u6570\u636e\u91cc\u505a\u9ad8\u6548\u7684\u7684\u805a\u5408\u5206\u6790\uff1b<\/p>\n\n\n\n
\u7a33\u5b9a\u6027\u7ba1\u7406\uff1a\u5728\u4e91\u4e0a\u7a33\u5b9a\u5b89\u5168\u7684\u8fd0\u884c\uff1b<\/p>\n\n\n\n
\u8ba1\u7b97\u5f15\u64ce\u3001sql\u5f15\u64ce\u3001\u667a\u80fd\u5f15\u64ce<\/strong>\uff1a\u4e3b\u8981\u4e0e\u65f6\u5e8f\u5f15\u64ce\u4ea4\u4e92\u5b9e\u73b0\u6570\u636e\u8ba1\u7b97\u3001sql\u89e3\u6790\u3001\u6a21\u578b\u7b97\u6cd5\u7b49\u529f\u80fd\uff0c\u53ef\u4ee5\u6269\u5c55\u65f6\u5e8f\u5f15\u64ce\u7684\u80fd\u529b\uff0c\u964d\u4f4e\u4f7f\u7528\u7684\u95e8\u69db\uff1b<\/p>\n\n\n\n\u534f\u8bae\u652f\u6301\uff1a<\/strong>\u4e3b\u8981\u9762\u5411\u7528\u6237\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e00\u4e9b\u53ef\u89c6\u5316\u7684\u67e5\u8be2\u548c\u5206\u6790\u652f\u6301\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u6838\u5fc3\u6280\u672f<\/strong><\/p>\n\n\n\n1.\u6d77\u91cf\u65f6\u5e8f\u6570\u636e\u5b58\u50a8<\/strong><\/p>\n\n\n\n\uff081\uff09\u6570\u636e\u538b\u7f29<\/strong><\/p>\n\n\n\n\u8bf4\u8d77\u5b58\u50a8\u5c31\u79bb\u4e0d\u5f00\u538b\u7f29,\u6570\u636e\u7684\u538b\u7f29\u65b9\u6cd5\u548c\u538b\u7f29\u7b97\u6cd5\u7684\u9009\u62e9\u5f88\u5927\u7a0b\u5ea6\u4e0a\u652f\u6301\u4e86\u6d77\u91cf\u6570\u636e\u7684\u50a8\u5b58\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\u4ee3\u8868\u65f6\u95f4\u7a97\u53e3\u4e3a\u4e00\u5c0f\u65f6\u7684\u6570\u636e\uff0c0-3600\u4ee3\u8868\u8fc7\u53bb\u4e00\u4e2a\u5c0f\u65f6\u5185\u7684\u6570\u636e\uff0c\u91c7\u7528key-value\u5b58\u50a8\u683c\u5f0f,\u4ee5\u79d2\u503c\u4f5c\u4e3akey\uff0c\u6bcf\u79d2\u7684\u6570\u636e\u4f5c\u4e3avalue\u5b58\u50a8\u3002<\/p>\n\n\n\n\u8fd9\u91cc\u53c2\u8003facebook grada\u601d\u60f3\u5f15\u5165\u4e86\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u901a\u8fc7\u5217\u5408\u5e76\u7684\u65b9\u5f0f\u628a\u6240\u6709\u7684\u65f6\u95f4\u6233\u548c\u5bf9\u5e94\u7684value\u805a\u5408\u957f\u4e24\u4e2a\u7684\u5927\u6570\u636e\u5757\uff0c\u7136\u540e\u5bf9\u8fd9\u4e2a\u4e24\u4e2a\u5927\u5757\u8fdb\u884c\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u7136\u540e\u518d\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\u7b97\u6cd5\u8fdb\u884c\u538b\u7f29\u3002<\/p>\n\n\n\n\u53e6\u5916\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u91c7\u7528\u4e0d\u540c\u7684\u6570\u636e\u538b\u7f29\u683c\u5f0f\uff0c\u5982\uff1a<\/p>\n\n\n\n\u65f6\u95f4\u6233\uff1adelta- delta<\/li>\u6d6e\u70b9\u578b\uff1aXOR\u7f16\u7801<\/li>\u6574\u578b\uff1avariable length encoding<\/li>\u5b57\u7b26\u4e32\uff1aLZ4\uff0c\u5b9e\u73b0\u4e86\u5b58\u50a8\u5c42\u4e71\u5e8f\u6570\u636e\u538b\u7f29\uff0c\u4fdd\u8bc1\u538b\u7f29\u6570\u636e\u7684\u51c6\u786e\u6027,\u6574\u7406\u7684\u538b\u7f29\u7387\u572815:1\u3002<\/li><\/ul>\n\n\n\n\uff082\uff09\u6570\u636e\u538b\u7f29\u6548\u679c<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u4e3a\u4ec0\u4e48\u8981\u91c7\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u4e2a\u56fe\u3002<\/p>\n\n\n\n\u9996\u5148\u65f6\u5e8f\u538b\u7f29\u9488\u5bf9\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u538b\u7f29\u683c\u5f0f\uff0c\u6240\u4ee5\u6574\u4f53\u7684\u6548\u679c\u4f18\u4e8e\u5757\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u5728\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\u5bf9\u6570\u636e\u538b\u7f29\u540e\u5728\u91c7\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5230\u5757\u538b\u7f29\u7684\u538b\u7f29\u6548\u7387\uff0c\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\u76f8\u6bd4\u5355\u72ec\u7684\u5757\u538b\u7f29\u80fd\u670940%\u7684\u538b\u7f29\u7387\u63d0\u5347\uff0c\u8fd9\u4e3a\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u63d0\u4f9b\u4e86\u6709\u529b\u7684\u5e2e\u52a9\u3002<\/p>\n\n\n\n2.\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u67e5\u8be2<\/strong><\/p>\n\n\n\n\u6dd8\u5b9d\u9b54\u5154\u662f\u963f\u91cc\u4e00\u6b3e\u5e94\u7528\u65e0\u7ebf\u7aef\u6570\u636e\u5206\u6790\u548c\u76d1\u63a7\u7684\u4ea7\u54c1\uff0c\u652f\u6301\u96c6\u56e2\u5185\u90e8500+\u7684\u5e94\u7528\uff0c\u5728\u53cc\u5341\u4e00\u5927\u4fc3\u662f\u67e5\u8be2\u5cf0\u503c\u53ef\u8fbe4000QPS\uff0c\u76f8\u8f83\u4e8e\u5e73\u5e38\u67e5\u8be2\u91cf\u670910\u500d\u7684\u63d0\u5347\uff0c,99%\u8bfb\u5199rt\u90fd\u8981\u6c42\u572820ms\u4ee5\u5185\uff0c\u90a3\u4e48TSDB\u662f\u5982\u4f55\u5b9e\u73b0\u7528\u6237\u7aef\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2\u5462?<\/p>\n\n\n\n\uff081\uff09\u5206\u5e03\u5f0f\u7f13\u5b58\u5b58\u50a8\u9002\u914d<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u534f\u8bae\u652f\u6301\uff1a<\/strong>\u4e3b\u8981\u9762\u5411\u7528\u6237\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e00\u4e9b\u53ef\u89c6\u5316\u7684\u67e5\u8be2\u548c\u5206\u6790\u652f\u6301\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u6838\u5fc3\u6280\u672f<\/strong><\/p>\n\n\n\n1.\u6d77\u91cf\u65f6\u5e8f\u6570\u636e\u5b58\u50a8<\/strong><\/p>\n\n\n\n\uff081\uff09\u6570\u636e\u538b\u7f29<\/strong><\/p>\n\n\n\n\u8bf4\u8d77\u5b58\u50a8\u5c31\u79bb\u4e0d\u5f00\u538b\u7f29,\u6570\u636e\u7684\u538b\u7f29\u65b9\u6cd5\u548c\u538b\u7f29\u7b97\u6cd5\u7684\u9009\u62e9\u5f88\u5927\u7a0b\u5ea6\u4e0a\u652f\u6301\u4e86\u6d77\u91cf\u6570\u636e\u7684\u50a8\u5b58\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\u4ee3\u8868\u65f6\u95f4\u7a97\u53e3\u4e3a\u4e00\u5c0f\u65f6\u7684\u6570\u636e\uff0c0-3600\u4ee3\u8868\u8fc7\u53bb\u4e00\u4e2a\u5c0f\u65f6\u5185\u7684\u6570\u636e\uff0c\u91c7\u7528key-value\u5b58\u50a8\u683c\u5f0f,\u4ee5\u79d2\u503c\u4f5c\u4e3akey\uff0c\u6bcf\u79d2\u7684\u6570\u636e\u4f5c\u4e3avalue\u5b58\u50a8\u3002<\/p>\n\n\n\n\u8fd9\u91cc\u53c2\u8003facebook grada\u601d\u60f3\u5f15\u5165\u4e86\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u901a\u8fc7\u5217\u5408\u5e76\u7684\u65b9\u5f0f\u628a\u6240\u6709\u7684\u65f6\u95f4\u6233\u548c\u5bf9\u5e94\u7684value\u805a\u5408\u957f\u4e24\u4e2a\u7684\u5927\u6570\u636e\u5757\uff0c\u7136\u540e\u5bf9\u8fd9\u4e2a\u4e24\u4e2a\u5927\u5757\u8fdb\u884c\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u7136\u540e\u518d\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\u7b97\u6cd5\u8fdb\u884c\u538b\u7f29\u3002<\/p>\n\n\n\n\u53e6\u5916\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u91c7\u7528\u4e0d\u540c\u7684\u6570\u636e\u538b\u7f29\u683c\u5f0f\uff0c\u5982\uff1a<\/p>\n\n\n\n\u65f6\u95f4\u6233\uff1adelta- delta<\/li>\u6d6e\u70b9\u578b\uff1aXOR\u7f16\u7801<\/li>\u6574\u578b\uff1avariable length encoding<\/li>\u5b57\u7b26\u4e32\uff1aLZ4\uff0c\u5b9e\u73b0\u4e86\u5b58\u50a8\u5c42\u4e71\u5e8f\u6570\u636e\u538b\u7f29\uff0c\u4fdd\u8bc1\u538b\u7f29\u6570\u636e\u7684\u51c6\u786e\u6027,\u6574\u7406\u7684\u538b\u7f29\u7387\u572815:1\u3002<\/li><\/ul>\n\n\n\n\uff082\uff09\u6570\u636e\u538b\u7f29\u6548\u679c<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u4e3a\u4ec0\u4e48\u8981\u91c7\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u4e2a\u56fe\u3002<\/p>\n\n\n\n\u9996\u5148\u65f6\u5e8f\u538b\u7f29\u9488\u5bf9\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u538b\u7f29\u683c\u5f0f\uff0c\u6240\u4ee5\u6574\u4f53\u7684\u6548\u679c\u4f18\u4e8e\u5757\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u5728\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\u5bf9\u6570\u636e\u538b\u7f29\u540e\u5728\u91c7\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5230\u5757\u538b\u7f29\u7684\u538b\u7f29\u6548\u7387\uff0c\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\u76f8\u6bd4\u5355\u72ec\u7684\u5757\u538b\u7f29\u80fd\u670940%\u7684\u538b\u7f29\u7387\u63d0\u5347\uff0c\u8fd9\u4e3a\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u63d0\u4f9b\u4e86\u6709\u529b\u7684\u5e2e\u52a9\u3002<\/p>\n\n\n\n2.\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u67e5\u8be2<\/strong><\/p>\n\n\n\n\u6dd8\u5b9d\u9b54\u5154\u662f\u963f\u91cc\u4e00\u6b3e\u5e94\u7528\u65e0\u7ebf\u7aef\u6570\u636e\u5206\u6790\u548c\u76d1\u63a7\u7684\u4ea7\u54c1\uff0c\u652f\u6301\u96c6\u56e2\u5185\u90e8500+\u7684\u5e94\u7528\uff0c\u5728\u53cc\u5341\u4e00\u5927\u4fc3\u662f\u67e5\u8be2\u5cf0\u503c\u53ef\u8fbe4000QPS\uff0c\u76f8\u8f83\u4e8e\u5e73\u5e38\u67e5\u8be2\u91cf\u670910\u500d\u7684\u63d0\u5347\uff0c,99%\u8bfb\u5199rt\u90fd\u8981\u6c42\u572820ms\u4ee5\u5185\uff0c\u90a3\u4e48TSDB\u662f\u5982\u4f55\u5b9e\u73b0\u7528\u6237\u7aef\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2\u5462?<\/p>\n\n\n\n\uff081\uff09\u5206\u5e03\u5f0f\u7f13\u5b58\u5b58\u50a8\u9002\u914d<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
03<\/strong><\/p>\n\n\n\n\u6838\u5fc3\u6280\u672f<\/strong><\/p>\n\n\n\n1.\u6d77\u91cf\u65f6\u5e8f\u6570\u636e\u5b58\u50a8<\/strong><\/p>\n\n\n\n\uff081\uff09\u6570\u636e\u538b\u7f29<\/strong><\/p>\n\n\n\n\u8bf4\u8d77\u5b58\u50a8\u5c31\u79bb\u4e0d\u5f00\u538b\u7f29,\u6570\u636e\u7684\u538b\u7f29\u65b9\u6cd5\u548c\u538b\u7f29\u7b97\u6cd5\u7684\u9009\u62e9\u5f88\u5927\u7a0b\u5ea6\u4e0a\u652f\u6301\u4e86\u6d77\u91cf\u6570\u636e\u7684\u50a8\u5b58\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\u4ee3\u8868\u65f6\u95f4\u7a97\u53e3\u4e3a\u4e00\u5c0f\u65f6\u7684\u6570\u636e\uff0c0-3600\u4ee3\u8868\u8fc7\u53bb\u4e00\u4e2a\u5c0f\u65f6\u5185\u7684\u6570\u636e\uff0c\u91c7\u7528key-value\u5b58\u50a8\u683c\u5f0f,\u4ee5\u79d2\u503c\u4f5c\u4e3akey\uff0c\u6bcf\u79d2\u7684\u6570\u636e\u4f5c\u4e3avalue\u5b58\u50a8\u3002<\/p>\n\n\n\n\u8fd9\u91cc\u53c2\u8003facebook grada\u601d\u60f3\u5f15\u5165\u4e86\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u901a\u8fc7\u5217\u5408\u5e76\u7684\u65b9\u5f0f\u628a\u6240\u6709\u7684\u65f6\u95f4\u6233\u548c\u5bf9\u5e94\u7684value\u805a\u5408\u957f\u4e24\u4e2a\u7684\u5927\u6570\u636e\u5757\uff0c\u7136\u540e\u5bf9\u8fd9\u4e2a\u4e24\u4e2a\u5927\u5757\u8fdb\u884c\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u7136\u540e\u518d\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\u7b97\u6cd5\u8fdb\u884c\u538b\u7f29\u3002<\/p>\n\n\n\n\u53e6\u5916\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u91c7\u7528\u4e0d\u540c\u7684\u6570\u636e\u538b\u7f29\u683c\u5f0f\uff0c\u5982\uff1a<\/p>\n\n\n\n\u65f6\u95f4\u6233\uff1adelta- delta<\/li>\u6d6e\u70b9\u578b\uff1aXOR\u7f16\u7801<\/li>\u6574\u578b\uff1avariable length encoding<\/li>\u5b57\u7b26\u4e32\uff1aLZ4\uff0c\u5b9e\u73b0\u4e86\u5b58\u50a8\u5c42\u4e71\u5e8f\u6570\u636e\u538b\u7f29\uff0c\u4fdd\u8bc1\u538b\u7f29\u6570\u636e\u7684\u51c6\u786e\u6027,\u6574\u7406\u7684\u538b\u7f29\u7387\u572815:1\u3002<\/li><\/ul>\n\n\n\n\uff082\uff09\u6570\u636e\u538b\u7f29\u6548\u679c<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u4e3a\u4ec0\u4e48\u8981\u91c7\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u4e2a\u56fe\u3002<\/p>\n\n\n\n\u9996\u5148\u65f6\u5e8f\u538b\u7f29\u9488\u5bf9\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u538b\u7f29\u683c\u5f0f\uff0c\u6240\u4ee5\u6574\u4f53\u7684\u6548\u679c\u4f18\u4e8e\u5757\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u5728\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\u5bf9\u6570\u636e\u538b\u7f29\u540e\u5728\u91c7\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5230\u5757\u538b\u7f29\u7684\u538b\u7f29\u6548\u7387\uff0c\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\u76f8\u6bd4\u5355\u72ec\u7684\u5757\u538b\u7f29\u80fd\u670940%\u7684\u538b\u7f29\u7387\u63d0\u5347\uff0c\u8fd9\u4e3a\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u63d0\u4f9b\u4e86\u6709\u529b\u7684\u5e2e\u52a9\u3002<\/p>\n\n\n\n2.\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u67e5\u8be2<\/strong><\/p>\n\n\n\n\u6dd8\u5b9d\u9b54\u5154\u662f\u963f\u91cc\u4e00\u6b3e\u5e94\u7528\u65e0\u7ebf\u7aef\u6570\u636e\u5206\u6790\u548c\u76d1\u63a7\u7684\u4ea7\u54c1\uff0c\u652f\u6301\u96c6\u56e2\u5185\u90e8500+\u7684\u5e94\u7528\uff0c\u5728\u53cc\u5341\u4e00\u5927\u4fc3\u662f\u67e5\u8be2\u5cf0\u503c\u53ef\u8fbe4000QPS\uff0c\u76f8\u8f83\u4e8e\u5e73\u5e38\u67e5\u8be2\u91cf\u670910\u500d\u7684\u63d0\u5347\uff0c,99%\u8bfb\u5199rt\u90fd\u8981\u6c42\u572820ms\u4ee5\u5185\uff0c\u90a3\u4e48TSDB\u662f\u5982\u4f55\u5b9e\u73b0\u7528\u6237\u7aef\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2\u5462?<\/p>\n\n\n\n\uff081\uff09\u5206\u5e03\u5f0f\u7f13\u5b58\u5b58\u50a8\u9002\u914d<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u6838\u5fc3\u6280\u672f<\/strong><\/p>\n\n\n\n1.\u6d77\u91cf\u65f6\u5e8f\u6570\u636e\u5b58\u50a8<\/strong><\/p>\n\n\n\n\uff081\uff09\u6570\u636e\u538b\u7f29<\/strong><\/p>\n\n\n\n\u8bf4\u8d77\u5b58\u50a8\u5c31\u79bb\u4e0d\u5f00\u538b\u7f29,\u6570\u636e\u7684\u538b\u7f29\u65b9\u6cd5\u548c\u538b\u7f29\u7b97\u6cd5\u7684\u9009\u62e9\u5f88\u5927\u7a0b\u5ea6\u4e0a\u652f\u6301\u4e86\u6d77\u91cf\u6570\u636e\u7684\u50a8\u5b58\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\u4ee3\u8868\u65f6\u95f4\u7a97\u53e3\u4e3a\u4e00\u5c0f\u65f6\u7684\u6570\u636e\uff0c0-3600\u4ee3\u8868\u8fc7\u53bb\u4e00\u4e2a\u5c0f\u65f6\u5185\u7684\u6570\u636e\uff0c\u91c7\u7528key-value\u5b58\u50a8\u683c\u5f0f,\u4ee5\u79d2\u503c\u4f5c\u4e3akey\uff0c\u6bcf\u79d2\u7684\u6570\u636e\u4f5c\u4e3avalue\u5b58\u50a8\u3002<\/p>\n\n\n\n\u8fd9\u91cc\u53c2\u8003facebook grada\u601d\u60f3\u5f15\u5165\u4e86\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u901a\u8fc7\u5217\u5408\u5e76\u7684\u65b9\u5f0f\u628a\u6240\u6709\u7684\u65f6\u95f4\u6233\u548c\u5bf9\u5e94\u7684value\u805a\u5408\u957f\u4e24\u4e2a\u7684\u5927\u6570\u636e\u5757\uff0c\u7136\u540e\u5bf9\u8fd9\u4e2a\u4e24\u4e2a\u5927\u5757\u8fdb\u884c\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u7136\u540e\u518d\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\u7b97\u6cd5\u8fdb\u884c\u538b\u7f29\u3002<\/p>\n\n\n\n\u53e6\u5916\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u91c7\u7528\u4e0d\u540c\u7684\u6570\u636e\u538b\u7f29\u683c\u5f0f\uff0c\u5982\uff1a<\/p>\n\n\n\n\u65f6\u95f4\u6233\uff1adelta- delta<\/li>\u6d6e\u70b9\u578b\uff1aXOR\u7f16\u7801<\/li>\u6574\u578b\uff1avariable length encoding<\/li>\u5b57\u7b26\u4e32\uff1aLZ4\uff0c\u5b9e\u73b0\u4e86\u5b58\u50a8\u5c42\u4e71\u5e8f\u6570\u636e\u538b\u7f29\uff0c\u4fdd\u8bc1\u538b\u7f29\u6570\u636e\u7684\u51c6\u786e\u6027,\u6574\u7406\u7684\u538b\u7f29\u7387\u572815:1\u3002<\/li><\/ul>\n\n\n\n\uff082\uff09\u6570\u636e\u538b\u7f29\u6548\u679c<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u4e3a\u4ec0\u4e48\u8981\u91c7\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u4e2a\u56fe\u3002<\/p>\n\n\n\n\u9996\u5148\u65f6\u5e8f\u538b\u7f29\u9488\u5bf9\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u538b\u7f29\u683c\u5f0f\uff0c\u6240\u4ee5\u6574\u4f53\u7684\u6548\u679c\u4f18\u4e8e\u5757\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u5728\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\u5bf9\u6570\u636e\u538b\u7f29\u540e\u5728\u91c7\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5230\u5757\u538b\u7f29\u7684\u538b\u7f29\u6548\u7387\uff0c\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\u76f8\u6bd4\u5355\u72ec\u7684\u5757\u538b\u7f29\u80fd\u670940%\u7684\u538b\u7f29\u7387\u63d0\u5347\uff0c\u8fd9\u4e3a\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u63d0\u4f9b\u4e86\u6709\u529b\u7684\u5e2e\u52a9\u3002<\/p>\n\n\n\n2.\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u67e5\u8be2<\/strong><\/p>\n\n\n\n\u6dd8\u5b9d\u9b54\u5154\u662f\u963f\u91cc\u4e00\u6b3e\u5e94\u7528\u65e0\u7ebf\u7aef\u6570\u636e\u5206\u6790\u548c\u76d1\u63a7\u7684\u4ea7\u54c1\uff0c\u652f\u6301\u96c6\u56e2\u5185\u90e8500+\u7684\u5e94\u7528\uff0c\u5728\u53cc\u5341\u4e00\u5927\u4fc3\u662f\u67e5\u8be2\u5cf0\u503c\u53ef\u8fbe4000QPS\uff0c\u76f8\u8f83\u4e8e\u5e73\u5e38\u67e5\u8be2\u91cf\u670910\u500d\u7684\u63d0\u5347\uff0c,99%\u8bfb\u5199rt\u90fd\u8981\u6c42\u572820ms\u4ee5\u5185\uff0c\u90a3\u4e48TSDB\u662f\u5982\u4f55\u5b9e\u73b0\u7528\u6237\u7aef\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2\u5462?<\/p>\n\n\n\n\uff081\uff09\u5206\u5e03\u5f0f\u7f13\u5b58\u5b58\u50a8\u9002\u914d<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
1.\u6d77\u91cf\u65f6\u5e8f\u6570\u636e\u5b58\u50a8<\/strong><\/p>\n\n\n\n\uff081\uff09\u6570\u636e\u538b\u7f29<\/strong><\/p>\n\n\n\n\u8bf4\u8d77\u5b58\u50a8\u5c31\u79bb\u4e0d\u5f00\u538b\u7f29,\u6570\u636e\u7684\u538b\u7f29\u65b9\u6cd5\u548c\u538b\u7f29\u7b97\u6cd5\u7684\u9009\u62e9\u5f88\u5927\u7a0b\u5ea6\u4e0a\u652f\u6301\u4e86\u6d77\u91cf\u6570\u636e\u7684\u50a8\u5b58\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\u4ee3\u8868\u65f6\u95f4\u7a97\u53e3\u4e3a\u4e00\u5c0f\u65f6\u7684\u6570\u636e\uff0c0-3600\u4ee3\u8868\u8fc7\u53bb\u4e00\u4e2a\u5c0f\u65f6\u5185\u7684\u6570\u636e\uff0c\u91c7\u7528key-value\u5b58\u50a8\u683c\u5f0f,\u4ee5\u79d2\u503c\u4f5c\u4e3akey\uff0c\u6bcf\u79d2\u7684\u6570\u636e\u4f5c\u4e3avalue\u5b58\u50a8\u3002<\/p>\n\n\n\n\u8fd9\u91cc\u53c2\u8003facebook grada\u601d\u60f3\u5f15\u5165\u4e86\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u901a\u8fc7\u5217\u5408\u5e76\u7684\u65b9\u5f0f\u628a\u6240\u6709\u7684\u65f6\u95f4\u6233\u548c\u5bf9\u5e94\u7684value\u805a\u5408\u957f\u4e24\u4e2a\u7684\u5927\u6570\u636e\u5757\uff0c\u7136\u540e\u5bf9\u8fd9\u4e2a\u4e24\u4e2a\u5927\u5757\u8fdb\u884c\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u7136\u540e\u518d\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\u7b97\u6cd5\u8fdb\u884c\u538b\u7f29\u3002<\/p>\n\n\n\n\u53e6\u5916\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u91c7\u7528\u4e0d\u540c\u7684\u6570\u636e\u538b\u7f29\u683c\u5f0f\uff0c\u5982\uff1a<\/p>\n\n\n\n\u65f6\u95f4\u6233\uff1adelta- delta<\/li>\u6d6e\u70b9\u578b\uff1aXOR\u7f16\u7801<\/li>\u6574\u578b\uff1avariable length encoding<\/li>\u5b57\u7b26\u4e32\uff1aLZ4\uff0c\u5b9e\u73b0\u4e86\u5b58\u50a8\u5c42\u4e71\u5e8f\u6570\u636e\u538b\u7f29\uff0c\u4fdd\u8bc1\u538b\u7f29\u6570\u636e\u7684\u51c6\u786e\u6027,\u6574\u7406\u7684\u538b\u7f29\u7387\u572815:1\u3002<\/li><\/ul>\n\n\n\n\uff082\uff09\u6570\u636e\u538b\u7f29\u6548\u679c<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u4e3a\u4ec0\u4e48\u8981\u91c7\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u4e2a\u56fe\u3002<\/p>\n\n\n\n\u9996\u5148\u65f6\u5e8f\u538b\u7f29\u9488\u5bf9\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u538b\u7f29\u683c\u5f0f\uff0c\u6240\u4ee5\u6574\u4f53\u7684\u6548\u679c\u4f18\u4e8e\u5757\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u5728\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\u5bf9\u6570\u636e\u538b\u7f29\u540e\u5728\u91c7\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5230\u5757\u538b\u7f29\u7684\u538b\u7f29\u6548\u7387\uff0c\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\u76f8\u6bd4\u5355\u72ec\u7684\u5757\u538b\u7f29\u80fd\u670940%\u7684\u538b\u7f29\u7387\u63d0\u5347\uff0c\u8fd9\u4e3a\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u63d0\u4f9b\u4e86\u6709\u529b\u7684\u5e2e\u52a9\u3002<\/p>\n\n\n\n2.\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u67e5\u8be2<\/strong><\/p>\n\n\n\n\u6dd8\u5b9d\u9b54\u5154\u662f\u963f\u91cc\u4e00\u6b3e\u5e94\u7528\u65e0\u7ebf\u7aef\u6570\u636e\u5206\u6790\u548c\u76d1\u63a7\u7684\u4ea7\u54c1\uff0c\u652f\u6301\u96c6\u56e2\u5185\u90e8500+\u7684\u5e94\u7528\uff0c\u5728\u53cc\u5341\u4e00\u5927\u4fc3\u662f\u67e5\u8be2\u5cf0\u503c\u53ef\u8fbe4000QPS\uff0c\u76f8\u8f83\u4e8e\u5e73\u5e38\u67e5\u8be2\u91cf\u670910\u500d\u7684\u63d0\u5347\uff0c,99%\u8bfb\u5199rt\u90fd\u8981\u6c42\u572820ms\u4ee5\u5185\uff0c\u90a3\u4e48TSDB\u662f\u5982\u4f55\u5b9e\u73b0\u7528\u6237\u7aef\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2\u5462?<\/p>\n\n\n\n\uff081\uff09\u5206\u5e03\u5f0f\u7f13\u5b58\u5b58\u50a8\u9002\u914d<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\uff081\uff09\u6570\u636e\u538b\u7f29<\/strong><\/p>\n\n\n\n\u8bf4\u8d77\u5b58\u50a8\u5c31\u79bb\u4e0d\u5f00\u538b\u7f29,\u6570\u636e\u7684\u538b\u7f29\u65b9\u6cd5\u548c\u538b\u7f29\u7b97\u6cd5\u7684\u9009\u62e9\u5f88\u5927\u7a0b\u5ea6\u4e0a\u652f\u6301\u4e86\u6d77\u91cf\u6570\u636e\u7684\u50a8\u5b58\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\u4ee3\u8868\u65f6\u95f4\u7a97\u53e3\u4e3a\u4e00\u5c0f\u65f6\u7684\u6570\u636e\uff0c0-3600\u4ee3\u8868\u8fc7\u53bb\u4e00\u4e2a\u5c0f\u65f6\u5185\u7684\u6570\u636e\uff0c\u91c7\u7528key-value\u5b58\u50a8\u683c\u5f0f,\u4ee5\u79d2\u503c\u4f5c\u4e3akey\uff0c\u6bcf\u79d2\u7684\u6570\u636e\u4f5c\u4e3avalue\u5b58\u50a8\u3002<\/p>\n\n\n\n\u8fd9\u91cc\u53c2\u8003facebook grada\u601d\u60f3\u5f15\u5165\u4e86\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u901a\u8fc7\u5217\u5408\u5e76\u7684\u65b9\u5f0f\u628a\u6240\u6709\u7684\u65f6\u95f4\u6233\u548c\u5bf9\u5e94\u7684value\u805a\u5408\u957f\u4e24\u4e2a\u7684\u5927\u6570\u636e\u5757\uff0c\u7136\u540e\u5bf9\u8fd9\u4e2a\u4e24\u4e2a\u5927\u5757\u8fdb\u884c\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u7136\u540e\u518d\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\u7b97\u6cd5\u8fdb\u884c\u538b\u7f29\u3002<\/p>\n\n\n\n\u53e6\u5916\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u91c7\u7528\u4e0d\u540c\u7684\u6570\u636e\u538b\u7f29\u683c\u5f0f\uff0c\u5982\uff1a<\/p>\n\n\n\n\u65f6\u95f4\u6233\uff1adelta- delta<\/li>\u6d6e\u70b9\u578b\uff1aXOR\u7f16\u7801<\/li>\u6574\u578b\uff1avariable length encoding<\/li>\u5b57\u7b26\u4e32\uff1aLZ4\uff0c\u5b9e\u73b0\u4e86\u5b58\u50a8\u5c42\u4e71\u5e8f\u6570\u636e\u538b\u7f29\uff0c\u4fdd\u8bc1\u538b\u7f29\u6570\u636e\u7684\u51c6\u786e\u6027,\u6574\u7406\u7684\u538b\u7f29\u7387\u572815:1\u3002<\/li><\/ul>\n\n\n\n\uff082\uff09\u6570\u636e\u538b\u7f29\u6548\u679c<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u4e3a\u4ec0\u4e48\u8981\u91c7\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u4e2a\u56fe\u3002<\/p>\n\n\n\n\u9996\u5148\u65f6\u5e8f\u538b\u7f29\u9488\u5bf9\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u538b\u7f29\u683c\u5f0f\uff0c\u6240\u4ee5\u6574\u4f53\u7684\u6548\u679c\u4f18\u4e8e\u5757\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u5728\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\u5bf9\u6570\u636e\u538b\u7f29\u540e\u5728\u91c7\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5230\u5757\u538b\u7f29\u7684\u538b\u7f29\u6548\u7387\uff0c\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\u76f8\u6bd4\u5355\u72ec\u7684\u5757\u538b\u7f29\u80fd\u670940%\u7684\u538b\u7f29\u7387\u63d0\u5347\uff0c\u8fd9\u4e3a\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u63d0\u4f9b\u4e86\u6709\u529b\u7684\u5e2e\u52a9\u3002<\/p>\n\n\n\n2.\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u67e5\u8be2<\/strong><\/p>\n\n\n\n\u6dd8\u5b9d\u9b54\u5154\u662f\u963f\u91cc\u4e00\u6b3e\u5e94\u7528\u65e0\u7ebf\u7aef\u6570\u636e\u5206\u6790\u548c\u76d1\u63a7\u7684\u4ea7\u54c1\uff0c\u652f\u6301\u96c6\u56e2\u5185\u90e8500+\u7684\u5e94\u7528\uff0c\u5728\u53cc\u5341\u4e00\u5927\u4fc3\u662f\u67e5\u8be2\u5cf0\u503c\u53ef\u8fbe4000QPS\uff0c\u76f8\u8f83\u4e8e\u5e73\u5e38\u67e5\u8be2\u91cf\u670910\u500d\u7684\u63d0\u5347\uff0c,99%\u8bfb\u5199rt\u90fd\u8981\u6c42\u572820ms\u4ee5\u5185\uff0c\u90a3\u4e48TSDB\u662f\u5982\u4f55\u5b9e\u73b0\u7528\u6237\u7aef\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2\u5462?<\/p>\n\n\n\n\uff081\uff09\u5206\u5e03\u5f0f\u7f13\u5b58\u5b58\u50a8\u9002\u914d<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u8bf4\u8d77\u5b58\u50a8\u5c31\u79bb\u4e0d\u5f00\u538b\u7f29,\u6570\u636e\u7684\u538b\u7f29\u65b9\u6cd5\u548c\u538b\u7f29\u7b97\u6cd5\u7684\u9009\u62e9\u5f88\u5927\u7a0b\u5ea6\u4e0a\u652f\u6301\u4e86\u6d77\u91cf\u6570\u636e\u7684\u50a8\u5b58\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u4e0a\u56fe\u4ee3\u8868\u65f6\u95f4\u7a97\u53e3\u4e3a\u4e00\u5c0f\u65f6\u7684\u6570\u636e\uff0c0-3600\u4ee3\u8868\u8fc7\u53bb\u4e00\u4e2a\u5c0f\u65f6\u5185\u7684\u6570\u636e\uff0c\u91c7\u7528key-value\u5b58\u50a8\u683c\u5f0f,\u4ee5\u79d2\u503c\u4f5c\u4e3akey\uff0c\u6bcf\u79d2\u7684\u6570\u636e\u4f5c\u4e3avalue\u5b58\u50a8\u3002<\/p>\n\n\n\n\u8fd9\u91cc\u53c2\u8003facebook grada\u601d\u60f3\u5f15\u5165\u4e86\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u901a\u8fc7\u5217\u5408\u5e76\u7684\u65b9\u5f0f\u628a\u6240\u6709\u7684\u65f6\u95f4\u6233\u548c\u5bf9\u5e94\u7684value\u805a\u5408\u957f\u4e24\u4e2a\u7684\u5927\u6570\u636e\u5757\uff0c\u7136\u540e\u5bf9\u8fd9\u4e2a\u4e24\u4e2a\u5927\u5757\u8fdb\u884c\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u7136\u540e\u518d\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\u7b97\u6cd5\u8fdb\u884c\u538b\u7f29\u3002<\/p>\n\n\n\n\u53e6\u5916\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u91c7\u7528\u4e0d\u540c\u7684\u6570\u636e\u538b\u7f29\u683c\u5f0f\uff0c\u5982\uff1a<\/p>\n\n\n\n\u65f6\u95f4\u6233\uff1adelta- delta<\/li>\u6d6e\u70b9\u578b\uff1aXOR\u7f16\u7801<\/li>\u6574\u578b\uff1avariable length encoding<\/li>\u5b57\u7b26\u4e32\uff1aLZ4\uff0c\u5b9e\u73b0\u4e86\u5b58\u50a8\u5c42\u4e71\u5e8f\u6570\u636e\u538b\u7f29\uff0c\u4fdd\u8bc1\u538b\u7f29\u6570\u636e\u7684\u51c6\u786e\u6027,\u6574\u7406\u7684\u538b\u7f29\u7387\u572815:1\u3002<\/li><\/ul>\n\n\n\n\uff082\uff09\u6570\u636e\u538b\u7f29\u6548\u679c<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u4e3a\u4ec0\u4e48\u8981\u91c7\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u4e2a\u56fe\u3002<\/p>\n\n\n\n\u9996\u5148\u65f6\u5e8f\u538b\u7f29\u9488\u5bf9\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u538b\u7f29\u683c\u5f0f\uff0c\u6240\u4ee5\u6574\u4f53\u7684\u6548\u679c\u4f18\u4e8e\u5757\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u5728\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\u5bf9\u6570\u636e\u538b\u7f29\u540e\u5728\u91c7\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5230\u5757\u538b\u7f29\u7684\u538b\u7f29\u6548\u7387\uff0c\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\u76f8\u6bd4\u5355\u72ec\u7684\u5757\u538b\u7f29\u80fd\u670940%\u7684\u538b\u7f29\u7387\u63d0\u5347\uff0c\u8fd9\u4e3a\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u63d0\u4f9b\u4e86\u6709\u529b\u7684\u5e2e\u52a9\u3002<\/p>\n\n\n\n2.\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u67e5\u8be2<\/strong><\/p>\n\n\n\n\u6dd8\u5b9d\u9b54\u5154\u662f\u963f\u91cc\u4e00\u6b3e\u5e94\u7528\u65e0\u7ebf\u7aef\u6570\u636e\u5206\u6790\u548c\u76d1\u63a7\u7684\u4ea7\u54c1\uff0c\u652f\u6301\u96c6\u56e2\u5185\u90e8500+\u7684\u5e94\u7528\uff0c\u5728\u53cc\u5341\u4e00\u5927\u4fc3\u662f\u67e5\u8be2\u5cf0\u503c\u53ef\u8fbe4000QPS\uff0c\u76f8\u8f83\u4e8e\u5e73\u5e38\u67e5\u8be2\u91cf\u670910\u500d\u7684\u63d0\u5347\uff0c,99%\u8bfb\u5199rt\u90fd\u8981\u6c42\u572820ms\u4ee5\u5185\uff0c\u90a3\u4e48TSDB\u662f\u5982\u4f55\u5b9e\u73b0\u7528\u6237\u7aef\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2\u5462?<\/p>\n\n\n\n\uff081\uff09\u5206\u5e03\u5f0f\u7f13\u5b58\u5b58\u50a8\u9002\u914d<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5982\u4e0a\u56fe\u4ee3\u8868\u65f6\u95f4\u7a97\u53e3\u4e3a\u4e00\u5c0f\u65f6\u7684\u6570\u636e\uff0c0-3600\u4ee3\u8868\u8fc7\u53bb\u4e00\u4e2a\u5c0f\u65f6\u5185\u7684\u6570\u636e\uff0c\u91c7\u7528key-value\u5b58\u50a8\u683c\u5f0f,\u4ee5\u79d2\u503c\u4f5c\u4e3akey\uff0c\u6bcf\u79d2\u7684\u6570\u636e\u4f5c\u4e3avalue\u5b58\u50a8\u3002<\/p>\n\n\n\n
\u8fd9\u91cc\u53c2\u8003facebook grada\u601d\u60f3\u5f15\u5165\u4e86\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u901a\u8fc7\u5217\u5408\u5e76\u7684\u65b9\u5f0f\u628a\u6240\u6709\u7684\u65f6\u95f4\u6233\u548c\u5bf9\u5e94\u7684value\u805a\u5408\u957f\u4e24\u4e2a\u7684\u5927\u6570\u636e\u5757\uff0c\u7136\u540e\u5bf9\u8fd9\u4e2a\u4e24\u4e2a\u5927\u5757\u8fdb\u884c\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\uff0c\u7136\u540e\u518d\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\u7b97\u6cd5\u8fdb\u884c\u538b\u7f29\u3002<\/p>\n\n\n\n
\u53e6\u5916\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u91c7\u7528\u4e0d\u540c\u7684\u6570\u636e\u538b\u7f29\u683c\u5f0f\uff0c\u5982\uff1a<\/p>\n\n\n\n
\uff082\uff09\u6570\u636e\u538b\u7f29\u6548\u679c<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u4e3a\u4ec0\u4e48\u8981\u91c7\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u4e2a\u56fe\u3002<\/p>\n\n\n\n\u9996\u5148\u65f6\u5e8f\u538b\u7f29\u9488\u5bf9\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u538b\u7f29\u683c\u5f0f\uff0c\u6240\u4ee5\u6574\u4f53\u7684\u6548\u679c\u4f18\u4e8e\u5757\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u5728\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\u5bf9\u6570\u636e\u538b\u7f29\u540e\u5728\u91c7\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5230\u5757\u538b\u7f29\u7684\u538b\u7f29\u6548\u7387\uff0c\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\u76f8\u6bd4\u5355\u72ec\u7684\u5757\u538b\u7f29\u80fd\u670940%\u7684\u538b\u7f29\u7387\u63d0\u5347\uff0c\u8fd9\u4e3a\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u63d0\u4f9b\u4e86\u6709\u529b\u7684\u5e2e\u52a9\u3002<\/p>\n\n\n\n2.\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u67e5\u8be2<\/strong><\/p>\n\n\n\n\u6dd8\u5b9d\u9b54\u5154\u662f\u963f\u91cc\u4e00\u6b3e\u5e94\u7528\u65e0\u7ebf\u7aef\u6570\u636e\u5206\u6790\u548c\u76d1\u63a7\u7684\u4ea7\u54c1\uff0c\u652f\u6301\u96c6\u56e2\u5185\u90e8500+\u7684\u5e94\u7528\uff0c\u5728\u53cc\u5341\u4e00\u5927\u4fc3\u662f\u67e5\u8be2\u5cf0\u503c\u53ef\u8fbe4000QPS\uff0c\u76f8\u8f83\u4e8e\u5e73\u5e38\u67e5\u8be2\u91cf\u670910\u500d\u7684\u63d0\u5347\uff0c,99%\u8bfb\u5199rt\u90fd\u8981\u6c42\u572820ms\u4ee5\u5185\uff0c\u90a3\u4e48TSDB\u662f\u5982\u4f55\u5b9e\u73b0\u7528\u6237\u7aef\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2\u5462?<\/p>\n\n\n\n\uff081\uff09\u5206\u5e03\u5f0f\u7f13\u5b58\u5b58\u50a8\u9002\u914d<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u4e3a\u4ec0\u4e48\u8981\u91c7\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u4e2a\u56fe\u3002<\/p>\n\n\n\n
\u9996\u5148\u65f6\u5e8f\u538b\u7f29\u9488\u5bf9\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u538b\u7f29\u683c\u5f0f\uff0c\u6240\u4ee5\u6574\u4f53\u7684\u6548\u679c\u4f18\u4e8e\u5757\u538b\u7f29\u7b97\u6cd5\uff0c\u800c\u5728\u65f6\u5e8f\u538b\u7f29\u7b97\u6cd5\u5bf9\u6570\u636e\u538b\u7f29\u540e\u5728\u91c7\u7528\u901a\u7528\u7684\u5757\u538b\u7f29\uff0c\u4e0d\u4f1a\u5f71\u54cd\u5230\u5757\u538b\u7f29\u7684\u538b\u7f29\u6548\u7387\uff0c\u7528\u65f6\u5e8f\u538b\u7f29+\u5757\u538b\u7f29\u76f8\u6bd4\u5355\u72ec\u7684\u5757\u538b\u7f29\u80fd\u670940%\u7684\u538b\u7f29\u7387\u63d0\u5347\uff0c\u8fd9\u4e3a\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u63d0\u4f9b\u4e86\u6709\u529b\u7684\u5e2e\u52a9\u3002<\/p>\n\n\n\n
2.\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u67e5\u8be2<\/strong><\/p>\n\n\n\n\u6dd8\u5b9d\u9b54\u5154\u662f\u963f\u91cc\u4e00\u6b3e\u5e94\u7528\u65e0\u7ebf\u7aef\u6570\u636e\u5206\u6790\u548c\u76d1\u63a7\u7684\u4ea7\u54c1\uff0c\u652f\u6301\u96c6\u56e2\u5185\u90e8500+\u7684\u5e94\u7528\uff0c\u5728\u53cc\u5341\u4e00\u5927\u4fc3\u662f\u67e5\u8be2\u5cf0\u503c\u53ef\u8fbe4000QPS\uff0c\u76f8\u8f83\u4e8e\u5e73\u5e38\u67e5\u8be2\u91cf\u670910\u500d\u7684\u63d0\u5347\uff0c,99%\u8bfb\u5199rt\u90fd\u8981\u6c42\u572820ms\u4ee5\u5185\uff0c\u90a3\u4e48TSDB\u662f\u5982\u4f55\u5b9e\u73b0\u7528\u6237\u7aef\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2\u5462?<\/p>\n\n\n\n\uff081\uff09\u5206\u5e03\u5f0f\u7f13\u5b58\u5b58\u50a8\u9002\u914d<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u6dd8\u5b9d\u9b54\u5154\u662f\u963f\u91cc\u4e00\u6b3e\u5e94\u7528\u65e0\u7ebf\u7aef\u6570\u636e\u5206\u6790\u548c\u76d1\u63a7\u7684\u4ea7\u54c1\uff0c\u652f\u6301\u96c6\u56e2\u5185\u90e8500+\u7684\u5e94\u7528\uff0c\u5728\u53cc\u5341\u4e00\u5927\u4fc3\u662f\u67e5\u8be2\u5cf0\u503c\u53ef\u8fbe4000QPS\uff0c\u76f8\u8f83\u4e8e\u5e73\u5e38\u67e5\u8be2\u91cf\u670910\u500d\u7684\u63d0\u5347\uff0c,99%\u8bfb\u5199rt\u90fd\u8981\u6c42\u572820ms\u4ee5\u5185\uff0c\u90a3\u4e48TSDB\u662f\u5982\u4f55\u5b9e\u73b0\u7528\u6237\u7aef\u9ad8\u9891\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2\u5462?<\/p>\n\n\n\n
\uff081\uff09\u5206\u5e03\u5f0f\u7f13\u5b58\u5b58\u50a8\u9002\u914d<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u53c2\u8003Facebook Gorilla\u8bba\u6587\uff0c\u57fa\u4e8ejava\u505a\u4e86\u4e00\u5957\u5206\u5e03\u5f0f\u7684\u5185\u5b58\u7f13\u5b58\u5b58\u50a8\uff0c\u57fa\u4e8ezookeeper\u5b9e\u73b0\u5206\u7247\u53ca\u5bb9\u91cf\u7684\u8c03\u6574\uff0c\u53ef\u4ee5\u5b9e\u73b0\u52a8\u6001\u7684\u6269\u5bb9\u548c\u7f29\u5bb9\uff0c\u5728\u6574\u4e2a\u53cc11\u8fc7\u7a0b\u4e2d\u652f\u63011000wTPS\u7684\u5199\u5165\u548c4000\u7684QPS\u7684\u67e5\u8be2\u3002<\/p>\n\n\n\n
\uff082\uff09TsMem\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5982\u56fe\u6240\u793a\uff0cTsMem\u57fa\u4e8eDisruptor\u505a\u4e00\u4e2aRingBuffer\uff0c\u628a\u7528\u6237\u8bfb\u5199\u7684\u8bf7\u6c42\u90fd\u6682\u5b58\u5728RingBuffer\u4e2d\uff0c\u91c7\u7528\u591a\u4e2a\u751f\u4ea7\u8005\u548c\u4e00\u4e2a\u6d88\u8d39\u8005\u6a21\u5f0f\uff0c\u4e00\u4e2a\u6d88\u8d39\u8005\u7684\u8bf7\u6c42\u4f1a\u6253\u5230\u591a\u4e2aworker\u7ebf\u7a0b\u4e2d\uff0c\u6bcf\u4e00\u4e2aworker\u7ebf\u7a0b\u53c8\u662f\u4e00\u4e2a\u5206\u7247\uff0c\u6240\u4ee5\u5176\u5b9e\u5c31\u662f\u57fa\u4e8eRingBuffer\u505a\u4e86\u4e00\u4e2a\u5185\u5b58\u7684\u5206\u7247\uff0c\u8fd9\u6837\u4e00\u6765\u5c31\u662f\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u5e94\u4e00\u4e2a\u5206\u7247\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u4ea7\u751f\u5171\u4eab\u8d44\u6e90,\u4e5f\u5c31\u65e0\u9700\u8003\u8651\u9501\u7684\u5b9e\u73b0\u3002<\/p>\n\n\n\n
\u628a\u5199\u548c\u8bfb\u90fd\u5206\u914d\u5230\u4e00\u4e2a\u94fe\u8def\u4e0a\uff0c\u4e00\u4e2aworker\u540c\u65f6\u5904\u7406\u8bfb\u548c\u5199\uff0c\u63d0\u9ad8\u8bfb\u5199\u6027\u80fd<\/p>\n\n\n\n
\u540c\u65f6\u8fd8\u5229\u7528\u4e86RingBuffer\u7684batching\u7279\u6027\uff0c\u5c06\u7528\u6237\u7684\u8bfb\u5199\u8bf7\u6c42\u90fd\u6682\u5b58\u5728\u4e00\u4e2abutching\u4e2d\uff0c\u7136\u540e\u5f53\u8fbe\u5230\u4e00\u5b9a\u9608\u503c\u6216\u65f6\u95f4worker\u5c06\u76f4\u63a5\u63d0\u4ea4\u4e00\u4e2abatching\uff0c\u8fd9\u6837\u867d\u7136\u4f1a\u662f\u8bf7\u6c42\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u4f46\u662f\u5927\u5927\u63d0\u9ad8\u4e86worker\u7684\u541e\u5410\u91cf\u3002<\/p>\n\n\n\n
\u90a3\u4e48\u5982\u4f55\u4fdd\u8bc1\u9ad8\u6548\u7684\u5185\u5b58\u7ba1\u7406\u548c\u6781\u4f4e\u6bdb\u523a\u7684\u5ef6\u8fdf\u5462\uff1f<\/p>\n\n\n\n
\u5bf9\u4e8e\u6570\u636e\u5757\u57fa\u4e8e\u5f15\u7528\u8ba1\u6570\u7684chunk\u6c60\u5316\u7ba1\u7406\uff0c\u628a\u6240\u6709\u7684\u65f6\u5e8f\u6570\u636e\u5757\u5728\u5185\u5b58\u4e2d\u505a\u4e86\u6c60\u5316\uff0c\u8fd9\u6837\u5c31\u80fd\u51cf\u5c11\u8bfb\u53d6\u6570\u636e\u65f6\u4e34\u65f6\u5bf9\u8c61\u7684\u521b\u5efa\uff0c\u800c\u4e14\u8fd8\u80fd\u907f\u514d\u5927\u5757\u65f6\u4ea7\u751f\u7684\u6296\u52a8\u548c\u5ef6\u8fdf\u3002<\/p>\n\n\n\n
3.\u9ad8\u7eac\u805a\u5408\u5206\u6790<\/strong><\/p>\n\n\n\n\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\uff081\uff09TSDB\u5f15\u64ce\u6838\u5fc3\u6a21\u5757<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\nTSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
TSDB\u548c\u6838\u5fc3\u6a21\u5757\u4e3b\u8981\u5305\u542b\u4e24\u90e8\u5206\uff0c\u5206\u522b\u662f\u65f6\u5e8f\u7d22\u5f15\u548c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\uff0c\u5f53\u7528\u6237\u7684\u4e00\u4e2a\u67e5\u8be2\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c06\u4f1a\u7531\u65f6\u5e8f\u67e5\u8be2\u5f15\u64ce\u8fd4\u56de\u5bf9\u5e94\u7684\u65f6\u5e8f\u7d22\u5f15\u6784\u5efaPipeline\u65f6\u95f4\u7ebf\u96c6\u5408\uff0c\u7136\u540e\u518d\u7531\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u8ba1\u7b97\u51fa\u76f8\u5e94\u7684\u805a\u5408\u7ed3\u679c\u3002<\/p>\n\n\n\n
\uff082\uff09\u65f6\u5e8f\u7d22\u5f15<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u65f6\u5e8f\u7d22\u5f15\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n\n\n\n\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u672c\u8d28\u662f\u4e00\u4e2a\u5e26\u65f6\u95f4\u6233\u7684\u5012\u6392\u7d22\u5f15\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u5012\u6392\u7d22\u5f15\uff0c\u7136\u540e\u5728\u52a0\u4e0a\u65f6\u95f4\u6233\uff0c\u8fd9\u6837\u5f53\u7528\u6237\u7684\u8bf7\u6c42\u8fc7\u6765\u65f6\u5c31\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u7b5b\u9009\u6761\u4ef6\u83b7\u53d6\u6570\u636e\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u518d\u7528\u65f6\u95f4\u7ebf\u548c\u65f6\u95f4\u6233\u8fdb\u884c\u4e8c\u6b21\u8fc7\u6ee4\uff0c\u8fd9\u6837\u63d0\u9ad8\u4e86\u7d22\u5f15\u7684\u547d\u4e2d\u7387\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u5bf9\u65f6\u95f4\u7ebf\u7684TTL\u3002<\/p>\n\n\n\n
\u5982\u4f55\u5b58\u50a8\uff1f<\/strong><\/p>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u65f6\u5e8f\u7d22\u5f15\u662f\u57fa\u4e8ekv\u8fdb\u884c\u5b58\u50a8\uff0c\u662f\u4e00\u4e2a\u65e0\u72b6\u6001\u7684\u8282\u70b9\uff0c\u53ef\u4ee5\u652f\u6301\u6c34\u5e73\u6269\u5c55\u3002<\/p>\n\n\n\n
\uff083\uff09\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\nHLL\u8ba1\u6570\u5668\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u89c4\u5219\u5339\u914d\u5386\u53f2\u7684\u65f6\u95f4\u7ebf\u6570\u91cf,\u6216\u8005\u67d0\u4e2atag\u4e0b\u7684\u65f6\u95f4\u7ebf\u6570\u91cf\uff1b<\/li>BloomFilter\uff1a\u6839\u636e\u5e03\u9686\u8fc7\u6ee4\u5668\u5224\u65ad\u67d0\u4e2a\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff1b<\/li>\u65f6\u5e8f\u7d22\u5f15\u7f13\u5b58\uff1a\u76f4\u63a5\u67e5\u8be2\u7f13\u5b58\u4e2d\u662f\u5426\u5df2\u6709\u76f8\u540c\u7684\u65f6\u95f4\u7ebf\u5185\u5bb9\u3002<\/li><\/ul>\n\n\n\n\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u65f6\u5e8f\u7d22\u5f15\u4f18\u5316\u5668\u4e3b\u8981\u662f\u4e3a\u4e86\u5e2e\u52a9\u7528\u6237\u5728\u67e5\u8be2\u5012\u6392\u7d22\u5f15\u7684\u65f6\u5019\u63d0\u9ad8\u6548\u7387\uff0c\u8fd9\u91cc\u4f18\u5316\u5668\u4f1a\u5bf9\u4e8e\u7528\u6237\u7684\u8bf7\u6c42\u6709\u4e09\u4e2a\u5904\u7406\uff1a<\/p>\n\n\n\n
\u4f18\u5316\u5668\u5bf9\u4e8e\u7528\u6237\u67e5\u8be2\u5982\u4f55\u8bc4\u4f30\u4f18\u5316\uff1f<\/strong><\/p>\n\n\n\n\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u9996\u5148\u4f1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u9009\u53d6\u6700\u5c0f\u7684\u96c6\u5408\u8fdb\u884c\u8ba1\u7b97\uff0c\u7136\u540e\u4f1a\u5224\u65ad\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff0c\u4e00\u4e9b\u660e\u786e\u9650\u5b9a\u7684\u6761\u4ef6\u4f18\u5148\u4e8e\u6a21\u7cca\u7684\u6761\u4ef6\uff0c\u4f8b\u5982\u7b49\u4e8e\u80af\u5b9a\u4f18\u5148\u4e8e\u5305\u542b\u3002<\/p>\n\n\n\n
\uff084\uff09\u6d41\u5f0f\u805a\u5408\u5f15\u64ce<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u91c7\u7528\u8f7b\u91cf\u5355\u8fdb\u7a0b\u5b9e\u73b0\uff0c\u5728\u7528\u6237\u67e5\u8be2\u7684\u65f6\u5019\u5c06\u7528\u6237\u7684\u590d\u6742\u67e5\u8be2\u8f6c\u6362\u4e3a\u805a\u5408\u7b97\u5b50\u7ec4\u5408\uff0c\u6d41\u5f0f\u805a\u5408\u5f15\u64ce\u5305\u542b\u4e8610+\u6838\u5fc3\u7684\u805a\u5408\u7b97\u5b50\u300120+\u586b\u5145\u7b56\u7565\u300110+\u63d2\u503c\u7b97\u6cd5\u3002<\/p>\n\n\n\n
\u7531\u4e8e\u662f\u5c06\u590d\u6742\u7684\u67e5\u8be2\u8f6c\u6362\u4e3a\u7b97\u5b50\u7ec4\u5408\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u5b9e\u73b0\u4e0a\u662f\u4e00\u4e2a\u677e\u8026\u5408\u7684\u7ed3\u6784\uff0c\u6269\u5c55\u6027\u5f88\u5f3a\u800c\u4e14\u6bcf\u4e2a\u7b97\u5b50\u7684\u6267\u884c\u90fd\u975e\u5e38\u9ad8\u6548,\u5feb\u901f\uff0c\u51cf\u5c11\u4e86\u5bf9\u5185\u5b58\u7684\u5f00\u9500\u4ee5\u53ca\u5e95\u5c42\u5b58\u50a8\u7684\u538b\u529b\uff0c\u53e6\u5916\u805a\u5408\u51fa\u548c\u6570\u636e\u8fd8\u53ef\u4ee5\u4e0e\u5916\u90e8\u9884\u805a\u5408\u3001\u964d\u7cbe\u5ea6\u805a\u5408\u7684\u6570\u636e\u5b9e\u73b0\u65e0\u7f1d\u8854\u63a5\uff0c\u63d0\u9ad8\u4e86\u67e5\u8be2\u7ed3\u679c\u7684\u590d\u7528\u7387\u3002<\/p>\n\n\n\n
4.\u7a33\u5b9a\u6027\u4fdd\u969c<\/strong><\/p>\n\n\n\n\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\uff081\uff09TSBD\u7a33\u5b9a\u4fdd\u969c\u673a\u5236<\/strong><\/p>\n\n\n\nTSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
TSDB\u4e0d\u4ec5\u670d\u52a1\u4e8e\u4e13\u6709\u4e91\uff0c\u66f4\u670d\u52a1\u4e8e\u516c\u6709\u4e91\u4e0a\u7684\u5ba2\u6237\uff0c\u56e0\u6b64\u7a33\u5b9a\u6027\u662f\u4e00\u4e2a\u53ef\u4ee5\u548c\u5185\u6838\u63d0\u5230\u540c\u7b49\u5c42\u6b21\u7684\u95ee\u9898\uff0cTSDB\u4ece\u4e09\u4e2a\u65b9\u9762\u5b9e\u73b0\u4e86\u7a33\u5b9a\u6027\u7684\u4fdd\u969c\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u8d44\u6e90\u9694\u79bb<\/strong><\/li><\/ul>\n\n\n\n\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n\u57fa\u4e8e\u65f6\u95f4\u7ebf\u3001\u65f6\u5e8f\u6570\u636e\u7684\u7ec6\u7c92\u5ea6\u6d41\u63a7<\/strong><\/li><\/ul>\n\n\n\n\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n\u5168\u9762\u7684\u76d1\u63a7\u6307\u6807<\/strong><\/li><\/ul>\n\n\n\nTSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u8bfb\u5199\u7ebf\u7a0b\u5206\u79bb\uff1a\u4fdd\u969c\u4e86\u67e5\u8be2\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u5199\u5165\uff0c\u5199\u5165\u6709\u6545\u969c\u65f6\u4e0d\u4f1a\u5f71\u54cd\u67e5\u8be2\uff1b<\/p>\n\n\n\n
\u6162\u67e5\u8be2\u3001\u5927\u67e5\u8be2\u7684\u9694\u79bb\uff1a\u6839\u636e\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u751f\u6210\u4e00\u4e2a\u6307\u7eb9\uff0c\u5728\u6839\u636e\u5386\u53f2\u8bb0\u5f55\u5224\u65ad\u8fd9\u4e2a\u6307\u7eb9\u662f\u4e0d\u662f\u4e00\u4e2a\u6162\u67e5\u8be2\u6216\u8005\u5927\u67e5\u8be2,\u5982\u679c\u662f\u7684\u8bdd\u4f1a\u5c06\u8fd9\u4e2a\u67e5\u8be2\u653e\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u961f\u5217\uff0c\u8fd9\u4e2a\u961f\u5217\u7684\u8d44\u6e90\u662f\u53d7\u9650\u7684\uff0c\u800c\u6b63\u5e38\u7684\u67e5\u8be2\u4f1a\u8fdb\u5165\u5230\u6b63\u5e38\u7684\u961f\u5217\uff0c\u8fd9\u6837\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u52a0\u901f\u4e86\u6574\u4f53\u67e5\u8be2\u7684\u901f\u5ea6\uff1b<\/p>\n\n\n\n
\u67e5\u8be2\u72b6\u6001\u7ba1\u7406\u548c\u8c03\u5ea6\uff1a\u67e5\u8be2\u4efb\u52a1\u7684\u72b6\u6001\u7ba1\u7406\u548c\u76d1\u63a7\u4e0e\u4efb\u52a1\u7684\u8c03\u5ea6\u5206\u79bb\uff0c\u8fd9\u6837\u964d\u4f4e\u4e86\u4efb\u52a1\u7ba1\u7406\u548c\u8c03\u5ea6\u7684\u8026\u5408\u6027\uff0c\u63d0\u9ad8\u4e86\u4efb\u52a1\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n
\u6bcf\u4e00\u4efd\u6570\u636e\u90fd\u901a\u8fc7\u5012\u6392\u7d22\u5f15+\u65f6\u95f4\u6233\u7684\u7d22\u5f15\u65b9\u5f0f\u5b9a\u4f4d\uff0c\u4fdd\u8bc1\u7528\u6237\u7684\u67e5\u8be2\u6761\u4ef6\u80fd\u66f4\u7c92\u5ea6\u7684\u547d\u4e2d\u6570\u636e\uff0c\u51cf\u5c11\u4e0d\u5fc5\u987b\u7684\u8d44\u6e90\u6d88\u8017\u3002<\/p>\n\n\n\n
TSDB\u5bf9\u6574\u4f53\u7684\u541e\u5410\u91cf\u3001\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u3001IO\u5c42\u5173\u952e\u6307\u6807\u3001\u4ee5\u53ca\u5404\u4e2a\u6838\u5fc3\u6a21\u5757\u90fd\u6709\u8be6\u7ec6\u800c\u5168\u9762\u7684\u76d1\u63a7,\u4fdd\u8bc1\u80fd\u5b9e\u65f6\u7684\u4e86\u89e3\u5230TSDB\u5185\u90e8\u53d1\u751f\u4e86\u4ec0\u4e48\u95ee\u9898\uff0c\u7ee7\u800c\u5feb\u901f\u7684\u5b9a\u4f4d\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n
\uff082\uff09TSDB\u5de5\u4f5c\u8d1f\u8f7d\u7ba1\u7406<\/strong><\/p>\n\n\n\n<\/figure>\n\n\n\n\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n—<\/p>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u7aef\u5230\u7aef\u7684\u6d41\u63a7\uff1a\u5728\u7528\u6237\u7684\u5199\u5165\u63a5\u53e3\u4f1a\u505a\u8d44\u6e90\u7684IO\u63a7\u5236\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u65f6\u5e8f\u7d22\u5f15\u3001\u805a\u5408\u5f15\u64ce\u7684\u5165\u53e3\u5c42\u4e5f\u4f1a\u505a\u4e00\u4e2aIO\u6d41\u63a7\uff0c\u4fdd\u8bc1\u515a\u7528\u6237\u7684\u5199\u5165\u91cf\u6216\u591a\u6216\u8005\u67e5\u8be2\u91cf\u8fc7\u5927\u65f6\uff0c\u4e24\u4e2a\u6838\u5fc3\u6a21\u5757\u4e0d\u6536\u5f71\u54cd\uff1b<\/p>\n\n\n\n
\u591a\u7ef4\u5ea6\u7684\u63a7\u5236\uff1a\u4ece\u4e0d\u540c\u7ef4\u5ea6\u5bf9TSDB\u7684\u8bfb\u5199\u8fdb\u884c\u4e00\u4e9b\u9650\u5236\uff0c\u4f8b\u5982\u67e5\u8be2\u7684\u65f6\u95f4\u7ebf\u8fc7\u957f\u3001\u8bbf\u95ee\u7684\u6570\u636e\u70b9\u8fc7\u591a\uff0c\u8bfb\u53d6\u7684\u5b57\u8282\u6570\u8fc7\u5927\u3001\u6574\u4e2a\u67e5\u8be2\u6d88\u8017\u7684\u65f6\u95f4\u8fc7\u957f\u7b49\u7b49\u3002<\/p>\n\n\n\n
04<\/strong><\/p>\n\n\n\n\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u603b\u7ed3\u5c55\u671b<\/strong><\/p>\n\n\n\n\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u524d\u9762\u5df2\u7ecf\u4ecb\u7ecd\u4e86TSDB\u7684\u53d1\u5c55\u5386\u7a0b\u548c\u89e3\u51b3\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5c06\u8981\u4ecb\u7ecdTSDB\u672a\u6765\u7684\u53d1\u5c55\u65b9\u5411\u53ca\u7279\u6027\uff1a<\/p>\n\n\n\n
1. \u51b7\u70ed\u6570\u636e\u5f02\u6784\u5b58\u50a8<\/strong><\/p>\n\n\n\n\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6570\u636e\u91cf\u4f1a\u8d8a\u6765\u8d8a\u5e9e\u5927\uff0c\u4e3a\u4e86\u964d\u4f4e\u7528\u6237\u6210\u672c\u4e00\u4e9b\u4e0d\u5fc5\u8981\u6216\u8005\u4f4e\u70ed\u5ea6\u7684\u6570\u636e\u4e0d\u9700\u8981\u6309\u7167\u73b0\u6709\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f\u6765\u4fdd\u5b58\uff0c\u53ef\u4ee5\u6362\u6210\u4e00\u79cd\u66f4\u4f4e\u6210\u672c\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n\n\n\n
2. \u63d0\u9ad8Serverless\u8bfb\u5199\u80fd\u529b<\/strong><\/p>\n\n\n\n\u63d0\u4f9b\u80fd\u9ad8\u9891\u7387\u3001\u4f4e\u5ef6\u8fdf\u7684\u67e5\u8be2<\/li>OLAP\u7cfb\u7edf\u957f\u65f6\u95f4\u9ad8\u7eac\u5ea6\u7684\u5206\u6790<\/li>\u5bf9\u4e8e\u5386\u53f2\u6570\u636e\u5206\u6790\u6216\u8005\u51b7\u6570\u636e\u7684\u5206\u6790<\/li>\u964d\u4f4e\u8ba1\u7b97\u548c\u67e5\u8be2\u7684\u6210\u672c<\/li><\/ul>\n\n\n\n3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
3. \u62e5\u62b1\u65f6\u5e8f\u751f\u6001<\/strong><\/p>\n\n\n\n\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5c06\u5df2\u6709\u7684\u65f6\u5e8f\u5f15\u64ce\u548c\u8ba1\u7b97\u5f15\u64ce\u4e0e\u4e1a\u754c\u5f88\u591a\u6210\u719f\u7684\u65f6\u5e8f\u751f\u6001\uff0c\u6bd4\u5982prometheus\u3001kubernetes\u3001openTSDB\u7b49\u7ed3\u5408\uff0c\u4e3a\u7528\u6237\u4f53\u7528\u66f4\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n
4. \u65f6\u5e8f\u667a\u80fd\u5206\u6790<\/strong><\/p>\n\n\n\n\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u7a33\u5b9a\u3001\u53ef\u9760\u7684\u667a\u80fd\u5206\u6790\u6a21\u578b\uff0c\u6df1\u5165\u884c\u4e1a\u5185\u90e8\u4e86\u89e3\u4e00\u4e9b\u7528\u6237\u7684\u75db\u70b9\uff0c\u89e3\u51b3\u4e00\u4e9b\u4e9f\u5f85\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
\u5bfc\u8bfb\uff1a\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u4ecb\u7ecd\u4ee5\u4e0b\u56db\u65b9\u9762\uff1a \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f TSDB\u4ecb\u7ecd \u6838\u5fc3\u6280\u672f \u603b\u7ed3\u5c55\u671b 01 \u65f6\u5e8f\u4e1a\u52a1\u5168\u666f \u4ece\u5e95\u5c42\u7684\u673a\u5668\u76d1\u63a7\u5230\u76f4\u9762\u7528\u6237\u7684\u5e94\u7528\uff0c\u90fd\u79bb\u4e0d\u5f00\u65f6\u5e8f\u6027\u7684\u4e1a\u52a1\u573a\u666f\uff0c\u800c\u65f6\u5e8f\u6027\u7684\u6570\u636e\u4e00\u2026<\/p>\n","protected":false},"author":2,"featured_media":66821,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[4771,4599,4719],"special":[],"class_list":["post-66820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-datafun","tag-4599","tag-4719","entry"],"views":50419,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/comments?post=66820"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/66820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/66821"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=66820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=66820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=66820"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=66820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}