{"id":64351,"date":"2022-04-13T12:12:49","date_gmt":"2022-04-13T04:12:49","guid":{"rendered":"https:\/\/www.growthhk.cn\/?p=64351"},"modified":"2022-04-13T12:12:58","modified_gmt":"2022-04-13T04:12:58","slug":"%e5%bc%a0%e8%95%a4%ef%bc%9a%e5%bf%ab%e6%89%8b%e5%a4%a7%e6%95%b0%e6%8d%ae%e4%bb%bb%e5%8a%a1%e8%b0%83%e5%ba%a6%e7%b3%bb%e7%bb%9f%e8%ae%be%e8%ae%a1%e4%b8%8e%e5%ae%9e%e8%b7%b5%ef%bd%9cdatafuntalk","status":"publish","type":"post","link":"https:\/\/www.growthhk.cn\/cgo\/product\/64351.html","title":{"rendered":"\u5f20\u8564\uff1a\u5feb\u624b\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8bbe\u8ba1\u4e0e\u5b9e\u8df5\uff5cDataFunTalk"},"content":{"rendered":"\n
\u5bfc\u8bfb\uff1a<\/strong>\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b<\/a><\/span>\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u52a1\u7684\u573a\u666f\u4e0b\uff0c\u5982\u4f55\u5e94\u5bf9\u8fd9\u4e9b\u6311\u6218\uff0c\u7740\u91cd\u4ecb\u7ecd\u5728\u9ad8\u6027\u80fd\u548c\u9ad8\u53ef\u7528\u7b49\u65b9\u9762\u7684\u5efa\u8bbe\u7ecf\u9a8c\u3002<\/p>\n\n\n\n\u672c\u6b21\u5206\u4eab\u5305\u542b\u56db\u4e2a\u90e8\u5206\uff1a<\/p>\n\n\n\n\u80cc\u666f\u4ecb\u7ecd\uff1a\u5305\u62ec\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5b9a\u4f4d\u3001\u6311\u6218\u4e0e\u76ee\u6807\u3001\u4ee5\u53ca\u5feb\u624b\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u53d1\u5c55\u5386\u7a0b\uff1b<\/li>\u5feb\u624b\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6574\u4f53\u8bbe\u8ba1\uff1a\u5305\u62ec\u8c03\u5ea6\u6a21\u578b\u548c\u7cfb\u7edf\u67b6\u6784\uff1b<\/li>\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5173\u952e\u6280\u672f\uff1a\u5c06\u805a\u7126\u5728\u4f4e\u8c03\u5ea6\u5ef6\u8fdf\u3001\u9ad8\u53ef\u7528\u548c\u5f00\u653e\u80fd\u529b\u4e09\u90e8\u5206\uff1b<\/li>\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u3001\u6210\u679c\u548c\u672a\u6765\u89c4\u5212\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n01<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u80cc\u666f<\/strong><\/p>\n\n\n\n\u5bf9\u4e8e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u5927\u5bb6\u5e94\u8be5\u90fd\u4e0d\u964c\u751f\u3002\u6211\u4eec\u5728\u65e5\u5e38\u5de5\u4f5c\u4e2d\uff0c\u4f1a\u78b0\u5230\u5f88\u591a\u8c03\u5ea6\u7684\u573a\u666f\uff0c\u4f8b\u5982\u901a\u8fc7\u5b9a\u65f6\u4efb\u52a1\u6bcf\u5929\u53d1\u9001\u65e5\u62a5\u6216\u8005\u9009\u62e9\u5408\u9002\u7684\u8d1f\u8f7d\u673a\u5668\u6765\u6267\u884c\u4efb\u52a1\u3002\u6839\u636e\u4fa7\u91cd\u70b9\u4e0d\u540c\uff0c\u8c03\u5ea6\u7cfb\u7edf\u53ef\u4ee5\u5206\u4e3a\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u548c\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u3002<\/p>\n\n\n\n\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\uff1a\u4e3b\u8981\u5173\u6ce8\u5e95\u5c42\u7269\u7406\u8d44\u6e90\u7684\u5206\u914d\uff0c\u5f80\u5f80\u7ba1\u7406\u7740\u8f83\u5927\u7684\u7269\u7406\u96c6\u7fa4\uff0c\u4e3a\u4f7f\u7528\u8005\u63d0\u4f9b\u826f\u597d\u7684\u8d44\u6e90\u62bd\u8c61\u3002\u5e38\u89c1\u7684\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u5305\u62ec Yarn\u3001k8s\u3001mesos \u7b49\u3002<\/li>\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\uff1a\u4e3b\u8981\u5173\u6ce8\u4efb\u52a1\u53ca\u65f6\u51c6\u786e\u5730\u6267\u884c\uff0c\u4e3a\u4f7f\u7528\u8005\u63d0\u4f9b\u4efb\u52a1\u5b9a\u65f6\u3001\u5de5\u4f5c\u6d41\u8c03\u5ea6\u7b49\u80fd\u529b\u3002\u5e38\u89c1\u7684\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5305\u62ec Airflow\uff0cDolphinScheduler\uff0cAzkaban \u7b49\u3002<\/li><\/ul>\n\n\n\n\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u548c\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5e76\u4e0d\u662f\u5bf9\u7acb\u7684\uff0c\u800c\u662f\u534f\u4f5c\u5173\u7cfb\u3002\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5e38\u5e38\u4f1a\u4f9d\u8d56\u4e8e\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u6765\u6267\u884c\u4efb\u52a1\u3002\u672c\u6587\u5c06\u805a\u7126\u5728\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u5728\u5404\u7c7b\u573a\u666f\u4e2d\u53d1\u6325\u7740\u91cd\u8981\u4f5c\u7528\u3002\u5927\u6570\u636e\u7684\u539f\u59cb\u6570\u636e\u4e00\u822c\u662f\u4e1a\u52a1\u5e93\u3001\u670d\u52a1\u7aef\u65e5\u5fd7\u548c\u5ba2\u6237\u7aef\u65e5\u5fd7\uff0c\u8fd9\u4e9b\u539f\u59cb\u6570\u636e\u7684\u4ef7\u503c\u5bc6\u5ea6\u662f\u5f88\u4f4e\u7684\u3002\u5982\u679c\u8981\u63d0\u70bc\u51fa\u9ad8\u4ef7\u503c\u7684\u4fe1\u606f\uff0c\u5f80\u5f80\u9700\u8981\uff1a<\/p>\n\n\n\n1. \u7ecf\u8fc7\u6570\u636e\u63a5\u5165\u8fdb\u5165\u5927\u6570\u636e\u7cfb\u7edf\uff1b<\/p>\n\n\n\n2. \u7136\u540e\u7ecf\u8fc7\u7cbe\u5fc3\u5efa\u6a21\uff0c\u5c42\u5c42\u52a0\u5de5\uff0c\u751f\u4ea7\u51fa\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b<\/p>\n\n\n\n3. \u6700\u540e\u7ecf\u8fc7\u6570\u636e\u5206\u53d1\u5230\u5408\u9002\u7684\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u7136\u540e\u901a\u8fc7\u670d\u52a1\u5316\u63d0\u4f9b\u7ed9\u6570\u636e\u5e94\u7528\uff0c\u4f8b\u5982\u6570\u636e\u5206\u6790\u3001\u5728\u7ebf\u670d\u52a1\u3001\u6a21\u578b\u8bad\u7ec3\u7b49\u3002<\/p>\n\n\n\n\u5728\u8fd9\u6574\u4e2a\u8fc7\u7a0b\u4e2d\uff0c\u4f1a\u6709\u5f88\u591a\u4efb\u52a1\u8d1f\u8d23\u6570\u636e\u7684\u63a5\u5165\u3001\u52a0\u5de5\u548c\u5206\u53d1\u3002\u8fd9\u4e9b\u4efb\u52a1\u4ea4\u7ec7\u4f9d\u8d56\uff0c\u5f62\u6210\u4e86\u4e00\u4e2a\u5927\u7684\u6709\u5411\u56fe\u3002\u6570\u636e\u751f\u4ea7\u7684\u6838\u5fc3\uff0c\u5c31\u662f\u9700\u8981\u5bf9\u8fd9\u4e2a\u56fe\u8fdb\u884c\u7edf\u4e00\u8c03\u5ea6\u3002\u4e3a\u6b64\uff0c\u9700\u8981\u6709\u4e00\u4e2a\u7edf\u4e00\u7684\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u3002\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u662f\u5927\u6570\u636e\u751f\u4ea7\u7684\u6838\u5fc3\uff0c\u5b83\u5e76\u4e0d\u662f\u5b64\u7acb\u5b58\u5728\u7684\uff0c\u4f1a\u4f9d\u8d56\u4e8e\u5e95\u5c42\u7684\u8d44\u6e90\u5982\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\uff0c\u5e76\u4e3a\u4e0a\u5c42\u5e94\u7528\u5982\u6570\u636e\u5f00\u53d1\u3001ABTest \u5e73\u53f0\u3001\u6307\u6807\u751f\u4ea7\u3001\u673a\u5668\u5b66\u4e60\u7b49\u63d0\u4f9b\u670d\u52a1\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u5feb\u624b\uff0c\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6311\u6218\u4e3b\u8981\u5305\u62ec\u4e09\u90e8\u5206\uff1a<\/p>\n\n\n\n\u4efb\u52a1\u91cf\u5927<\/strong>\uff1a\u6709\u6570\u5341\u4e07\u4e2a\u4efb\u52a1\uff0c\u4e0a\u767e\u4e07\u6761\u4f9d\u8d56\u5173\u7cfb\uff1b\u8fd9\u7ed9\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u6027\u80fd\u5e26\u6765\u4e86\u6311\u6218\uff0c\u5927\u4efb\u52a1\u91cf\u4f1a\u5bfc\u81f4\u6027\u80fd\u6076\u5316\u3002<\/li>\u4efb\u52a1\u4ea4\u7ec7\u4f9d\u8d56<\/strong>\uff1a\u4efb\u52a1\u4e4b\u95f4\u76f8\u4e92\u4f9d\u8d56\uff0c\u7ec4\u6210\u4e00\u4e2a\u5927\u7684\u6709\u5411\u56fe\u3002\u4e00\u4e2a\u4efb\u52a1\u53ef\u80fd\u6709\u4e0a\u4e07\u4e2a\u4e0a\u6e38\uff0c\u4e5f\u53ef\u80fd\u6709\u6570\u4e07\u4e2a\u4e0b\u6e38\u4efb\u52a1\u3002\u8fd9\u7ed9\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u7a33\u5b9a\u6027\u5e26\u6765\u4e86\u6311\u6218\uff0c\u4e00\u4e2a\u4efb\u52a1\u7684\u8c03\u5ea6\u51fa\u9519\u6709\u53ef\u80fd\u5bfc\u81f4\u5927\u9762\u79ef\u6545\u969c\u3002<\/li>\u573a\u666f\u591a\u6837<\/strong>\uff1a\u8c03\u5ea6\u573a\u666f\u591a\uff0c\u6267\u884c\u65b9\u5f0f\u591a\uff0c\u4efb\u52a1\u7c7b\u578b\u591a\uff0c\u7ed9\u7cfb\u7edf\u7684\u529f\u80fd\u5e26\u6765\u4e86\u6311\u6218\uff0c\u8981\u6c42\u529f\u80fd\u4e30\u5bcc\u4e14\u53ef\u6269\u5c55\u3002<\/li><\/ul>\n\n\n\n\u4e0e\u8fd9\u4e9b\u6311\u6218\u5bf9\u5e94\uff0c\u76ee\u6807\u4e5f\u5305\u62ec\u4e09\u90e8\u5206\uff1a<\/p>\n\n\n\n\u9ad8\u6027\u80fd<\/strong>\uff1a\u652f\u6301\u767e\u4e07\u7ea7\u4efb\u52a1\u7684\u8c03\u5ea6\uff0c\u8c03\u5ea6\u5ef6\u8fdf\u63a7\u5236\u5728\u79d2\u7ea7\u6216\u8005\u6beb\u79d2\u7ea7\uff1b<\/li>\u9ad8\u53ef\u7528<\/strong>\uff1a\u7cfb\u7edf\u8981\u51c6\u65f6\u8c03\u5ea6\uff0c\u4e0d\u91cd\u4e0d\u9519\uff0c\u4e14\u5177\u6709\u9ad8\u7a33\u5b9a\u6027\uff0c\u907f\u514d\u9020\u6210\u94fe\u8def\u6570\u636e\u8d28\u91cf\u6216\u8005\u6570\u636e\u65f6\u6548\u6545\u969c\uff1b<\/li>\u529f\u80fd\u5f3a<\/strong>\uff1a\u5177\u6709\u4e30\u5bcc\u7684\u8c03\u5ea6\u6267\u884c\u65b9\u5f0f\uff0c\u5177\u6709\u5f3a\u5927\u7684\u5f00\u653e\u80fd\u529b\uff0c\u6253\u9020\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\uff0c\u4e3a\u4e0a\u5c42\u5e94\u7528\u63d0\u4f9b\u4fbf\u6377\u7684\u670d\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u7eb5\u89c2\u5feb\u624b\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u53d1\u5c55\u5386\u7a0b\uff0c\u53ef\u4ee5\u5206\u4e3a\u56db\u4e2a\u9636\u6bb5\u3002<\/p>\n\n\n\n1. \u5728 2016 \u5e74\uff0c\u6574\u4f53\u89c4\u6a21\u8f83\u5c0f\uff0c\u91c7\u7528\u5f53\u65f6\u4e3b\u6d41 Airflow \u4f5c\u4e3a\u4efb\u52a1\u8c03\u5ea6\u5f15\u64ce\u3002\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\uff0c\u5feb\u624b\u7684\u4e1a\u52a1\u84ec\u52c3\u53d1\u5c55\uff0c\u4efb\u52a1\u89c4\u6a21\u4e5f\u6025\u901f\u589e\u957f\uff0cAirflow \u6027\u80fd\u548c\u7a33\u5b9a\u6027\u4e0d\u518d\u80fd\u6ee1\u8db3\u8981\u6c42\u3002<\/p>\n\n\n\n2. \u5728 2019 \u5e74\uff0c\u4e3a\u4e86\u89e3\u51b3 Airflow \u7684\u95ee\u9898\uff0c\u6211\u4eec\u81ea\u7814\u4e86\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf Kwaiflow\uff0c\u65e8\u5728\u652f\u6301\u767e\u4e07\u7ea7\u522b\u7684\u4efb\u52a1\u89c4\u6a21\u3002<\/p>\n\n\n\n3. \u5728 2020 \u5e74\uff0c\u6211\u4eec\u5347\u7ea7 Kwaiflow \u5230 2.0 \u7248\u672c\uff0c\u652f\u6301\u4f8b\u884c\u3001\u89e6\u53d1\u5f0f\u3001\u8865\u6570\u636e\u3001\u963b\u65ad\u591a\u4e2a\u573a\u666f\uff0c\u878d\u5408\u8d28\u91cf\u3001\u5b89\u5168\u7b49\u6570\u636e\u5168\u751f\u6001\u3002<\/p>\n\n\n\n4. \u5728 2021 \u4e0b\u534a\u5e74\uff0c\u6211\u4eec\u5f00\u59cb\u6253\u9020\u65b0\u4e00\u4ee3\u8c03\u5ea6\u7cfb\u7edf Kwaiflow 3.0\uff0c\u4ee5\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u4efb\u52a1\u89c4\u6a21\u3002<\/p>\n\n\n\n\u5728\u8fc7\u53bb\u7684\u4e94\u516d\u5e74\uff0c\u5feb\u624b\u7684\u4efb\u52a1\u6570\u6bcf\u5e74\u6210\u500d\u6570\u589e\u957f\uff0c\u4ece\u6570\u5343\u4e2a\u589e\u957f\u5230\u5f53\u524d\u7684\u6570\u5341\u4e07\u4e2a\uff0c\u63a5\u5165\u7684\u5e73\u53f0\u6570\u4ece 0 \u589e\u957f\u5230\u6570\u5341\u4e2a\uff0c\u7528\u6237\u5f53\u524d\u5df2\u8986\u76d6\u516c\u53f8\u51e0\u4e4e\u6240\u6709\u7684\u4e1a\u52a1\u65b9\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u521d\u671f\uff0c\u5feb\u624b\u4f7f\u7528 Airflow \u5f53\u4f5c\u4efb\u52a1\u8c03\u5ea6\u5f15\u64ce\uff0c\u4f46\u540e\u6765\u53c8\u653e\u5f03\u4e86\u3002\u6211\u4eec\u4e3a\u4ec0\u4e48\u4f1a\u505a\u51fa\u8fd9\u6837\u7684\u9009\u62e9\u5462\uff1f\u8fd9\u5c31\u9700\u8981\u5206\u6790 Airflow \u7684\u4f18\u70b9\u548c\u75db\u70b9\u3002Airflow \u662f\u4ee5\u7f16\u7a0b\u65b9\u5f0f\u521b\u5efa\u3001\u8c03\u5ea6\u548c\u76d1\u63a7\u5de5\u4f5c\u6d41\u7684\u5f00\u6e90\u7cfb\u7edf\u3002Airflow \u5177\u6709\u5f88\u591a\u4f18\u70b9\uff0c\u5305\u62ec\uff1a<\/p>\n\n\n\n\u80fd\u529b\u4e30\u5bcc<\/strong>\uff0c\u5177\u6709\u4e30\u5bcc\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u6613\u7528\u7684\u6d41\u7a0b\u63a7\u5236\uff1b<\/li>UI \u6613\u7528<\/strong>\uff0c\u8f83\u4e3a\u65b9\u4fbf\u5730\u8fdb\u884c\u53ef\u89c6\u5316\u8fd0\u7ef4\uff1b<\/li>\u7ec4\u4ef6\u5c11\u6613\u90e8\u7f72\uff0c\u4e0a\u624b\u96be\u5ea6\u4e0d\u5927<\/strong>\u3002<\/li><\/ul>\n\n\n\n\u8fd9\u4e9b\u4f18\u70b9\u662f\u6211\u4eec\u9009\u62e9 Airflow \u7684\u539f\u56e0\u3002<\/p>\n\n\n\n\u4f46\u968f\u7740\u4efb\u52a1\u89c4\u6a21\u589e\u5927\uff0cAirflow \u7684\u75db\u70b9\u4e5f\u5f88\u660e\u663e\uff1a<\/p>\n\n\n\n\u6027\u80fd\u8f83\u5dee<\/strong>\uff1a\u6211\u4eec\u53d1\u73b0\uff0c\u5f53 Airflow \u5355\u96c6\u7fa4 Dag \u6570\u8fd1 1 \u4e07\u65f6\uff0c\u5355\u4efb\u52a1\u8c03\u5ea6\u5ef6\u8fdf P99 \u9ad8\u8fbe 5min\uff0c\u94fe\u8def\u8c03\u5ea6\u5ef6\u8fdf\u9ad8\u8fbe\u6570\u5341\u5206\u949f\uff0c\u94fe\u8def\u65f6\u6548\u6027\u96be\u4ee5\u4fdd\u969c\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e1a\u52a1\u589e\u957f\uff0c\u6211\u4eec\u642d\u5efa\u4e86\u591a\u4e2a\u96c6\u7fa4\uff0c\u8fd0\u7ef4\u6210\u672c\u500d\u589e\u3002<\/li>\u7a33\u5b9a\u6027\u4e0d\u8db3<\/strong>\uff1a\u5f53\u65f6 Airflow Scheduler \u6ca1\u6709 HA\uff0c\u4efb\u52a1\u6267\u884c\u65f6\u73af\u5883\u548c\u8d44\u6e90\u4e0d\u9694\u79bb\uff0c\u5bb9\u6613 OOM\uff0c\u5bfc\u81f4\u8c03\u5ea6\u6545\u969c\u6bd4\u8f83\u591a\uff0c\u5e74\u5747\u6545\u969c\u6570\u7ea6 8 \u4e2a\u3002<\/li>\u96c6\u6210\u5ea6\u4f4e<\/strong>\uff1a\u4e8c\u6b21\u5f00\u53d1\u6210\u672c\u5927\uff0c\u548c\u5468\u8fb9\u7cfb\u7edf\u96c6\u6210\u5ea6\u4f4e\uff0c\u5f00\u653e\u80fd\u529b\u5dee\uff0c\u96be\u4ee5\u5feb\u901f\u6784\u5efa\u751f\u6001\u3002<\/li><\/ul>\n\n\n\n\u7531\u4e8e\u8fd9\u4e9b\u75db\u70b9\u7684\u5b58\u5728\uff0c\u6211\u4eec\u51b3\u5b9a\u81ea\u7814\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n02<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u6574\u4f53\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n\u5728 2019 \u5e74\u4e2d\u65ec\uff0c\u6211\u4eec\u5f00\u59cb\u81ea\u7814\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf Kwaiflow\uff0c\u5e76\u5728\u4e0b\u534a\u5e74\u4e0a\u7ebf 1.0 \u7248\u672c\u3002<\/p>\n\n\n\nKwaiflow \u662f\u5feb\u624b\u901a\u7528\u3001\u9ad8\u6027\u80fd\u3001\u6613\u6269\u5c55\u7684\u5206\u5e03\u5f0f\u5de5\u4f5c\u6d41\u8c03\u5ea6\u7cfb\u7edf\u3002\u5176\u8bbe\u8ba1\u76ee\u6807\u4ece\u4e24\u65b9\u9762\u8003\u8651\u3002<\/p>\n\n\n\n\u5728\u529f\u80fd\u578b\u76ee\u6807\u65b9\u9762<\/strong>\uff1a<\/p>\n\n\n\n\u573a\u666f\u4e30\u5bcc\uff1a\u652f\u6301\u591a\u573a\u666f\u8c03\u5ea6\uff0c\u591a\u79cd\u73af\u5883\u6267\u884c\uff0c\u652f\u6301\u591a\u6837\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b<\/li>\u8fd0\u7ef4\u4fbf\u6377\uff1a\u53ef\u4ee5\u8fdb\u884c\u53ef\u89c6\u5316\u3001\u667a\u80fd\u3001\u4fbf\u6377\u5730\u8fd0\u7ef4<\/li>\u4fbf\u4e8e\u5f00\u653e\uff1a\u5177\u6709\u5f3a\u5927\u7684\u5f00\u653e\u80fd\u529b\uff0c\u6613\u4e8e\u7cfb\u7edf\u96c6\u6210\uff0c\u6784\u5efa\u7edf\u4e00\u751f\u6001<\/li><\/ul>\n\n\n\n\u5728\u975e\u529f\u80fd\u578b\u76ee\u6807\u65b9\u9762<\/strong>\uff1a<\/p>\n\n\n\n\u9ad8\u5bb9\u91cf\uff1a\u652f\u6301\u767e\u4e07\u7ea7\u4efb\u52a1\u5bb9\u91cf<\/li>\u9ad8\u6027\u80fd\uff1a\u79d2\u7ea7\u6216\u8005\u4e9a\u79d2\u7ea7\u8c03\u5ea6\u5ef6\u8fdf<\/li>\u9ad8\u53ef\u7528\uff1a\u53ef\u7528\u6027 99.99%\uff0c\u7ebf\u4e0a\u95ee\u9898\u5c11\uff0c\u51fa\u73b0\u65f6\u80fd\u53ca\u65f6\u53d1\u73b0\u5feb\u901f\u5e76\u5904\u7406<\/li><\/ul>\n\n\n\n\u5728\u5b9a\u4f4d\u4e0a\uff0cKwaiflow \u57fa\u4e8e\u5927\u6570\u636e\u4f53\u7cfb\u548c\u5176\u5b83\u57fa\u7840\u8bbe\u65bd\uff0c\u63d0\u4f9b\u8c03\u5ea6\u3001\u6267\u884c\u7b49\u6838\u5fc3\u80fd\u529b\uff0c\u540c\u65f6\u5177\u6709\u8fd0\u7ef4\u3001\u76d1\u63a7\u62a5\u8b66\u3001\u667a\u80fd\u8bca\u65ad\u3001\u5f00\u653e\u670d\u52a1\u7b49\u91cd\u8981\u80fd\u529b\uff0c\u6784\u5efa\u8c03\u5ea6\u751f\u6001\uff1b\u9762\u5411\u6570\u636e\u5904\u7406\u3001\u6d41\u7a0b\u7f16\u6392\u3001\u7b97\u6cd5\u8c03\u5ea6\u548c\u5206\u5e03\u5f0f\u8ba1\u7b97\u7b49\u573a\u666f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u8c03\u5ea6\u6a21\u578b\u4e0a\uff0cKwaiflow \u91c7\u7528\u4e86\u4e24\u5c42\u5b9e\u4f53\u7684\u8c03\u5ea6\u6a21\u578b\uff1a<\/p>\n\n\n\nTask\uff1a\u6267\u884c\u6a21\u677f\uff0c\u7528\u4e8e\u6267\u884c\u67d0\u4e00\u7c7b\u578b\u7684\u4ee3\u7801\uff1bTask \u6709\u5f88\u591a\u7c7b\u578b\uff0c\u4f8b\u5982 HiveTask \u7528\u4e8e\u6267\u884c Hive SQL\uff0cBashTask \u7528\u4e8e\u6267\u884c Bash \u811a\u672c\uff0cHivePartitionSensorTask \u7528\u4e8e\u63a2\u6d4b hive \u8868\u5206\u533a\u662f\u5426\u5b58\u5728\u3002<\/li>DAG\uff1a\u4e00\u7cfb\u5217 Task \u7684\u96c6\u5408\uff0c\u5177\u6709\u8c03\u5ea6\u5b9a\u65f6\u7b49\u5c5e\u6027\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f9d\u8d56\u5173\u7cfb\u65b9\u9762\uff0cDAG \u4e4b\u95f4\u53ef\u4ee5\u76f8\u4e92\u4f9d\u8d56\uff0c\u65e2\u53ef\u4ee5\u540c\u5468\u671f\u4f9d\u8d56\uff0c\u4e5f\u53ef\u4ee5\u8de8\u5468\u671f\u4f9d\u8d56\uff0c\u8fd8\u53ef\u4ee5\u6709\u4f9d\u8d56\u504f\u79fb\u3002DAG \u5185\u7684 Task \u4e4b\u95f4\u4e5f\u53ef\u4ee5\u4f9d\u8d56\uff0c\u7531\u4e8e\u4ed6\u4eec\u8c03\u5ea6\u5c5e\u6027\u4e00\u81f4\uff0c\u6240\u4ee5\u90fd\u4e3a\u540c\u5468\u671f\u4f9d\u8d56\u3002<\/p>\n\n\n\n\u4e00\u822c\u6765\u8bb2\uff0c\u5e38\u89c1\u7684\u8c03\u5ea6\u6a21\u578b\u9664\u4e86\u53cc\u5c42\u5b9e\u4f53\u6a21\u578b\u5916\uff0c\u8fd8\u6709\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u3002\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u6ca1\u6709 DAG \u7684\u6982\u5ff5\uff0c\u53ea\u6709 Task\uff0cTask \u5177\u6709\u8c03\u5ea6\u5c5e\u6027\uff0cTask \u4e4b\u95f4\u76f8\u4e92\u4f9d\u8d56\u3002\u4e24\u79cd\u6a21\u578b\u5404\u6709\u4f18\u52a3\u3002\u53cc\u5c42\u6a21\u578b\u66f4\u9002\u5408\u5feb\u624b\u7684\u60c5\u51b5\uff0c\u5177\u6709\u66f4\u5f3a\u7684\u8868\u8fbe\u529b\uff0c\u4f7f\u7528\u573a\u666f\u66f4\u5e7f\u6cdb\uff0c\u5f53\u7136\u4e5f\u5177\u6709\u4e00\u5b9a\u7684\u590d\u6742\u6027\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u7cfb\u7edf\u67b6\u6784\u4e0a\uff1a<\/p>\n\n\n\nAPI Server \u63d0\u4f9b\u5404\u5f0f\u5404\u6837\u7684\u63a5\u53e3\uff0c\u8d1f\u8d23\u7edf\u4e00\u63a5\u5165\u3002<\/li>Scheduler \u8d1f\u8d23\u8c03\u5ea6\uff0c\u4e0d\u540c\u7684\u8c03\u5ea6\u573a\u666f\u4f1a\u6709\u4e0d\u540c\u7c7b\u578b\u7684\u8c03\u5ea6\u5668\uff0c\u5305\u62ec\u4f8b\u884c\u3001\u89e6\u53d1\u5f0f\u3001\u8865\u6570\u636e\u3001\u963b\u65ad\u8c03\u5ea6\u5668\u3002\u5728\u4f8b\u884c\u8c03\u5ea6\u5668\u4e2d\uff0c\u4efb\u52a1\u5b9e\u4f8b\u751f\u6210\u540e\uff0c\u4f1a\u4f9d\u6b21\u7ecf\u8fc7\u5b9a\u65f6\u68c0\u6d4b\u3001\u4f9d\u8d56\u68c0\u6d4b\u548c\u8d44\u6e90\u68c0\u6d4b\u3002\u5982\u679c\u90fd\u901a\u8fc7\uff0c\u4f1a\u63d0\u4ea4\u5230 Queue Service \u4e2d\u3002<\/li>Queue Service \u4e3a\u5e26 ack \u673a\u5236\u7684\u6d88\u606f\u961f\u5217\u670d\u52a1\uff0c\u4f1a\u6709\u4e0d\u540c\u7684 channel\uff0c\u4ee5\u4fbf\u9694\u79bb\u4efb\u52a1\u3002<\/li>Worker \u8d1f\u8d23\u4efb\u52a1\u7684\u6267\u884c\uff0c\u4ece\u5c5e\u4e00\u4e2a worker \u5206\u7ec4\u3002\u4e0d\u540c\u5206\u7ec4\u7684 Worker \u6d88\u8d39 Queue Service \u4e2d\u4e0d\u540c Channel \u7684\u4efb\u52a1\uff0c\u6839\u636e\u4e0d\u540c\u7684\u4efb\u52a1\u7c7b\u578b\u8fdb\u884c\u6267\u884c\u3002\u6267\u884c\u5206\u4e3a\u672c\u5730\u6267\u884c\u548c\u5bb9\u5668\u5316\u6267\u884c\u4e24\u79cd\u65b9\u5f0f\uff0c\u672c\u5730\u6267\u884c\u662f\u6307\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u5185\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\uff1b\u5177\u6709\u542f\u52a8\u5feb\u7684\u7279\u70b9\uff1b\u5bb9\u5668\u5316\u6267\u884c\u662f\u6307\u5728 k8s \u8fdc\u7a0b\u6267\u884c\u7528\u6237\u4ee3\u7801\uff0c\u5177\u6709\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\u7684\u7279\u70b9\u3002<\/li><\/ul>\n\n\n\n\u9664\u6b64\u4e4b\u5916\uff0c\u8fd8\u6709\u5176\u5b83\u5173\u952e\u6a21\u5757\uff0c\u5305\u62ec\u65e5\u5fd7\u670d\u52a1\u3001\u62a5\u8b66\u670d\u52a1\u3001\u4e8b\u4ef6\u670d\u52a1\u3001\u5b9e\u4f8b\u8840\u7f18\u670d\u52a1\u7b49\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5173\u952e\u6280\u672f<\/strong><\/p>\n\n\n\n1. \u5173\u952e\u6280\u672f\uff1a\u4f4e\u8c03\u5ea6\u5ef6\u8fdf<\/h1>\n\n\n\n\u8c03\u5ea6\u5ef6\u8fdf\u662f\u6307\u7406\u8bba\u8d77\u8c03\u65f6\u523b\u5230\u5b9e\u9645\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\u7684\u65f6\u95f4\u5dee\u3002\u8c03\u5ea6\u5ef6\u8fdf\u662f\u8861\u91cf\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6027\u80fd\u7684\u91cd\u8981\u6307\u6807\u4e4b\u4e00\uff0c\u8be5\u6307\u6807\u8d8a\u5c0f\u8d8a\u597d\u3002<\/p>\n\n\n\n\u4efb\u52a1\u5b9e\u4f8b\u4ece\u751f\u6210\uff0c\u5230\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\uff0c\u9700\u8981\u7ecf\u8fc7\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\u3001\u7b49\u5f85\u4f9d\u8d56\u5c31\u7eea\u3001\u7b49\u5f85\u8d44\u6e90\u5c31\u7eea\u548c\u51c6\u5907\u8fd0\u884c\u73af\u5883\u56db\u4e2a\u9636\u6bb5\u3002\u8981\u6709\u8f83\u5c0f\u7684\u8c03\u5ea6\u5ef6\u8fdf\uff0c\u5c31\u9700\u8981\u51cf\u5c11\u5404\u4e2a\u9636\u6bb5\u7684\u7cfb\u7edf\u65f6\u95f4\u635f\u8017\u3002\u8c03\u5ea6\u5ef6\u8fdf\u7684\u4e3b\u8981\u56e0\u7d20\u4e0e\u5904\u7406\u65b9\u6848\u6709\uff1a<\/p>\n\n\n\n\u5b9a\u65f6\u5668<\/strong>\u3002\u5b9a\u65f6\u5668\u5728\u63a2\u6d4b\u65f6\u95f4\u5c31\u7eea\u73af\u8282\u8d77\u4f5c\u7528\uff0c\u4e00\u4e2a\u7cbe\u51c6\u7684\u3001\u652f\u6301\u767e\u4e07\u7ea7\u522b\u9ad8\u541e\u5410\u7684\u5b9a\u65f6\u5668\uff0c\u5bf9\u4f4e\u8c03\u5ea6\u5ef6\u8fdf\u81f3\u5173\u91cd\u8981\u3002\u4f18\u79c0\u7684\u5b9a\u65f6\u5668\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u6570\u636e\u5e93\u8bbf\u95ee<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d1\u751f\u53d8\u66f4\u540e\uff0c\u9700\u8981\u5bf9\u72b6\u6001\u8fdb\u884c\u6301\u4e45\u5316\u3002\u901a\u8fc7\u7d22\u5f15\u3001\u8bfb\u5199\u5206\u79bb\u3001\u5206\u5e93\u5206\u8868\u7b49\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5c06\u5355\u6b21\u6570\u636e\u5e93\u8bbf\u95ee\u8017\u65f6\u63a7\u5236\u5728 1 ~ 3ms\uff0c\u603b\u4f53\u8017\u65f6\u63a7\u5236\u5728 10ms \u5de6\u53f3 \u3002<\/li>\u72b6\u6001\u8f6c\u53d8<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u81ea\u751f\u6210\u5230\u8fd0\u884c\u7ed3\u675f\uff0c\u4f1a\u7ecf\u5386\u591a\u6b21\u72b6\u6001\u8f6c\u53d8\u3002\u72b6\u6001\u8f6c\u53d8\u9ad8\u6548\u4e0e\u5426\u662f\u8c03\u5ea6\u5ef6\u8fdf\u7684\u91cd\u8981\u56e0\u7d20\u3002\u4e00\u822c\u6765\u8bf4\u6709\u4e24\u79cd\u529e\u6cd5\uff1a\u8f6e\u8be2\u4e0e\u4e8b\u4ef6\u89e6\u53d1\u3002\u6211\u4eec\u91c7\u7528\u7684\u662f\u4e8b\u4ef6\u89e6\u53d1\u65b9\u5f0f\uff0c\u7b2c\u4e00\u65f6\u95f4\u611f\u77e5\u72b6\u6001\u8f6c\u53d8\u3002\u901a\u8fc7\u4e8b\u4ef6\u89e6\u53d1\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u8fd0\u884c\u73af\u5883\u51c6\u5907<\/strong>\u3002\u8fd9\u4e2a\u73af\u8282\u4e3b\u8981\u5de5\u4f5c\u5305\u62ec\u52a0\u8f7d\u955c\u50cf\u3001\u521d\u59cb\u5316\u8fd0\u884c\u73af\u5883\u7b49\u3002\u6211\u4eec\u4e3b\u8981\u91c7\u7528\u4e86\u9884\u52a0\u8f7d\u548c\u955c\u50cf\u9884\u70ed\u6280\u672f\u3002\u4e0d\u540c\u7684\u8fd0\u884c\u73af\u5883\uff0c\u65f6\u95f4\u635f\u8017\u4e0d\u4e00\u6837\uff0c\u4f1a\u5728\u4e9a\u79d2\u5230\u5206\u949f\u4e0d\u7b49\u3002<\/li><\/ul>\n\n\n\n\u8fd9\u56db\u4e2a\u56e0\u7d20\u4e2d\uff0c\u540e\u4e24\u8005\u76f8\u5bf9\u8f83\u590d\u6742\uff0c\u63a5\u4e0b\u6765\u7740\u91cd\u4ecb\u7ecd\u72b6\u6001\u8f6c\u53d8\u548c\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e24\u90e8\u5206\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u9996\u5148\u770b\u72b6\u6001\u8f6c\u53d8\u8fd9\u4e2a\u56e0\u7d20\u3002\u4efb\u52a1\u4ece\u53d1\u5e03\uff0c\u5230\u8c03\u5ea6\u6267\u884c\u5b8c\u6210\uff0c\u4f1a\u7ecf\u5386\u6570\u6b21\u6216\u8005\u5341\u6570\u6b21\u72b6\u6001\u53d8\u5316\u3002\u5982\u4f55\u8fdb\u884c\u5feb\u901f\u9ad8\u6548\u5730\u72b6\u6001\u8f6c\u53d8\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u95ee\u9898\u3002Kwaiflow \u7684\u89e3\u51b3\u529e\u6cd5\u662f\u91c7\u7528 Akka actor\u3002\u5145\u5206\u5229\u7528\u4e86 akka actor \u9ad8\u6027\u80fd\u7279\u70b9\u3002<\/p>\n\n\n\n\u5177\u4f53\u6765\u8bb2\uff1a<\/p>\n\n\n\n1. Kwaiflow \u7684\u4efb\u52a1\u4ece API Server \u53d1\u5e03\u540e\uff0c\u7ecf\u8fc7 Entry Actor \u52a0\u8f7d\u5230 DagLoader Actors \u4e2d\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\uff1b<\/p>\n\n\n\n2. \u5728\u65f6\u95f4\u5c31\u7eea\u540e\uff0c\u7531 Instance Generator Actors \u751f\u6210\u4efb\u52a1\u5b9e\u4f8b\uff0c\u7136\u540e\u8fdb\u5165 Dependency Detector Actor \u63a2\u6d4b\u4e0a\u6e38\u4f9d\u8d56\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n3. \u5728\u4f9d\u8d56\u5c31\u7eea\u540e\uff0c\u8fdb\u5165 Resource Detector Actor \u63a2\u6d4b\u8d44\u6e90\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n4. \u5728\u8d44\u6e90\u5c31\u7eea\u540e\uff0c\u4efb\u52a1\u5b9e\u4f8b\u901a\u8fc7 Queue Service \u4e0b\u53d1\u5230 worker \u4e2d\u3002<\/p>\n\n\n\n5. \u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u88ab\u63a5\u6536\u540e\uff0c\u5c06\u4f1a\u7531 Processor Actor \u6267\u884c\uff0c\u6267\u884c\u524d\u540e\u4f1a\u4f9d\u6b21\u7ecf\u5386\u4ee3\u7801\u6e32\u67d3\u3001Prehook\u3001\u4ee3\u7801\u6267\u884c\u3001Posthook \u56db\u4e2a\u6b65\u9aa4\u3002<\/p>\n\n\n\n6. \u5982\u679c\u6267\u884c\u6210\u529f\uff0c\u5219\u6d41\u7a0b\u7ec8\u6b62\uff1b\u5982\u679c\u6267\u884c\u5931\u8d25\uff0cPosthook \u4f1a\u5c06\u4fe1\u606f\u901a\u8fc7 Processor Actor\u3001ResultHandlerActor \u4f20\u9012\u7ed9 scheduler \u7684 RetryerActor \u8fdb\u884c\u91cd\u8bd5\u64cd\u4f5c\u3002<\/p>\n\n\n\n\u6574\u4e2a\u6d41\u7a0b\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u5168\u6d41\u7a0b\u4e8b\u4ef6\u89e6\u53d1<\/strong>\uff1a\u65e0\u8f6e\u8be2\uff0c\u4efb\u52a1\u53d1\u5e03\u3001\u8c03\u5ea6\u3001\u6267\u884c\u3001\u91cd\u8bd5\uff0c\u5747\u4e3a\u4e8b\u4ef6\u89e6\u53d1\u3002<\/li>\u9ad8\u541e\u5410<\/strong>\uff1a\u91c7\u7528\u5f02\u6b65\u5e76\u53d1\u7684\u65b9\u5f0f\uff0c\u80fd\u5feb\u901f\u8c03\u8d77\u5927\u91cf\u4efb\u52a1\u5b9e\u4f8b<\/li>\u7b80\u5355\u6613\u7528<\/strong>\uff1a\u65e0\u9700\u4f7f\u7528\u5e95\u5c42 API \u8fdb\u884c\u9501\u548c\u7ebf\u7a0b\u7ba1\u7406\uff0c\u4e13\u6ce8\u4e1a\u52a1\u5b9e\u73b0\u3002<\/li><\/ul>\n\n\n\n\u91c7\u7528 actor\uff0c\u72b6\u6001\u8f6c\u53d8\u5bfc\u81f4\u7684\u65f6\u95f4\u635f\u8017\u63a7\u5236\u5728\u6beb\u79d2\u7ea7\u522b\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u63a5\u4e0b\u6765\u6211\u4eec\u770b\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e2a\u56e0\u7d20\u3002\u8fd9\u548c\u6267\u884c\u573a\u666f\u6709\u5173\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e0d\u540c\u7684\u6267\u884c\u573a\u666f\uff0cKwaiflow \u63d0\u4f9b\u4e86\u4e24\u79cd\u6267\u884c\u65b9\u5f0f\uff1a\u5bb9\u5668\u5316\u6267\u884c\u548c\u672c\u5730\u6267\u884c\u3002<\/p>\n\n\n\n\u5bb9\u5668\u5316\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u6bcf\u6b21\u6267\u884c\u524d\uff0c\u5728 k8s \u6309\u9700\u7533\u8bf7\u5bb9\u5668\u8d44\u6e90\uff0c\u5728\u5bb9\u5668\u4e2d\u6267\u884c\u4efb\u52a1\u5b9e\u4f8b\uff0c\u6267\u884c\u5b8c\u540e\uff0c\u53ca\u65f6\u91ca\u653e\u5bb9\u5668\u8d44\u6e90\u3002\u4f18\u70b9\u662f\u5b9e\u73b0\u4e86\u6267\u884c\u65f6\u7684\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\uff1b\u7f3a\u70b9\u662f\u6bcf\u6b21\u90fd\u9700\u8981\u7533\u8bf7\u548c\u521d\u59cb\u5316\u5bb9\u5668\u8d44\u6e90\uff0c\u542f\u52a8\u8017\u65f6\u957f\u3002\u5bb9\u5668\u5316\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Bash \u4efb\u52a1\u3002\u4e3a\u4e86\u51cf\u5c11\u5bb9\u5668\u5316\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\uff0c\u6211\u4eec\u5c06\u955c\u50cf\u5206\u4e3a\u81ea\u5b9a\u4e49\u955c\u50cf\u548c\u901a\u7528\u955c\u50cf\uff0c\u5bf9\u901a\u7528\u955c\u50cf\u8fdb\u884c\u9884\u70ed\uff0c\u63d0\u524d\u5206\u53d1\u5230\u673a\u5668\u4e2d\uff0c\u51cf\u5c11\u955c\u50cf\u4e0b\u8f7d\u8017\u65f6\u3002\u901a\u8fc7\u955c\u50cf\u9884\u70ed\uff0c\u53ef\u4ee5\u5c06\u542f\u52a8\u8017\u65f6\u4ece\u5206\u949f\u7ea7\u964d\u4f4e\u5230\u79d2\u7ea7\u3002<\/li>\u672c\u5730\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u673a\u4e2d\uff0c\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\u3002\u540c\u4e00\u4e2a worker \u673a\u4e2d\u7684\u6240\u6709\u4efb\u52a1\u5b9e\u4f8b\u5171\u4eab\u8ba1\u7b97\u8d44\u6e90\u548c\u6267\u884c\u73af\u5883\u3002\u4f18\u70b9\u662f\u542f\u52a8\u8017\u65f6\u77ed\uff0coverhead \u5c0f\uff1b\u7f3a\u70b9\u662f\u8d44\u6e90\u548c\u73af\u5883\u4e0d\u9694\u79bb\uff0c\u4e00\u4e2a\u4efb\u52a1\u5b9e\u4f8b\u6267\u884c\u5f02\u5e38\u6709\u53ef\u80fd\u5bfc\u81f4\u6574\u4e2a worker \u673a crash\u3002\u672c\u5730\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u4e0d\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Hive \u548c Sensor \u4efb\u52a1\u3002\u672c\u5730\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\u4e00\u822c\u5728\u4e9a\u79d2\u7ea7\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n2. \u5173\u952e\u6280\u672f\uff1a\u9ad8\u53ef\u7528<\/h1>\n\n\n\n\u9ad8\u53ef\u7528\u5bf9\u8c03\u5ea6\u7cfb\u7edf\u6765\u8bf4\u975e\u5e38\u91cd\u8981\u3002\u4e3a\u4e86\u4fdd\u969c Kwaiflow \u7684\u9ad8\u53ef\u7528\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e24\u65b9\u9762\u8fdb\u884c\u8003\u8651\uff1a\u7cfb\u7edf\u8bbe\u8ba1\u548c\u6545\u969c\u53d1\u73b0\u5904\u7406\u3002\u5728\u7cfb\u7edf\u8bbe\u8ba1\u4e0a\uff0cKwaiflow \u53ef\u4ee5\u505a\u5230\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5373\u4efb\u52a1\u5b9e\u4f8b\u5728\u590d\u6742\u73af\u5883\u4e2d Exactly Once \u6267\u884c\uff0c\u505a\u5230\u4e0d\u6f0f\uff0c\u4e14\u5c3d\u91cf\u4e0d\u91cd\u3002<\/p>\n\n\n\n\u5bf9\u4e8e\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5e38\u89c1\u7684\u6545\u969c\u573a\u666f\u5305\u62ec\u7ec4\u4ef6\u6545\u969c\u6216\u8005\u7ec4\u4ef6\u5931\u8054\u3002\u4f8b\u5982 scheduler crash\u3001\u5bb9\u5668\u5316\u4efb\u52a1\u4e0e worker \u5931\u8054\u7b49\u3002<\/p>\n\n\n\n\u4e3a\u4e86\u8fbe\u5230\u9ad8\u53ef\u9760\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e09\u65b9\u9762\u8003\u8651\uff1a<\/p>\n\n\n\nFailover \u673a\u5236\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u548c\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\uff0c\u6765\u5b9e\u73b0\u7ec4\u4ef6\u7684\u81ea\u52a8\u5bb9\u9519\u3002\u4f8b\u5982 Kwaiflow \u91c7\u7528\u4e3b\u5907 Master\uff0c\u591a worker \u7684\u8bbe\u8ba1\u6765\u907f\u514d\u5355\u70b9\u95ee\u9898\uff1b\u5404\u4e2a\u7ec4\u4ef6\u4e4b\u95f4\u91c7\u7528\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\u6765\u907f\u514d\u5931\u8054\u95ee\u9898\u3002\u534f\u8bae\u5305\u62ec scheduler Executor \u901a\u4fe1\u534f\u8bae\u3001Executor Runner \u901a\u4fe1\u534f\u8bae\u3001External Job \u901a\u4fe1\u534f\u8bae\u3002\u53f3\u56fe\u5c55\u793a\u4e86 Executor Runner \u901a\u4fe1\u534f\u8bae\u7684\u4e3b\u8981\u6d41\u7a0b\uff0c\u534f\u8bae\u89c4\u5b9a\u4e86\u4efb\u52a1\u63d0\u4ea4\u3001\u6b63\u5e38\u6267\u884c\u3001\u5f02\u5e38\u6267\u884c\u3001\u901a\u4fe1\u5931\u8054\u7684\u5904\u7406\u529e\u6cd5\uff0c\u4e0d\u4f9d\u8d56\u5916\u90e8\u7cfb\u7edf\u7684\u72b6\u6001\u3002<\/li>\u907f\u514d\u9057\u6f0f\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u6d88\u606f ack \u673a\u5236\uff0c\u4fdd\u969c\u6d88\u606f\u4e0d\u4e22\u5931\uff1b\u540c\u65f6\u901a\u8fc7\u5b9a\u671f\u515c\u5e95\u5de1\u68c0\uff0c\u4fdd\u969c\u4efb\u52a1\u5b9e\u4f8b\u4e0d\u9057\u6f0f\u3002<\/li>\u907f\u514d\u91cd\u590d\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u72b6\u6001\u673a\u8f6c\u79fb\u56fe\uff0c\u907f\u514d\u4e0d\u5408\u7406\u72b6\u6001\u8f6c\u53d8\uff1b\u540c\u65f6\u901a\u8fc7\u91cd\u8bd5\u524d\u6e05\u7406\u524d\u4e00\u4e2a\u5b9e\u4f8b\uff0c\u907f\u514d\u91cd\u590d\u6267\u884c\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u9ad8\u53ef\u7528\u65b9\u9762\uff0c\u8fd8\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u7cfb\u7edf\u8bbe\u8ba1\u662f\u5206\u7ea7\u4fdd\u969c\u3002\u5feb\u624b\u5728\u8fdb\u884c\u5927\u578b\u6d3b\u52a8\u4f8b\u5982\u6625\u8282\u3001\u5965\u8fd0\u65f6\uff0c\u6574\u4f53\u6570\u636e\u91cf\u5927\u5e45\u5ea6\u589e\u957f\uff0c\u5c40\u90e8\u6570\u636e\u5448\u6570\u500d\u589e\u957f\u3002\u4f46\u8ba1\u7b97\u8d44\u6e90\u662f\u6709\u9650\u7684\uff0c\u8ba1\u7b97\u8d44\u6e90\u7684\u589e\u957f\u5f80\u5f80\u4e0d\u80fd\u5339\u914d\u6570\u636e\u91cf\u7684\u589e\u957f\uff0c\u4e0d\u80fd\u8ba9\u6240\u6709\u7684\u4efb\u52a1\u548c\u5f80\u5e38\u4e00\u6837\u6309\u65f6\u4ea7\u51fa\u3002\u8fd9\u65f6\u5019\u6211\u4eec\u5c31\u9700\u8981\u8fdb\u884c\u5206\u7ea7\u4fdd\u969c\u3002<\/p>\n\n\n\n\u6240\u8c13\u5206\u7ea7\u4fdd\u969c\uff0c\u5c31\u662f\u5728\u8d44\u6e90\u6709\u9650\u7684\u60c5\u51b5\u4e0b\uff0c\u8ba9\u9ad8\u4f18\u4efb\u52a1\u5f97\u5230\u7279\u6743\uff0c\u4f18\u5148\u5f97\u5230\u6267\u884c\uff0c\u4f18\u5148\u83b7\u5f97\u5145\u8db3\u7684\u4f18\u8d28\u8d44\u6e90\uff0c\u4fdd\u969c\u4ea7\u51fa\u65f6\u95f4\uff1b\u800c\u4f4e\u4f18\u4efb\u52a1\u5219\u4f1a\u88ab\u5ef6\u8fdf\u8c03\u5ea6\u6267\u884c\uff0c\u5206\u914d\u66f4\u5c11\u7684\u8d44\u6e90\u3002<\/p>\n\n\n\n\u5728\u5feb\u624b\uff0c\u6574\u4e2a\u79bb\u7ebf\u4f53\u7cfb\uff0c\u5305\u62ec Kwaiflow\u3001Hive\u3001Yarn\u3001HDFS \u7b49\uff0c\u90fd\u5177\u6709\u5206\u7ea7\u4fdd\u969c\u7684\u80fd\u529b\u3002\u8fd9\u91cc\u4ecb\u7ecd Kwaiflow \u7684\u5206\u7ea7\u4fdd\u969c\u80fd\u529b\uff0c\u5305\u62ec\u4e09\u65b9\u9762\uff1a<\/p>\n\n\n\nKwaiflow \u8c03\u5ea6\u5668\u5177\u6709\u5206\u7ea7\u8c03\u5ea6\u7684\u80fd\u529b<\/strong>\u3002Kwaiflow \u8c03\u5ea6\u5668\u80fd\u611f\u77e5\u5230\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u7684\u72b6\u6001\uff0c\u5728\u8d44\u6e90\u4e0d\u8db3\u65f6\uff0cKwaiflow \u4efb\u52a1\u4f1a\u5728\u8c03\u5ea6\u5668\u6392\u961f\uff0c\u9ad8\u4f18\u4efb\u52a1\u6392\u5728\u524d\u9762\uff0c\u4f4e\u4f18\u4efb\u52a1\u6392\u5728\u540e\u9762\uff1b\u5f53\u8d44\u6e90\u5f97\u5230\u91ca\u653e\u65f6\uff0c\u9ad8\u4f18\u4efb\u52a1\u4f18\u5148\u88ab\u8c03\u5ea6\u3002<\/li>Kwaiflow \u7684\u6267\u884c\u5668\u6309\u7167\u4e0d\u540c\u4f18\u5148\u7ea7\u8fdb\u884c\u5206\u7ec4<\/strong>\u3002\u5305\u62ec\u4e09\u7ec4\uff1aP0 \u6267\u884c\u5668\u7ec4\u3001P1 \u6267\u884c\u5668\u7ec4\u4ee5\u53ca P2 P3 \u6267\u884c\u5668\u7ec4\u3002P0 \u6267\u884c\u5668\u7528\u4e8e\u6267\u884c\u6700\u9ad8\u4f18\u5148\u7ea7\u7684 P0 \u4efb\u52a1\uff0c\u5177\u6709\u5145\u8db3\u7684 worker\uff0cP0 \u4efb\u52a1\u5b9e\u4f8b\u57fa\u672c\u4e0d\u4f1a\u5728\u6267\u884c\u5668\u5c42\u88ab\u9650\u5236\u3002\u5bf9\u4e8e P2 P3 \u5206\u7ec4\uff0c\u5728\u8c03\u5ea6\u9ad8\u5cf0\u671f\uff0c\u4efb\u52a1\u5b9e\u4f8b\u5f88\u591a\u65f6\uff0c\u53ef\u80fd\u5b58\u5728\u6392\u961f\u6267\u884c\u7684\u60c5\u51b5\u3002<\/li>Kwaiflow \u5177\u6709\u8f83\u5f3a\u7684\u4eba\u5de5\u7ba1\u63a7\u80fd\u529b<\/strong>\uff0c\u53ef\u4ee5\u4eba\u4e3a\u5730\u5141\u8bb8\u6216\u8005\u963b\u65ad\u67d0\u4e9b\u4efb\u52a1\u7684\u8c03\u5ea6\u3002\u5178\u578b\u4f7f\u7528\u573a\u666f\u662f\u5728\u5927\u578b\u6d3b\u52a8\u671f\u95f4\uff0c\u53ef\u4ee5\u6839\u636e\u9884\u6848\uff0c\u5bf9\u4f4e\u4f18\u5148\u7ea7\u7684\u4efb\u52a1\u4eba\u4e3a\u8fdb\u884c\u5ef6\u8fdf\u8c03\u5ea6\uff0c\u4fdd\u969c\u8d44\u6e90\u5206\u914d\u7ed9\u9ad8\u4f18\u4efb\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u524d\u9762\u4e3b\u8981\u4ece\u7cfb\u7edf\u8bbe\u8ba1\u65b9\u9762\u4ecb\u7ecd\u4e86\u7ebf\u4e0a\u6545\u969c\u7684\u81ea\u52a8\u89c4\u907f\u3002Kwaiflow \u9ad8\u53ef\u7528\u7684\u7b2c\u4e8c\u4e2a\u65b9\u9762\u662f\u6545\u969c\u7684\u53d1\u73b0\u548c\u5904\u7406\u3002\u5982\u679c\u6545\u969c\u53d1\u73b0\u4e0d\u53ca\u65f6\u3001\u5904\u7406\u4e0d\u8fc5\u901f\uff0c\u4f1a\u51fa\u73b0\u5927\u89c4\u6a21\u7684\u8c03\u5ea6\u9519\u8bef\u6216\u8005\u8c03\u5ea6\u5ef6\u8fdf\u6545\u969c\u3002\u5728\u5feb\u624b\u8c03\u5ea6\u7cfb\u7edf\u53d1\u5c55\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u78b0\u5230\u8fc7\u8fd9\u6837\u7684\u5927\u6545\u969c\uff0c\u4e3a\u4e86\u907f\u514d\u518d\u6b21\u53d1\u751f\uff0c\u6211\u4eec\u5efa\u7acb\u4e86\u5b8c\u5907\u7684\u76d1\u63a7\u9884\u6848\u4f53\u7cfb\u3002<\/p>\n\n\n\n\u5728\u76d1\u63a7\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5206\u6210\u4f7f\u7528\u5c42\u3001\u670d\u52a1\u5c42\u3001\u4f9d\u8d56\u5c42\u4e09\u4e2a\u5c42\u6b21\uff0c\u5e76\u5212\u5206\u76d1\u63a7\u4f18\u5148\u7ea7\uff0c\u91c7\u7528\u4e0d\u540c\u7684\u54cd\u5e94\u65b9\u5f0f\u3002<\/li>\u5728\u6545\u969c\u9884\u6848\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u6709\u4e24\u7c7b\u9884\u6848\uff1a\u7cfb\u7edf\u6545\u969c\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u8c03\u5ea6\u7cfb\u7edf\u81ea\u8eab\u95ee\u9898\uff1b\u6570\u636e\u5f02\u5e38\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u94fe\u8def\u6570\u636e\u4e0d\u6b63\u786e\u7684\u95ee\u9898\u3002\u6211\u4eec\u6c89\u6dc0\u4e86\u591a\u573a\u666f\u7684\u963b\u65ad\u6062\u590d\u548c\u8865\u6570\u636e\u5de5\u5177\uff0c\u80fd\u591f\u5728\u6570\u5206\u949f\u5185\u542f\u52a8\u6570\u636e\u6062\u590d\u3002<\/li>\u5728\u6f14\u7ec3\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5b9a\u671f\u5bf9\u9884\u6848\u8fdb\u884c\u6f14\u7ec3\uff0c\u4fdd\u8bc1\u9884\u6848\u7684\u53ef\u7528\u6027\uff0c\u64cd\u4f5c\u7684\u719f\u7ec3\u6027\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n3. \u5173\u952e\u6280\u672f\uff1a\u5f00\u653e\u80fd\u529b<\/h1>\n\n\n\n\u5f00\u653e\u662f\u6570\u636e\u4e2d\u53f0\u7684\u6838\u5fc3\u7ade\u4e89\u529b\u3002\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u7ed9\u4e88\u4f7f\u7528\u8005\u81ea\u7531\u7684\u53d1\u6325\u7a7a\u95f4\uff0c\u6ee1\u8db3\u66f4\u591a\u4f7f\u7528\u573a\u666f\uff1b\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u6784\u5efa\u6570\u636e\u751f\u6001\uff0c\u63d0\u4f9b\u66f4\u4e30\u5bcc\u7684\u80fd\u529b\u3002Kwaiflow \u63d0\u4f9b\u4e86\u591a\u79cd\u5f00\u653e\u80fd\u529b\uff1a<\/p>\n\n\n\nKwaiflow \u5177\u6709\u5f00\u653e\u7684 API\uff0c\u652f\u6301\u591a\u8bed\u8a00 SDK\uff0c\u63d0\u4f9b\u4e86\u6807\u51c6\u5316\u7684\u63a5\u5165\u6d41\u7a0b\u3001\u4f7f\u7528\u624b\u518c\u548c\u63a5\u5165 demo\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u6807\u51c6\u7684\u4e8b\u4ef6\u3002\u5305\u62ec\u4efb\u52a1\u64cd\u4f5c\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d8\u66f4\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u8bca\u65ad\u4e8b\u4ef6\u7b49\u3002\u6839\u636e\u8fd9\u4e9b\u4e8b\u4ef6\uff0c\u53ef\u4ee5\u5b8c\u6574\u590d\u73b0\u51fa\u4efb\u52a1\u548c\u4efb\u52a1\u5b9e\u4f8b\u7684\u5168\u751f\u547d\u5468\u671f\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u63d2\u4ef6\u5316\u4efb\u52a1\u7c7b\u578b\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5b9a\u4e49\u548c\u5f00\u53d1\u81ea\u5b9a\u4e49\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u5e76\u8fdb\u884c\u7075\u6d3b\u6d4b\u8bd5\u3001\u7070\u5ea6\u4e0a\u7ebf\u548c\u7ba1\u7406\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86 Hook\uff0c\u53ef\u4ee5\u5728\u7528\u6237\u4ee3\u7801\u8fd0\u884c\u524d\u540e\u6267\u884c\u3002\u5305\u62ec\u6267\u884c\u524d\u7684 Prehook \u548c\u6267\u884c\u540e\u7684 Posthook\u3002\u5e38\u89c1\u573a\u666f\u5305\u62ec\u7528\u4e8e\u4ee3\u7801\u6e32\u67d3\u3001\u524d\u7f6e\u68c0\u67e5\u7684 Prehook\uff0c\u4ee5\u53ca\u7528\u4e8e\u6267\u884c\u540e\u6570\u636e\u8d28\u91cf\u68c0\u6d4b\u7684 Posthook\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u4e0e\u6210\u679c<\/strong><\/p>\n\n\n\n\u5982\u679c\u628a\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6bd4\u4f5c\u5927\u697c\u7684\u9aa8\u67b6\uff0c\u90a3\u4e48\u57fa\u4e8e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u5c31\u662f\u88c5\u4fee\u5b8c\u5584\u3001\u9002\u4e8e\u4eba\u5de5\u4f5c\u751f\u6d3b\u7684\u5927\u53a6\u3002\u901a\u8fc7\u5e94\u7528\uff0c\u80fd\u66f4\u597d\u5730\u4f53\u73b0\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4ef7\u503c\u3002\u5728\u5feb\u624b\uff0c\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4e00\u4e2a\u5178\u578b\u5e94\u7528\u3002<\/p>\n\n\n\n\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u5feb\u624b\u7684\u4e00\u7ad9\u5f0f\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u4f7f\u7528 kwaiflow \u4f5c\u4e3a\u7edf\u4e00\u7684\u7f16\u6392\u4e0e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u6784\u5efa\u4e86\u5404\u7c7b\u7684\u6570\u636e\u5f00\u53d1\u8fd0\u7ef4\u7b49\u670d\u52a1\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u67e5\u8be2\u3001\u540c\u6b65\u3001\u5f00\u53d1\u3001\u670d\u52a1\u5316\u3001\u8fd0\u7ef4\u3001\u7ba1\u7406\u7b49\u80fd\u529b\u3002<\/p>\n\n\n\n\u8be5\u5e73\u53f0\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u4e00\u7ad9\u5f0f<\/strong>\uff1a\u5e73\u53f0\u6db5\u76d6\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u7684\u5404\u73af\u8282\uff0c\u5305\u62ec\u6570\u636e\u63a5\u5165\u3001\u6570\u636e\u52a0\u5de5\u3001\u6570\u636e\u5206\u53d1\u548c\u6570\u636e\u670d\u52a1\u5316\u3002\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u6e90\u7ba1\u7406\uff0c\u521b\u5efa\u6570\u636e\u63a5\u5165\u4efb\u52a1\u5c06\u5404\u79cd\u6570\u636e\u6e90\u5bfc\u5165\u5230\u5927\u6570\u636e\u7cfb\u7edf\u4e2d\uff1b\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u667a\u80fd IDE \u7f16\u5199\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03 ETL \u4efb\u52a1\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5de5\u5904\u7406\uff0c\u4ea7\u751f\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b\u7528\u6237\u8fd8\u53ef\u4ee5\u521b\u5efa\u6570\u636e\u5206\u53d1\u4efb\u52a1\uff0c\u5c06\u9ad8\u4ef7\u503c\u6570\u636e\u5206\u53d1\u5230\u5176\u5b83\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u4f8b\u5982\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u975e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u7f13\u5b58\u7cfb\u7edf\u3001OLAP \u5f15\u64ce\u7b49\u3002\u7528\u6237\u4e5f\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u914d\u7f6e\u7684\u65b9\u5f0f\u521b\u5efa\u670d\u52a1\u5316 API\uff0c\u4e3a\u7ebf\u4e0a\u7cfb\u7edf\u63d0\u4f9b\u670d\u52a1\u3002<\/li>\u901a\u7528<\/strong>\uff1a\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u80fd\u7edf\u4e00\u8fd0\u7ef4 Kwaiflow \u6240\u6709\u4efb\u52a1\uff0c\u5305\u62ec\u4efb\u52a1\u8fd0\u7ef4\u3001\u5b9e\u4f8b\u8fd0\u7ef4\u3001\u94fe\u8def\u8fd0\u7ef4\u7b49\u65b9\u5f0f\uff0c\u9002\u5408\u6570\u636e\u5f00\u53d1\u3001\u5b9a\u65f6\u8c03\u5ea6\u3001\u89e6\u53d1\u5f0f\u8c03\u5ea6\u7b49\u573a\u666f\u3002<\/li>\u667a\u80fd<\/strong>\uff1a\u5728\u5f00\u53d1\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd IDE\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4ee3\u7801\u95ee\u9898\uff1b\u5728\u8fd0\u7ef4\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd\u76d1\u63a7\u3001\u667a\u80fd\u8bca\u65ad\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4efb\u52a1\u548c\u94fe\u8def\u95ee\u9898\uff0c\u5e76\u8f85\u52a9\u5b9a\u4f4d\u95ee\u9898\u539f\u56e0\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8981\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u4e0d\u4ec5\u8981\u6709\u5f3a\u5927\u7684\u81ea\u8eab\u80fd\u529b\uff0c\u66f4\u8981\u6709\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\u3002\u5728\u5feb\u624b\uff0cKwaiflow \u548c\u5927\u6570\u636e\u7684\u5176\u5b83\u7cfb\u7edf\u6df1\u5ea6\u96c6\u6210\uff0c\u63a5\u5165\u4e86 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u4fbf\u6377\u5730\u4f7f\u7528\u5176\u5b83\u5927\u6570\u636e\u7cfb\u7edf\u7684\u80fd\u529b\u3002\u53ef\u4ee5\u8bf4\uff0c\u81ea\u8eab\u80fd\u529b\u548c\u751f\u6001\u4f53\u7cfb\u5bf9 Kwaiflow \u6765\u8bf4\u540c\u7b49\u91cd\u8981\u3002<\/p>\n\n\n\n\u9996\u5148\uff0c\u5c31\u81ea\u8eab\u800c\u8a00\uff0cKwaiflow \u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u6267\u884c\u80fd\u529b\u3002\u5305\u62ec\u591a\u573a\u666f\u8c03\u5ea6\u80fd\u529b\u3001\u591a\u6837\u5316\u7684\u6267\u884c\u80fd\u529b\u3001\u6613\u7528\u7684\u8fd0\u7ef4\u80fd\u529b\u548c\u9ad8\u53ef\u7528\u7684\u7279\u6027\u3002<\/p>\n\n\n\n\u5176\u6b21\uff0cKwaiflow \u5177\u6709\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\u3002\u63a5\u5165 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u65b9\u4fbf\u5730\u4f7f\u7528\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\u3002<\/p>\n\n\n\n\u6700\u540e\uff0cKwaiflow \u65e0\u7f1d\u96c6\u6210\u4e86\u5176\u5b83\u4e2d\u53f0\u80fd\u529b\u3002\u5305\u62ec\u6570\u636e\u8d28\u91cf\u3001\u6570\u636e\u5b89\u5168\u4f53\u7cfb\u3001\u5b8c\u6574\u51c6\u786e\u7684\u4efb\u52a1\u5b9e\u4f8b\u8840\u7f18\u3001\u94fe\u8def\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5c06\u4ece\u6027\u80fd\u3001\u529f\u80fd\u548c\u4f7f\u7528\u60c5\u51b5\u4e09\u4e2a\u65b9\u9762\u4ecb\u7ecd Kwaiflow \u7684\u6210\u679c\u3002<\/p>\n\n\n\n\u5728\u6027\u80fd\u65b9\u9762<\/strong>\uff0c\u548c Airflow \u76f8\u6bd4\uff0c\u6709\u6781\u5927\u7684\u63d0\u5347\uff1a<\/p>\n\n\n\n\u5728\u89c4\u6a21\u4e0a\uff0cKwaiflow \u521d\u7248\u8bbe\u8ba1\u5bb9\u91cf\u4e3a\u767e\u4e07\u7ea7\u522b\u4efb\u52a1\uff0c\u5f53\u524d\u5df2\u6709\u6570\u5341\u4e07\u7684\u4efb\u52a1\u6570\uff0c\u548c Airflow \u5355\u96c6\u7fa4\u4e0d\u8d85\u8fc7 1 \u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\u3002<\/li>\u5728\u6027\u80fd\u4e0a\uff0cKwaiflow \u8c03\u5ea6\u9ad8\u5cf0\u671f\u7684\u8c03\u5ea6\u5ef6\u8fdf P99 \u5c0f\u4e8e 5 \u79d2\uff0c\u548c Airflow 5 \u5206\u949f\u76f8\u6bd4\uff0c\u6709\u6570\u91cf\u7ea7\u7684\u63d0\u5347\uff1bKwaiflow \u8d77\u8c03\u901f\u7387\u5341\u6570\u4e07\u6bcf\u5206\u949f\uff0c\u548c Airflow \u6570\u5343\u6bcf\u5206\u949f\u5bf9\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\uff1bKwaiflow \u8fd0\u884c\u7684\u5e76\u53d1\u5b9e\u4f8b\u6570\u5341\u6570\u4e07\u4e07\uff0c\u548c Airflow \u5c0f\u4e8e1\u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u5341\u6570\u500d\u3002<\/li>\u5728\u7a33\u5b9a\u6027\u4e0a\uff0cKwaiflow \u53ef\u7528\u6027\u4e3a 99.99%\uff0c Airflow \u5219\u4e3a 99.5%\uff1bKwaiflow \u5e74\u6545\u969c\u6570\u7ea6 1 \u4e2a\uff0c\u800c Airflow \u5e74\u5747\u4e3a 8 \u4e2a\u3002<\/li><\/ul>\n\n\n\n\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u672c\u6b21\u5206\u4eab\u5305\u542b\u56db\u4e2a\u90e8\u5206\uff1a<\/p>\n\n\n\n
01<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u80cc\u666f<\/strong><\/p>\n\n\n\n\u5bf9\u4e8e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u5927\u5bb6\u5e94\u8be5\u90fd\u4e0d\u964c\u751f\u3002\u6211\u4eec\u5728\u65e5\u5e38\u5de5\u4f5c\u4e2d\uff0c\u4f1a\u78b0\u5230\u5f88\u591a\u8c03\u5ea6\u7684\u573a\u666f\uff0c\u4f8b\u5982\u901a\u8fc7\u5b9a\u65f6\u4efb\u52a1\u6bcf\u5929\u53d1\u9001\u65e5\u62a5\u6216\u8005\u9009\u62e9\u5408\u9002\u7684\u8d1f\u8f7d\u673a\u5668\u6765\u6267\u884c\u4efb\u52a1\u3002\u6839\u636e\u4fa7\u91cd\u70b9\u4e0d\u540c\uff0c\u8c03\u5ea6\u7cfb\u7edf\u53ef\u4ee5\u5206\u4e3a\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u548c\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u3002<\/p>\n\n\n\n\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\uff1a\u4e3b\u8981\u5173\u6ce8\u5e95\u5c42\u7269\u7406\u8d44\u6e90\u7684\u5206\u914d\uff0c\u5f80\u5f80\u7ba1\u7406\u7740\u8f83\u5927\u7684\u7269\u7406\u96c6\u7fa4\uff0c\u4e3a\u4f7f\u7528\u8005\u63d0\u4f9b\u826f\u597d\u7684\u8d44\u6e90\u62bd\u8c61\u3002\u5e38\u89c1\u7684\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u5305\u62ec Yarn\u3001k8s\u3001mesos \u7b49\u3002<\/li>\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\uff1a\u4e3b\u8981\u5173\u6ce8\u4efb\u52a1\u53ca\u65f6\u51c6\u786e\u5730\u6267\u884c\uff0c\u4e3a\u4f7f\u7528\u8005\u63d0\u4f9b\u4efb\u52a1\u5b9a\u65f6\u3001\u5de5\u4f5c\u6d41\u8c03\u5ea6\u7b49\u80fd\u529b\u3002\u5e38\u89c1\u7684\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5305\u62ec Airflow\uff0cDolphinScheduler\uff0cAzkaban \u7b49\u3002<\/li><\/ul>\n\n\n\n\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u548c\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5e76\u4e0d\u662f\u5bf9\u7acb\u7684\uff0c\u800c\u662f\u534f\u4f5c\u5173\u7cfb\u3002\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5e38\u5e38\u4f1a\u4f9d\u8d56\u4e8e\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u6765\u6267\u884c\u4efb\u52a1\u3002\u672c\u6587\u5c06\u805a\u7126\u5728\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u5728\u5404\u7c7b\u573a\u666f\u4e2d\u53d1\u6325\u7740\u91cd\u8981\u4f5c\u7528\u3002\u5927\u6570\u636e\u7684\u539f\u59cb\u6570\u636e\u4e00\u822c\u662f\u4e1a\u52a1\u5e93\u3001\u670d\u52a1\u7aef\u65e5\u5fd7\u548c\u5ba2\u6237\u7aef\u65e5\u5fd7\uff0c\u8fd9\u4e9b\u539f\u59cb\u6570\u636e\u7684\u4ef7\u503c\u5bc6\u5ea6\u662f\u5f88\u4f4e\u7684\u3002\u5982\u679c\u8981\u63d0\u70bc\u51fa\u9ad8\u4ef7\u503c\u7684\u4fe1\u606f\uff0c\u5f80\u5f80\u9700\u8981\uff1a<\/p>\n\n\n\n1. \u7ecf\u8fc7\u6570\u636e\u63a5\u5165\u8fdb\u5165\u5927\u6570\u636e\u7cfb\u7edf\uff1b<\/p>\n\n\n\n2. \u7136\u540e\u7ecf\u8fc7\u7cbe\u5fc3\u5efa\u6a21\uff0c\u5c42\u5c42\u52a0\u5de5\uff0c\u751f\u4ea7\u51fa\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b<\/p>\n\n\n\n3. \u6700\u540e\u7ecf\u8fc7\u6570\u636e\u5206\u53d1\u5230\u5408\u9002\u7684\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u7136\u540e\u901a\u8fc7\u670d\u52a1\u5316\u63d0\u4f9b\u7ed9\u6570\u636e\u5e94\u7528\uff0c\u4f8b\u5982\u6570\u636e\u5206\u6790\u3001\u5728\u7ebf\u670d\u52a1\u3001\u6a21\u578b\u8bad\u7ec3\u7b49\u3002<\/p>\n\n\n\n\u5728\u8fd9\u6574\u4e2a\u8fc7\u7a0b\u4e2d\uff0c\u4f1a\u6709\u5f88\u591a\u4efb\u52a1\u8d1f\u8d23\u6570\u636e\u7684\u63a5\u5165\u3001\u52a0\u5de5\u548c\u5206\u53d1\u3002\u8fd9\u4e9b\u4efb\u52a1\u4ea4\u7ec7\u4f9d\u8d56\uff0c\u5f62\u6210\u4e86\u4e00\u4e2a\u5927\u7684\u6709\u5411\u56fe\u3002\u6570\u636e\u751f\u4ea7\u7684\u6838\u5fc3\uff0c\u5c31\u662f\u9700\u8981\u5bf9\u8fd9\u4e2a\u56fe\u8fdb\u884c\u7edf\u4e00\u8c03\u5ea6\u3002\u4e3a\u6b64\uff0c\u9700\u8981\u6709\u4e00\u4e2a\u7edf\u4e00\u7684\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u3002\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u662f\u5927\u6570\u636e\u751f\u4ea7\u7684\u6838\u5fc3\uff0c\u5b83\u5e76\u4e0d\u662f\u5b64\u7acb\u5b58\u5728\u7684\uff0c\u4f1a\u4f9d\u8d56\u4e8e\u5e95\u5c42\u7684\u8d44\u6e90\u5982\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\uff0c\u5e76\u4e3a\u4e0a\u5c42\u5e94\u7528\u5982\u6570\u636e\u5f00\u53d1\u3001ABTest \u5e73\u53f0\u3001\u6307\u6807\u751f\u4ea7\u3001\u673a\u5668\u5b66\u4e60\u7b49\u63d0\u4f9b\u670d\u52a1\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u5feb\u624b\uff0c\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6311\u6218\u4e3b\u8981\u5305\u62ec\u4e09\u90e8\u5206\uff1a<\/p>\n\n\n\n\u4efb\u52a1\u91cf\u5927<\/strong>\uff1a\u6709\u6570\u5341\u4e07\u4e2a\u4efb\u52a1\uff0c\u4e0a\u767e\u4e07\u6761\u4f9d\u8d56\u5173\u7cfb\uff1b\u8fd9\u7ed9\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u6027\u80fd\u5e26\u6765\u4e86\u6311\u6218\uff0c\u5927\u4efb\u52a1\u91cf\u4f1a\u5bfc\u81f4\u6027\u80fd\u6076\u5316\u3002<\/li>\u4efb\u52a1\u4ea4\u7ec7\u4f9d\u8d56<\/strong>\uff1a\u4efb\u52a1\u4e4b\u95f4\u76f8\u4e92\u4f9d\u8d56\uff0c\u7ec4\u6210\u4e00\u4e2a\u5927\u7684\u6709\u5411\u56fe\u3002\u4e00\u4e2a\u4efb\u52a1\u53ef\u80fd\u6709\u4e0a\u4e07\u4e2a\u4e0a\u6e38\uff0c\u4e5f\u53ef\u80fd\u6709\u6570\u4e07\u4e2a\u4e0b\u6e38\u4efb\u52a1\u3002\u8fd9\u7ed9\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u7a33\u5b9a\u6027\u5e26\u6765\u4e86\u6311\u6218\uff0c\u4e00\u4e2a\u4efb\u52a1\u7684\u8c03\u5ea6\u51fa\u9519\u6709\u53ef\u80fd\u5bfc\u81f4\u5927\u9762\u79ef\u6545\u969c\u3002<\/li>\u573a\u666f\u591a\u6837<\/strong>\uff1a\u8c03\u5ea6\u573a\u666f\u591a\uff0c\u6267\u884c\u65b9\u5f0f\u591a\uff0c\u4efb\u52a1\u7c7b\u578b\u591a\uff0c\u7ed9\u7cfb\u7edf\u7684\u529f\u80fd\u5e26\u6765\u4e86\u6311\u6218\uff0c\u8981\u6c42\u529f\u80fd\u4e30\u5bcc\u4e14\u53ef\u6269\u5c55\u3002<\/li><\/ul>\n\n\n\n\u4e0e\u8fd9\u4e9b\u6311\u6218\u5bf9\u5e94\uff0c\u76ee\u6807\u4e5f\u5305\u62ec\u4e09\u90e8\u5206\uff1a<\/p>\n\n\n\n\u9ad8\u6027\u80fd<\/strong>\uff1a\u652f\u6301\u767e\u4e07\u7ea7\u4efb\u52a1\u7684\u8c03\u5ea6\uff0c\u8c03\u5ea6\u5ef6\u8fdf\u63a7\u5236\u5728\u79d2\u7ea7\u6216\u8005\u6beb\u79d2\u7ea7\uff1b<\/li>\u9ad8\u53ef\u7528<\/strong>\uff1a\u7cfb\u7edf\u8981\u51c6\u65f6\u8c03\u5ea6\uff0c\u4e0d\u91cd\u4e0d\u9519\uff0c\u4e14\u5177\u6709\u9ad8\u7a33\u5b9a\u6027\uff0c\u907f\u514d\u9020\u6210\u94fe\u8def\u6570\u636e\u8d28\u91cf\u6216\u8005\u6570\u636e\u65f6\u6548\u6545\u969c\uff1b<\/li>\u529f\u80fd\u5f3a<\/strong>\uff1a\u5177\u6709\u4e30\u5bcc\u7684\u8c03\u5ea6\u6267\u884c\u65b9\u5f0f\uff0c\u5177\u6709\u5f3a\u5927\u7684\u5f00\u653e\u80fd\u529b\uff0c\u6253\u9020\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\uff0c\u4e3a\u4e0a\u5c42\u5e94\u7528\u63d0\u4f9b\u4fbf\u6377\u7684\u670d\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u7eb5\u89c2\u5feb\u624b\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u53d1\u5c55\u5386\u7a0b\uff0c\u53ef\u4ee5\u5206\u4e3a\u56db\u4e2a\u9636\u6bb5\u3002<\/p>\n\n\n\n1. \u5728 2016 \u5e74\uff0c\u6574\u4f53\u89c4\u6a21\u8f83\u5c0f\uff0c\u91c7\u7528\u5f53\u65f6\u4e3b\u6d41 Airflow \u4f5c\u4e3a\u4efb\u52a1\u8c03\u5ea6\u5f15\u64ce\u3002\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\uff0c\u5feb\u624b\u7684\u4e1a\u52a1\u84ec\u52c3\u53d1\u5c55\uff0c\u4efb\u52a1\u89c4\u6a21\u4e5f\u6025\u901f\u589e\u957f\uff0cAirflow \u6027\u80fd\u548c\u7a33\u5b9a\u6027\u4e0d\u518d\u80fd\u6ee1\u8db3\u8981\u6c42\u3002<\/p>\n\n\n\n2. \u5728 2019 \u5e74\uff0c\u4e3a\u4e86\u89e3\u51b3 Airflow \u7684\u95ee\u9898\uff0c\u6211\u4eec\u81ea\u7814\u4e86\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf Kwaiflow\uff0c\u65e8\u5728\u652f\u6301\u767e\u4e07\u7ea7\u522b\u7684\u4efb\u52a1\u89c4\u6a21\u3002<\/p>\n\n\n\n3. \u5728 2020 \u5e74\uff0c\u6211\u4eec\u5347\u7ea7 Kwaiflow \u5230 2.0 \u7248\u672c\uff0c\u652f\u6301\u4f8b\u884c\u3001\u89e6\u53d1\u5f0f\u3001\u8865\u6570\u636e\u3001\u963b\u65ad\u591a\u4e2a\u573a\u666f\uff0c\u878d\u5408\u8d28\u91cf\u3001\u5b89\u5168\u7b49\u6570\u636e\u5168\u751f\u6001\u3002<\/p>\n\n\n\n4. \u5728 2021 \u4e0b\u534a\u5e74\uff0c\u6211\u4eec\u5f00\u59cb\u6253\u9020\u65b0\u4e00\u4ee3\u8c03\u5ea6\u7cfb\u7edf Kwaiflow 3.0\uff0c\u4ee5\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u4efb\u52a1\u89c4\u6a21\u3002<\/p>\n\n\n\n\u5728\u8fc7\u53bb\u7684\u4e94\u516d\u5e74\uff0c\u5feb\u624b\u7684\u4efb\u52a1\u6570\u6bcf\u5e74\u6210\u500d\u6570\u589e\u957f\uff0c\u4ece\u6570\u5343\u4e2a\u589e\u957f\u5230\u5f53\u524d\u7684\u6570\u5341\u4e07\u4e2a\uff0c\u63a5\u5165\u7684\u5e73\u53f0\u6570\u4ece 0 \u589e\u957f\u5230\u6570\u5341\u4e2a\uff0c\u7528\u6237\u5f53\u524d\u5df2\u8986\u76d6\u516c\u53f8\u51e0\u4e4e\u6240\u6709\u7684\u4e1a\u52a1\u65b9\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u521d\u671f\uff0c\u5feb\u624b\u4f7f\u7528 Airflow \u5f53\u4f5c\u4efb\u52a1\u8c03\u5ea6\u5f15\u64ce\uff0c\u4f46\u540e\u6765\u53c8\u653e\u5f03\u4e86\u3002\u6211\u4eec\u4e3a\u4ec0\u4e48\u4f1a\u505a\u51fa\u8fd9\u6837\u7684\u9009\u62e9\u5462\uff1f\u8fd9\u5c31\u9700\u8981\u5206\u6790 Airflow \u7684\u4f18\u70b9\u548c\u75db\u70b9\u3002Airflow \u662f\u4ee5\u7f16\u7a0b\u65b9\u5f0f\u521b\u5efa\u3001\u8c03\u5ea6\u548c\u76d1\u63a7\u5de5\u4f5c\u6d41\u7684\u5f00\u6e90\u7cfb\u7edf\u3002Airflow \u5177\u6709\u5f88\u591a\u4f18\u70b9\uff0c\u5305\u62ec\uff1a<\/p>\n\n\n\n\u80fd\u529b\u4e30\u5bcc<\/strong>\uff0c\u5177\u6709\u4e30\u5bcc\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u6613\u7528\u7684\u6d41\u7a0b\u63a7\u5236\uff1b<\/li>UI \u6613\u7528<\/strong>\uff0c\u8f83\u4e3a\u65b9\u4fbf\u5730\u8fdb\u884c\u53ef\u89c6\u5316\u8fd0\u7ef4\uff1b<\/li>\u7ec4\u4ef6\u5c11\u6613\u90e8\u7f72\uff0c\u4e0a\u624b\u96be\u5ea6\u4e0d\u5927<\/strong>\u3002<\/li><\/ul>\n\n\n\n\u8fd9\u4e9b\u4f18\u70b9\u662f\u6211\u4eec\u9009\u62e9 Airflow \u7684\u539f\u56e0\u3002<\/p>\n\n\n\n\u4f46\u968f\u7740\u4efb\u52a1\u89c4\u6a21\u589e\u5927\uff0cAirflow \u7684\u75db\u70b9\u4e5f\u5f88\u660e\u663e\uff1a<\/p>\n\n\n\n\u6027\u80fd\u8f83\u5dee<\/strong>\uff1a\u6211\u4eec\u53d1\u73b0\uff0c\u5f53 Airflow \u5355\u96c6\u7fa4 Dag \u6570\u8fd1 1 \u4e07\u65f6\uff0c\u5355\u4efb\u52a1\u8c03\u5ea6\u5ef6\u8fdf P99 \u9ad8\u8fbe 5min\uff0c\u94fe\u8def\u8c03\u5ea6\u5ef6\u8fdf\u9ad8\u8fbe\u6570\u5341\u5206\u949f\uff0c\u94fe\u8def\u65f6\u6548\u6027\u96be\u4ee5\u4fdd\u969c\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e1a\u52a1\u589e\u957f\uff0c\u6211\u4eec\u642d\u5efa\u4e86\u591a\u4e2a\u96c6\u7fa4\uff0c\u8fd0\u7ef4\u6210\u672c\u500d\u589e\u3002<\/li>\u7a33\u5b9a\u6027\u4e0d\u8db3<\/strong>\uff1a\u5f53\u65f6 Airflow Scheduler \u6ca1\u6709 HA\uff0c\u4efb\u52a1\u6267\u884c\u65f6\u73af\u5883\u548c\u8d44\u6e90\u4e0d\u9694\u79bb\uff0c\u5bb9\u6613 OOM\uff0c\u5bfc\u81f4\u8c03\u5ea6\u6545\u969c\u6bd4\u8f83\u591a\uff0c\u5e74\u5747\u6545\u969c\u6570\u7ea6 8 \u4e2a\u3002<\/li>\u96c6\u6210\u5ea6\u4f4e<\/strong>\uff1a\u4e8c\u6b21\u5f00\u53d1\u6210\u672c\u5927\uff0c\u548c\u5468\u8fb9\u7cfb\u7edf\u96c6\u6210\u5ea6\u4f4e\uff0c\u5f00\u653e\u80fd\u529b\u5dee\uff0c\u96be\u4ee5\u5feb\u901f\u6784\u5efa\u751f\u6001\u3002<\/li><\/ul>\n\n\n\n\u7531\u4e8e\u8fd9\u4e9b\u75db\u70b9\u7684\u5b58\u5728\uff0c\u6211\u4eec\u51b3\u5b9a\u81ea\u7814\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n02<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u6574\u4f53\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n\u5728 2019 \u5e74\u4e2d\u65ec\uff0c\u6211\u4eec\u5f00\u59cb\u81ea\u7814\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf Kwaiflow\uff0c\u5e76\u5728\u4e0b\u534a\u5e74\u4e0a\u7ebf 1.0 \u7248\u672c\u3002<\/p>\n\n\n\nKwaiflow \u662f\u5feb\u624b\u901a\u7528\u3001\u9ad8\u6027\u80fd\u3001\u6613\u6269\u5c55\u7684\u5206\u5e03\u5f0f\u5de5\u4f5c\u6d41\u8c03\u5ea6\u7cfb\u7edf\u3002\u5176\u8bbe\u8ba1\u76ee\u6807\u4ece\u4e24\u65b9\u9762\u8003\u8651\u3002<\/p>\n\n\n\n\u5728\u529f\u80fd\u578b\u76ee\u6807\u65b9\u9762<\/strong>\uff1a<\/p>\n\n\n\n\u573a\u666f\u4e30\u5bcc\uff1a\u652f\u6301\u591a\u573a\u666f\u8c03\u5ea6\uff0c\u591a\u79cd\u73af\u5883\u6267\u884c\uff0c\u652f\u6301\u591a\u6837\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b<\/li>\u8fd0\u7ef4\u4fbf\u6377\uff1a\u53ef\u4ee5\u8fdb\u884c\u53ef\u89c6\u5316\u3001\u667a\u80fd\u3001\u4fbf\u6377\u5730\u8fd0\u7ef4<\/li>\u4fbf\u4e8e\u5f00\u653e\uff1a\u5177\u6709\u5f3a\u5927\u7684\u5f00\u653e\u80fd\u529b\uff0c\u6613\u4e8e\u7cfb\u7edf\u96c6\u6210\uff0c\u6784\u5efa\u7edf\u4e00\u751f\u6001<\/li><\/ul>\n\n\n\n\u5728\u975e\u529f\u80fd\u578b\u76ee\u6807\u65b9\u9762<\/strong>\uff1a<\/p>\n\n\n\n\u9ad8\u5bb9\u91cf\uff1a\u652f\u6301\u767e\u4e07\u7ea7\u4efb\u52a1\u5bb9\u91cf<\/li>\u9ad8\u6027\u80fd\uff1a\u79d2\u7ea7\u6216\u8005\u4e9a\u79d2\u7ea7\u8c03\u5ea6\u5ef6\u8fdf<\/li>\u9ad8\u53ef\u7528\uff1a\u53ef\u7528\u6027 99.99%\uff0c\u7ebf\u4e0a\u95ee\u9898\u5c11\uff0c\u51fa\u73b0\u65f6\u80fd\u53ca\u65f6\u53d1\u73b0\u5feb\u901f\u5e76\u5904\u7406<\/li><\/ul>\n\n\n\n\u5728\u5b9a\u4f4d\u4e0a\uff0cKwaiflow \u57fa\u4e8e\u5927\u6570\u636e\u4f53\u7cfb\u548c\u5176\u5b83\u57fa\u7840\u8bbe\u65bd\uff0c\u63d0\u4f9b\u8c03\u5ea6\u3001\u6267\u884c\u7b49\u6838\u5fc3\u80fd\u529b\uff0c\u540c\u65f6\u5177\u6709\u8fd0\u7ef4\u3001\u76d1\u63a7\u62a5\u8b66\u3001\u667a\u80fd\u8bca\u65ad\u3001\u5f00\u653e\u670d\u52a1\u7b49\u91cd\u8981\u80fd\u529b\uff0c\u6784\u5efa\u8c03\u5ea6\u751f\u6001\uff1b\u9762\u5411\u6570\u636e\u5904\u7406\u3001\u6d41\u7a0b\u7f16\u6392\u3001\u7b97\u6cd5\u8c03\u5ea6\u548c\u5206\u5e03\u5f0f\u8ba1\u7b97\u7b49\u573a\u666f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u8c03\u5ea6\u6a21\u578b\u4e0a\uff0cKwaiflow \u91c7\u7528\u4e86\u4e24\u5c42\u5b9e\u4f53\u7684\u8c03\u5ea6\u6a21\u578b\uff1a<\/p>\n\n\n\nTask\uff1a\u6267\u884c\u6a21\u677f\uff0c\u7528\u4e8e\u6267\u884c\u67d0\u4e00\u7c7b\u578b\u7684\u4ee3\u7801\uff1bTask \u6709\u5f88\u591a\u7c7b\u578b\uff0c\u4f8b\u5982 HiveTask \u7528\u4e8e\u6267\u884c Hive SQL\uff0cBashTask \u7528\u4e8e\u6267\u884c Bash \u811a\u672c\uff0cHivePartitionSensorTask \u7528\u4e8e\u63a2\u6d4b hive \u8868\u5206\u533a\u662f\u5426\u5b58\u5728\u3002<\/li>DAG\uff1a\u4e00\u7cfb\u5217 Task \u7684\u96c6\u5408\uff0c\u5177\u6709\u8c03\u5ea6\u5b9a\u65f6\u7b49\u5c5e\u6027\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f9d\u8d56\u5173\u7cfb\u65b9\u9762\uff0cDAG \u4e4b\u95f4\u53ef\u4ee5\u76f8\u4e92\u4f9d\u8d56\uff0c\u65e2\u53ef\u4ee5\u540c\u5468\u671f\u4f9d\u8d56\uff0c\u4e5f\u53ef\u4ee5\u8de8\u5468\u671f\u4f9d\u8d56\uff0c\u8fd8\u53ef\u4ee5\u6709\u4f9d\u8d56\u504f\u79fb\u3002DAG \u5185\u7684 Task \u4e4b\u95f4\u4e5f\u53ef\u4ee5\u4f9d\u8d56\uff0c\u7531\u4e8e\u4ed6\u4eec\u8c03\u5ea6\u5c5e\u6027\u4e00\u81f4\uff0c\u6240\u4ee5\u90fd\u4e3a\u540c\u5468\u671f\u4f9d\u8d56\u3002<\/p>\n\n\n\n\u4e00\u822c\u6765\u8bb2\uff0c\u5e38\u89c1\u7684\u8c03\u5ea6\u6a21\u578b\u9664\u4e86\u53cc\u5c42\u5b9e\u4f53\u6a21\u578b\u5916\uff0c\u8fd8\u6709\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u3002\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u6ca1\u6709 DAG \u7684\u6982\u5ff5\uff0c\u53ea\u6709 Task\uff0cTask \u5177\u6709\u8c03\u5ea6\u5c5e\u6027\uff0cTask \u4e4b\u95f4\u76f8\u4e92\u4f9d\u8d56\u3002\u4e24\u79cd\u6a21\u578b\u5404\u6709\u4f18\u52a3\u3002\u53cc\u5c42\u6a21\u578b\u66f4\u9002\u5408\u5feb\u624b\u7684\u60c5\u51b5\uff0c\u5177\u6709\u66f4\u5f3a\u7684\u8868\u8fbe\u529b\uff0c\u4f7f\u7528\u573a\u666f\u66f4\u5e7f\u6cdb\uff0c\u5f53\u7136\u4e5f\u5177\u6709\u4e00\u5b9a\u7684\u590d\u6742\u6027\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u7cfb\u7edf\u67b6\u6784\u4e0a\uff1a<\/p>\n\n\n\nAPI Server \u63d0\u4f9b\u5404\u5f0f\u5404\u6837\u7684\u63a5\u53e3\uff0c\u8d1f\u8d23\u7edf\u4e00\u63a5\u5165\u3002<\/li>Scheduler \u8d1f\u8d23\u8c03\u5ea6\uff0c\u4e0d\u540c\u7684\u8c03\u5ea6\u573a\u666f\u4f1a\u6709\u4e0d\u540c\u7c7b\u578b\u7684\u8c03\u5ea6\u5668\uff0c\u5305\u62ec\u4f8b\u884c\u3001\u89e6\u53d1\u5f0f\u3001\u8865\u6570\u636e\u3001\u963b\u65ad\u8c03\u5ea6\u5668\u3002\u5728\u4f8b\u884c\u8c03\u5ea6\u5668\u4e2d\uff0c\u4efb\u52a1\u5b9e\u4f8b\u751f\u6210\u540e\uff0c\u4f1a\u4f9d\u6b21\u7ecf\u8fc7\u5b9a\u65f6\u68c0\u6d4b\u3001\u4f9d\u8d56\u68c0\u6d4b\u548c\u8d44\u6e90\u68c0\u6d4b\u3002\u5982\u679c\u90fd\u901a\u8fc7\uff0c\u4f1a\u63d0\u4ea4\u5230 Queue Service \u4e2d\u3002<\/li>Queue Service \u4e3a\u5e26 ack \u673a\u5236\u7684\u6d88\u606f\u961f\u5217\u670d\u52a1\uff0c\u4f1a\u6709\u4e0d\u540c\u7684 channel\uff0c\u4ee5\u4fbf\u9694\u79bb\u4efb\u52a1\u3002<\/li>Worker \u8d1f\u8d23\u4efb\u52a1\u7684\u6267\u884c\uff0c\u4ece\u5c5e\u4e00\u4e2a worker \u5206\u7ec4\u3002\u4e0d\u540c\u5206\u7ec4\u7684 Worker \u6d88\u8d39 Queue Service \u4e2d\u4e0d\u540c Channel \u7684\u4efb\u52a1\uff0c\u6839\u636e\u4e0d\u540c\u7684\u4efb\u52a1\u7c7b\u578b\u8fdb\u884c\u6267\u884c\u3002\u6267\u884c\u5206\u4e3a\u672c\u5730\u6267\u884c\u548c\u5bb9\u5668\u5316\u6267\u884c\u4e24\u79cd\u65b9\u5f0f\uff0c\u672c\u5730\u6267\u884c\u662f\u6307\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u5185\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\uff1b\u5177\u6709\u542f\u52a8\u5feb\u7684\u7279\u70b9\uff1b\u5bb9\u5668\u5316\u6267\u884c\u662f\u6307\u5728 k8s \u8fdc\u7a0b\u6267\u884c\u7528\u6237\u4ee3\u7801\uff0c\u5177\u6709\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\u7684\u7279\u70b9\u3002<\/li><\/ul>\n\n\n\n\u9664\u6b64\u4e4b\u5916\uff0c\u8fd8\u6709\u5176\u5b83\u5173\u952e\u6a21\u5757\uff0c\u5305\u62ec\u65e5\u5fd7\u670d\u52a1\u3001\u62a5\u8b66\u670d\u52a1\u3001\u4e8b\u4ef6\u670d\u52a1\u3001\u5b9e\u4f8b\u8840\u7f18\u670d\u52a1\u7b49\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5173\u952e\u6280\u672f<\/strong><\/p>\n\n\n\n1. \u5173\u952e\u6280\u672f\uff1a\u4f4e\u8c03\u5ea6\u5ef6\u8fdf<\/h1>\n\n\n\n\u8c03\u5ea6\u5ef6\u8fdf\u662f\u6307\u7406\u8bba\u8d77\u8c03\u65f6\u523b\u5230\u5b9e\u9645\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\u7684\u65f6\u95f4\u5dee\u3002\u8c03\u5ea6\u5ef6\u8fdf\u662f\u8861\u91cf\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6027\u80fd\u7684\u91cd\u8981\u6307\u6807\u4e4b\u4e00\uff0c\u8be5\u6307\u6807\u8d8a\u5c0f\u8d8a\u597d\u3002<\/p>\n\n\n\n\u4efb\u52a1\u5b9e\u4f8b\u4ece\u751f\u6210\uff0c\u5230\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\uff0c\u9700\u8981\u7ecf\u8fc7\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\u3001\u7b49\u5f85\u4f9d\u8d56\u5c31\u7eea\u3001\u7b49\u5f85\u8d44\u6e90\u5c31\u7eea\u548c\u51c6\u5907\u8fd0\u884c\u73af\u5883\u56db\u4e2a\u9636\u6bb5\u3002\u8981\u6709\u8f83\u5c0f\u7684\u8c03\u5ea6\u5ef6\u8fdf\uff0c\u5c31\u9700\u8981\u51cf\u5c11\u5404\u4e2a\u9636\u6bb5\u7684\u7cfb\u7edf\u65f6\u95f4\u635f\u8017\u3002\u8c03\u5ea6\u5ef6\u8fdf\u7684\u4e3b\u8981\u56e0\u7d20\u4e0e\u5904\u7406\u65b9\u6848\u6709\uff1a<\/p>\n\n\n\n\u5b9a\u65f6\u5668<\/strong>\u3002\u5b9a\u65f6\u5668\u5728\u63a2\u6d4b\u65f6\u95f4\u5c31\u7eea\u73af\u8282\u8d77\u4f5c\u7528\uff0c\u4e00\u4e2a\u7cbe\u51c6\u7684\u3001\u652f\u6301\u767e\u4e07\u7ea7\u522b\u9ad8\u541e\u5410\u7684\u5b9a\u65f6\u5668\uff0c\u5bf9\u4f4e\u8c03\u5ea6\u5ef6\u8fdf\u81f3\u5173\u91cd\u8981\u3002\u4f18\u79c0\u7684\u5b9a\u65f6\u5668\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u6570\u636e\u5e93\u8bbf\u95ee<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d1\u751f\u53d8\u66f4\u540e\uff0c\u9700\u8981\u5bf9\u72b6\u6001\u8fdb\u884c\u6301\u4e45\u5316\u3002\u901a\u8fc7\u7d22\u5f15\u3001\u8bfb\u5199\u5206\u79bb\u3001\u5206\u5e93\u5206\u8868\u7b49\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5c06\u5355\u6b21\u6570\u636e\u5e93\u8bbf\u95ee\u8017\u65f6\u63a7\u5236\u5728 1 ~ 3ms\uff0c\u603b\u4f53\u8017\u65f6\u63a7\u5236\u5728 10ms \u5de6\u53f3 \u3002<\/li>\u72b6\u6001\u8f6c\u53d8<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u81ea\u751f\u6210\u5230\u8fd0\u884c\u7ed3\u675f\uff0c\u4f1a\u7ecf\u5386\u591a\u6b21\u72b6\u6001\u8f6c\u53d8\u3002\u72b6\u6001\u8f6c\u53d8\u9ad8\u6548\u4e0e\u5426\u662f\u8c03\u5ea6\u5ef6\u8fdf\u7684\u91cd\u8981\u56e0\u7d20\u3002\u4e00\u822c\u6765\u8bf4\u6709\u4e24\u79cd\u529e\u6cd5\uff1a\u8f6e\u8be2\u4e0e\u4e8b\u4ef6\u89e6\u53d1\u3002\u6211\u4eec\u91c7\u7528\u7684\u662f\u4e8b\u4ef6\u89e6\u53d1\u65b9\u5f0f\uff0c\u7b2c\u4e00\u65f6\u95f4\u611f\u77e5\u72b6\u6001\u8f6c\u53d8\u3002\u901a\u8fc7\u4e8b\u4ef6\u89e6\u53d1\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u8fd0\u884c\u73af\u5883\u51c6\u5907<\/strong>\u3002\u8fd9\u4e2a\u73af\u8282\u4e3b\u8981\u5de5\u4f5c\u5305\u62ec\u52a0\u8f7d\u955c\u50cf\u3001\u521d\u59cb\u5316\u8fd0\u884c\u73af\u5883\u7b49\u3002\u6211\u4eec\u4e3b\u8981\u91c7\u7528\u4e86\u9884\u52a0\u8f7d\u548c\u955c\u50cf\u9884\u70ed\u6280\u672f\u3002\u4e0d\u540c\u7684\u8fd0\u884c\u73af\u5883\uff0c\u65f6\u95f4\u635f\u8017\u4e0d\u4e00\u6837\uff0c\u4f1a\u5728\u4e9a\u79d2\u5230\u5206\u949f\u4e0d\u7b49\u3002<\/li><\/ul>\n\n\n\n\u8fd9\u56db\u4e2a\u56e0\u7d20\u4e2d\uff0c\u540e\u4e24\u8005\u76f8\u5bf9\u8f83\u590d\u6742\uff0c\u63a5\u4e0b\u6765\u7740\u91cd\u4ecb\u7ecd\u72b6\u6001\u8f6c\u53d8\u548c\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e24\u90e8\u5206\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u9996\u5148\u770b\u72b6\u6001\u8f6c\u53d8\u8fd9\u4e2a\u56e0\u7d20\u3002\u4efb\u52a1\u4ece\u53d1\u5e03\uff0c\u5230\u8c03\u5ea6\u6267\u884c\u5b8c\u6210\uff0c\u4f1a\u7ecf\u5386\u6570\u6b21\u6216\u8005\u5341\u6570\u6b21\u72b6\u6001\u53d8\u5316\u3002\u5982\u4f55\u8fdb\u884c\u5feb\u901f\u9ad8\u6548\u5730\u72b6\u6001\u8f6c\u53d8\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u95ee\u9898\u3002Kwaiflow \u7684\u89e3\u51b3\u529e\u6cd5\u662f\u91c7\u7528 Akka actor\u3002\u5145\u5206\u5229\u7528\u4e86 akka actor \u9ad8\u6027\u80fd\u7279\u70b9\u3002<\/p>\n\n\n\n\u5177\u4f53\u6765\u8bb2\uff1a<\/p>\n\n\n\n1. Kwaiflow \u7684\u4efb\u52a1\u4ece API Server \u53d1\u5e03\u540e\uff0c\u7ecf\u8fc7 Entry Actor \u52a0\u8f7d\u5230 DagLoader Actors \u4e2d\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\uff1b<\/p>\n\n\n\n2. \u5728\u65f6\u95f4\u5c31\u7eea\u540e\uff0c\u7531 Instance Generator Actors \u751f\u6210\u4efb\u52a1\u5b9e\u4f8b\uff0c\u7136\u540e\u8fdb\u5165 Dependency Detector Actor \u63a2\u6d4b\u4e0a\u6e38\u4f9d\u8d56\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n3. \u5728\u4f9d\u8d56\u5c31\u7eea\u540e\uff0c\u8fdb\u5165 Resource Detector Actor \u63a2\u6d4b\u8d44\u6e90\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n4. \u5728\u8d44\u6e90\u5c31\u7eea\u540e\uff0c\u4efb\u52a1\u5b9e\u4f8b\u901a\u8fc7 Queue Service \u4e0b\u53d1\u5230 worker \u4e2d\u3002<\/p>\n\n\n\n5. \u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u88ab\u63a5\u6536\u540e\uff0c\u5c06\u4f1a\u7531 Processor Actor \u6267\u884c\uff0c\u6267\u884c\u524d\u540e\u4f1a\u4f9d\u6b21\u7ecf\u5386\u4ee3\u7801\u6e32\u67d3\u3001Prehook\u3001\u4ee3\u7801\u6267\u884c\u3001Posthook \u56db\u4e2a\u6b65\u9aa4\u3002<\/p>\n\n\n\n6. \u5982\u679c\u6267\u884c\u6210\u529f\uff0c\u5219\u6d41\u7a0b\u7ec8\u6b62\uff1b\u5982\u679c\u6267\u884c\u5931\u8d25\uff0cPosthook \u4f1a\u5c06\u4fe1\u606f\u901a\u8fc7 Processor Actor\u3001ResultHandlerActor \u4f20\u9012\u7ed9 scheduler \u7684 RetryerActor \u8fdb\u884c\u91cd\u8bd5\u64cd\u4f5c\u3002<\/p>\n\n\n\n\u6574\u4e2a\u6d41\u7a0b\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u5168\u6d41\u7a0b\u4e8b\u4ef6\u89e6\u53d1<\/strong>\uff1a\u65e0\u8f6e\u8be2\uff0c\u4efb\u52a1\u53d1\u5e03\u3001\u8c03\u5ea6\u3001\u6267\u884c\u3001\u91cd\u8bd5\uff0c\u5747\u4e3a\u4e8b\u4ef6\u89e6\u53d1\u3002<\/li>\u9ad8\u541e\u5410<\/strong>\uff1a\u91c7\u7528\u5f02\u6b65\u5e76\u53d1\u7684\u65b9\u5f0f\uff0c\u80fd\u5feb\u901f\u8c03\u8d77\u5927\u91cf\u4efb\u52a1\u5b9e\u4f8b<\/li>\u7b80\u5355\u6613\u7528<\/strong>\uff1a\u65e0\u9700\u4f7f\u7528\u5e95\u5c42 API \u8fdb\u884c\u9501\u548c\u7ebf\u7a0b\u7ba1\u7406\uff0c\u4e13\u6ce8\u4e1a\u52a1\u5b9e\u73b0\u3002<\/li><\/ul>\n\n\n\n\u91c7\u7528 actor\uff0c\u72b6\u6001\u8f6c\u53d8\u5bfc\u81f4\u7684\u65f6\u95f4\u635f\u8017\u63a7\u5236\u5728\u6beb\u79d2\u7ea7\u522b\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u63a5\u4e0b\u6765\u6211\u4eec\u770b\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e2a\u56e0\u7d20\u3002\u8fd9\u548c\u6267\u884c\u573a\u666f\u6709\u5173\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e0d\u540c\u7684\u6267\u884c\u573a\u666f\uff0cKwaiflow \u63d0\u4f9b\u4e86\u4e24\u79cd\u6267\u884c\u65b9\u5f0f\uff1a\u5bb9\u5668\u5316\u6267\u884c\u548c\u672c\u5730\u6267\u884c\u3002<\/p>\n\n\n\n\u5bb9\u5668\u5316\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u6bcf\u6b21\u6267\u884c\u524d\uff0c\u5728 k8s \u6309\u9700\u7533\u8bf7\u5bb9\u5668\u8d44\u6e90\uff0c\u5728\u5bb9\u5668\u4e2d\u6267\u884c\u4efb\u52a1\u5b9e\u4f8b\uff0c\u6267\u884c\u5b8c\u540e\uff0c\u53ca\u65f6\u91ca\u653e\u5bb9\u5668\u8d44\u6e90\u3002\u4f18\u70b9\u662f\u5b9e\u73b0\u4e86\u6267\u884c\u65f6\u7684\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\uff1b\u7f3a\u70b9\u662f\u6bcf\u6b21\u90fd\u9700\u8981\u7533\u8bf7\u548c\u521d\u59cb\u5316\u5bb9\u5668\u8d44\u6e90\uff0c\u542f\u52a8\u8017\u65f6\u957f\u3002\u5bb9\u5668\u5316\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Bash \u4efb\u52a1\u3002\u4e3a\u4e86\u51cf\u5c11\u5bb9\u5668\u5316\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\uff0c\u6211\u4eec\u5c06\u955c\u50cf\u5206\u4e3a\u81ea\u5b9a\u4e49\u955c\u50cf\u548c\u901a\u7528\u955c\u50cf\uff0c\u5bf9\u901a\u7528\u955c\u50cf\u8fdb\u884c\u9884\u70ed\uff0c\u63d0\u524d\u5206\u53d1\u5230\u673a\u5668\u4e2d\uff0c\u51cf\u5c11\u955c\u50cf\u4e0b\u8f7d\u8017\u65f6\u3002\u901a\u8fc7\u955c\u50cf\u9884\u70ed\uff0c\u53ef\u4ee5\u5c06\u542f\u52a8\u8017\u65f6\u4ece\u5206\u949f\u7ea7\u964d\u4f4e\u5230\u79d2\u7ea7\u3002<\/li>\u672c\u5730\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u673a\u4e2d\uff0c\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\u3002\u540c\u4e00\u4e2a worker \u673a\u4e2d\u7684\u6240\u6709\u4efb\u52a1\u5b9e\u4f8b\u5171\u4eab\u8ba1\u7b97\u8d44\u6e90\u548c\u6267\u884c\u73af\u5883\u3002\u4f18\u70b9\u662f\u542f\u52a8\u8017\u65f6\u77ed\uff0coverhead \u5c0f\uff1b\u7f3a\u70b9\u662f\u8d44\u6e90\u548c\u73af\u5883\u4e0d\u9694\u79bb\uff0c\u4e00\u4e2a\u4efb\u52a1\u5b9e\u4f8b\u6267\u884c\u5f02\u5e38\u6709\u53ef\u80fd\u5bfc\u81f4\u6574\u4e2a worker \u673a crash\u3002\u672c\u5730\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u4e0d\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Hive \u548c Sensor \u4efb\u52a1\u3002\u672c\u5730\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\u4e00\u822c\u5728\u4e9a\u79d2\u7ea7\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n2. \u5173\u952e\u6280\u672f\uff1a\u9ad8\u53ef\u7528<\/h1>\n\n\n\n\u9ad8\u53ef\u7528\u5bf9\u8c03\u5ea6\u7cfb\u7edf\u6765\u8bf4\u975e\u5e38\u91cd\u8981\u3002\u4e3a\u4e86\u4fdd\u969c Kwaiflow \u7684\u9ad8\u53ef\u7528\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e24\u65b9\u9762\u8fdb\u884c\u8003\u8651\uff1a\u7cfb\u7edf\u8bbe\u8ba1\u548c\u6545\u969c\u53d1\u73b0\u5904\u7406\u3002\u5728\u7cfb\u7edf\u8bbe\u8ba1\u4e0a\uff0cKwaiflow \u53ef\u4ee5\u505a\u5230\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5373\u4efb\u52a1\u5b9e\u4f8b\u5728\u590d\u6742\u73af\u5883\u4e2d Exactly Once \u6267\u884c\uff0c\u505a\u5230\u4e0d\u6f0f\uff0c\u4e14\u5c3d\u91cf\u4e0d\u91cd\u3002<\/p>\n\n\n\n\u5bf9\u4e8e\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5e38\u89c1\u7684\u6545\u969c\u573a\u666f\u5305\u62ec\u7ec4\u4ef6\u6545\u969c\u6216\u8005\u7ec4\u4ef6\u5931\u8054\u3002\u4f8b\u5982 scheduler crash\u3001\u5bb9\u5668\u5316\u4efb\u52a1\u4e0e worker \u5931\u8054\u7b49\u3002<\/p>\n\n\n\n\u4e3a\u4e86\u8fbe\u5230\u9ad8\u53ef\u9760\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e09\u65b9\u9762\u8003\u8651\uff1a<\/p>\n\n\n\nFailover \u673a\u5236\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u548c\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\uff0c\u6765\u5b9e\u73b0\u7ec4\u4ef6\u7684\u81ea\u52a8\u5bb9\u9519\u3002\u4f8b\u5982 Kwaiflow \u91c7\u7528\u4e3b\u5907 Master\uff0c\u591a worker \u7684\u8bbe\u8ba1\u6765\u907f\u514d\u5355\u70b9\u95ee\u9898\uff1b\u5404\u4e2a\u7ec4\u4ef6\u4e4b\u95f4\u91c7\u7528\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\u6765\u907f\u514d\u5931\u8054\u95ee\u9898\u3002\u534f\u8bae\u5305\u62ec scheduler Executor \u901a\u4fe1\u534f\u8bae\u3001Executor Runner \u901a\u4fe1\u534f\u8bae\u3001External Job \u901a\u4fe1\u534f\u8bae\u3002\u53f3\u56fe\u5c55\u793a\u4e86 Executor Runner \u901a\u4fe1\u534f\u8bae\u7684\u4e3b\u8981\u6d41\u7a0b\uff0c\u534f\u8bae\u89c4\u5b9a\u4e86\u4efb\u52a1\u63d0\u4ea4\u3001\u6b63\u5e38\u6267\u884c\u3001\u5f02\u5e38\u6267\u884c\u3001\u901a\u4fe1\u5931\u8054\u7684\u5904\u7406\u529e\u6cd5\uff0c\u4e0d\u4f9d\u8d56\u5916\u90e8\u7cfb\u7edf\u7684\u72b6\u6001\u3002<\/li>\u907f\u514d\u9057\u6f0f\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u6d88\u606f ack \u673a\u5236\uff0c\u4fdd\u969c\u6d88\u606f\u4e0d\u4e22\u5931\uff1b\u540c\u65f6\u901a\u8fc7\u5b9a\u671f\u515c\u5e95\u5de1\u68c0\uff0c\u4fdd\u969c\u4efb\u52a1\u5b9e\u4f8b\u4e0d\u9057\u6f0f\u3002<\/li>\u907f\u514d\u91cd\u590d\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u72b6\u6001\u673a\u8f6c\u79fb\u56fe\uff0c\u907f\u514d\u4e0d\u5408\u7406\u72b6\u6001\u8f6c\u53d8\uff1b\u540c\u65f6\u901a\u8fc7\u91cd\u8bd5\u524d\u6e05\u7406\u524d\u4e00\u4e2a\u5b9e\u4f8b\uff0c\u907f\u514d\u91cd\u590d\u6267\u884c\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u9ad8\u53ef\u7528\u65b9\u9762\uff0c\u8fd8\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u7cfb\u7edf\u8bbe\u8ba1\u662f\u5206\u7ea7\u4fdd\u969c\u3002\u5feb\u624b\u5728\u8fdb\u884c\u5927\u578b\u6d3b\u52a8\u4f8b\u5982\u6625\u8282\u3001\u5965\u8fd0\u65f6\uff0c\u6574\u4f53\u6570\u636e\u91cf\u5927\u5e45\u5ea6\u589e\u957f\uff0c\u5c40\u90e8\u6570\u636e\u5448\u6570\u500d\u589e\u957f\u3002\u4f46\u8ba1\u7b97\u8d44\u6e90\u662f\u6709\u9650\u7684\uff0c\u8ba1\u7b97\u8d44\u6e90\u7684\u589e\u957f\u5f80\u5f80\u4e0d\u80fd\u5339\u914d\u6570\u636e\u91cf\u7684\u589e\u957f\uff0c\u4e0d\u80fd\u8ba9\u6240\u6709\u7684\u4efb\u52a1\u548c\u5f80\u5e38\u4e00\u6837\u6309\u65f6\u4ea7\u51fa\u3002\u8fd9\u65f6\u5019\u6211\u4eec\u5c31\u9700\u8981\u8fdb\u884c\u5206\u7ea7\u4fdd\u969c\u3002<\/p>\n\n\n\n\u6240\u8c13\u5206\u7ea7\u4fdd\u969c\uff0c\u5c31\u662f\u5728\u8d44\u6e90\u6709\u9650\u7684\u60c5\u51b5\u4e0b\uff0c\u8ba9\u9ad8\u4f18\u4efb\u52a1\u5f97\u5230\u7279\u6743\uff0c\u4f18\u5148\u5f97\u5230\u6267\u884c\uff0c\u4f18\u5148\u83b7\u5f97\u5145\u8db3\u7684\u4f18\u8d28\u8d44\u6e90\uff0c\u4fdd\u969c\u4ea7\u51fa\u65f6\u95f4\uff1b\u800c\u4f4e\u4f18\u4efb\u52a1\u5219\u4f1a\u88ab\u5ef6\u8fdf\u8c03\u5ea6\u6267\u884c\uff0c\u5206\u914d\u66f4\u5c11\u7684\u8d44\u6e90\u3002<\/p>\n\n\n\n\u5728\u5feb\u624b\uff0c\u6574\u4e2a\u79bb\u7ebf\u4f53\u7cfb\uff0c\u5305\u62ec Kwaiflow\u3001Hive\u3001Yarn\u3001HDFS \u7b49\uff0c\u90fd\u5177\u6709\u5206\u7ea7\u4fdd\u969c\u7684\u80fd\u529b\u3002\u8fd9\u91cc\u4ecb\u7ecd Kwaiflow \u7684\u5206\u7ea7\u4fdd\u969c\u80fd\u529b\uff0c\u5305\u62ec\u4e09\u65b9\u9762\uff1a<\/p>\n\n\n\nKwaiflow \u8c03\u5ea6\u5668\u5177\u6709\u5206\u7ea7\u8c03\u5ea6\u7684\u80fd\u529b<\/strong>\u3002Kwaiflow \u8c03\u5ea6\u5668\u80fd\u611f\u77e5\u5230\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u7684\u72b6\u6001\uff0c\u5728\u8d44\u6e90\u4e0d\u8db3\u65f6\uff0cKwaiflow \u4efb\u52a1\u4f1a\u5728\u8c03\u5ea6\u5668\u6392\u961f\uff0c\u9ad8\u4f18\u4efb\u52a1\u6392\u5728\u524d\u9762\uff0c\u4f4e\u4f18\u4efb\u52a1\u6392\u5728\u540e\u9762\uff1b\u5f53\u8d44\u6e90\u5f97\u5230\u91ca\u653e\u65f6\uff0c\u9ad8\u4f18\u4efb\u52a1\u4f18\u5148\u88ab\u8c03\u5ea6\u3002<\/li>Kwaiflow \u7684\u6267\u884c\u5668\u6309\u7167\u4e0d\u540c\u4f18\u5148\u7ea7\u8fdb\u884c\u5206\u7ec4<\/strong>\u3002\u5305\u62ec\u4e09\u7ec4\uff1aP0 \u6267\u884c\u5668\u7ec4\u3001P1 \u6267\u884c\u5668\u7ec4\u4ee5\u53ca P2 P3 \u6267\u884c\u5668\u7ec4\u3002P0 \u6267\u884c\u5668\u7528\u4e8e\u6267\u884c\u6700\u9ad8\u4f18\u5148\u7ea7\u7684 P0 \u4efb\u52a1\uff0c\u5177\u6709\u5145\u8db3\u7684 worker\uff0cP0 \u4efb\u52a1\u5b9e\u4f8b\u57fa\u672c\u4e0d\u4f1a\u5728\u6267\u884c\u5668\u5c42\u88ab\u9650\u5236\u3002\u5bf9\u4e8e P2 P3 \u5206\u7ec4\uff0c\u5728\u8c03\u5ea6\u9ad8\u5cf0\u671f\uff0c\u4efb\u52a1\u5b9e\u4f8b\u5f88\u591a\u65f6\uff0c\u53ef\u80fd\u5b58\u5728\u6392\u961f\u6267\u884c\u7684\u60c5\u51b5\u3002<\/li>Kwaiflow \u5177\u6709\u8f83\u5f3a\u7684\u4eba\u5de5\u7ba1\u63a7\u80fd\u529b<\/strong>\uff0c\u53ef\u4ee5\u4eba\u4e3a\u5730\u5141\u8bb8\u6216\u8005\u963b\u65ad\u67d0\u4e9b\u4efb\u52a1\u7684\u8c03\u5ea6\u3002\u5178\u578b\u4f7f\u7528\u573a\u666f\u662f\u5728\u5927\u578b\u6d3b\u52a8\u671f\u95f4\uff0c\u53ef\u4ee5\u6839\u636e\u9884\u6848\uff0c\u5bf9\u4f4e\u4f18\u5148\u7ea7\u7684\u4efb\u52a1\u4eba\u4e3a\u8fdb\u884c\u5ef6\u8fdf\u8c03\u5ea6\uff0c\u4fdd\u969c\u8d44\u6e90\u5206\u914d\u7ed9\u9ad8\u4f18\u4efb\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u524d\u9762\u4e3b\u8981\u4ece\u7cfb\u7edf\u8bbe\u8ba1\u65b9\u9762\u4ecb\u7ecd\u4e86\u7ebf\u4e0a\u6545\u969c\u7684\u81ea\u52a8\u89c4\u907f\u3002Kwaiflow \u9ad8\u53ef\u7528\u7684\u7b2c\u4e8c\u4e2a\u65b9\u9762\u662f\u6545\u969c\u7684\u53d1\u73b0\u548c\u5904\u7406\u3002\u5982\u679c\u6545\u969c\u53d1\u73b0\u4e0d\u53ca\u65f6\u3001\u5904\u7406\u4e0d\u8fc5\u901f\uff0c\u4f1a\u51fa\u73b0\u5927\u89c4\u6a21\u7684\u8c03\u5ea6\u9519\u8bef\u6216\u8005\u8c03\u5ea6\u5ef6\u8fdf\u6545\u969c\u3002\u5728\u5feb\u624b\u8c03\u5ea6\u7cfb\u7edf\u53d1\u5c55\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u78b0\u5230\u8fc7\u8fd9\u6837\u7684\u5927\u6545\u969c\uff0c\u4e3a\u4e86\u907f\u514d\u518d\u6b21\u53d1\u751f\uff0c\u6211\u4eec\u5efa\u7acb\u4e86\u5b8c\u5907\u7684\u76d1\u63a7\u9884\u6848\u4f53\u7cfb\u3002<\/p>\n\n\n\n\u5728\u76d1\u63a7\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5206\u6210\u4f7f\u7528\u5c42\u3001\u670d\u52a1\u5c42\u3001\u4f9d\u8d56\u5c42\u4e09\u4e2a\u5c42\u6b21\uff0c\u5e76\u5212\u5206\u76d1\u63a7\u4f18\u5148\u7ea7\uff0c\u91c7\u7528\u4e0d\u540c\u7684\u54cd\u5e94\u65b9\u5f0f\u3002<\/li>\u5728\u6545\u969c\u9884\u6848\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u6709\u4e24\u7c7b\u9884\u6848\uff1a\u7cfb\u7edf\u6545\u969c\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u8c03\u5ea6\u7cfb\u7edf\u81ea\u8eab\u95ee\u9898\uff1b\u6570\u636e\u5f02\u5e38\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u94fe\u8def\u6570\u636e\u4e0d\u6b63\u786e\u7684\u95ee\u9898\u3002\u6211\u4eec\u6c89\u6dc0\u4e86\u591a\u573a\u666f\u7684\u963b\u65ad\u6062\u590d\u548c\u8865\u6570\u636e\u5de5\u5177\uff0c\u80fd\u591f\u5728\u6570\u5206\u949f\u5185\u542f\u52a8\u6570\u636e\u6062\u590d\u3002<\/li>\u5728\u6f14\u7ec3\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5b9a\u671f\u5bf9\u9884\u6848\u8fdb\u884c\u6f14\u7ec3\uff0c\u4fdd\u8bc1\u9884\u6848\u7684\u53ef\u7528\u6027\uff0c\u64cd\u4f5c\u7684\u719f\u7ec3\u6027\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n3. \u5173\u952e\u6280\u672f\uff1a\u5f00\u653e\u80fd\u529b<\/h1>\n\n\n\n\u5f00\u653e\u662f\u6570\u636e\u4e2d\u53f0\u7684\u6838\u5fc3\u7ade\u4e89\u529b\u3002\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u7ed9\u4e88\u4f7f\u7528\u8005\u81ea\u7531\u7684\u53d1\u6325\u7a7a\u95f4\uff0c\u6ee1\u8db3\u66f4\u591a\u4f7f\u7528\u573a\u666f\uff1b\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u6784\u5efa\u6570\u636e\u751f\u6001\uff0c\u63d0\u4f9b\u66f4\u4e30\u5bcc\u7684\u80fd\u529b\u3002Kwaiflow \u63d0\u4f9b\u4e86\u591a\u79cd\u5f00\u653e\u80fd\u529b\uff1a<\/p>\n\n\n\nKwaiflow \u5177\u6709\u5f00\u653e\u7684 API\uff0c\u652f\u6301\u591a\u8bed\u8a00 SDK\uff0c\u63d0\u4f9b\u4e86\u6807\u51c6\u5316\u7684\u63a5\u5165\u6d41\u7a0b\u3001\u4f7f\u7528\u624b\u518c\u548c\u63a5\u5165 demo\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u6807\u51c6\u7684\u4e8b\u4ef6\u3002\u5305\u62ec\u4efb\u52a1\u64cd\u4f5c\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d8\u66f4\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u8bca\u65ad\u4e8b\u4ef6\u7b49\u3002\u6839\u636e\u8fd9\u4e9b\u4e8b\u4ef6\uff0c\u53ef\u4ee5\u5b8c\u6574\u590d\u73b0\u51fa\u4efb\u52a1\u548c\u4efb\u52a1\u5b9e\u4f8b\u7684\u5168\u751f\u547d\u5468\u671f\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u63d2\u4ef6\u5316\u4efb\u52a1\u7c7b\u578b\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5b9a\u4e49\u548c\u5f00\u53d1\u81ea\u5b9a\u4e49\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u5e76\u8fdb\u884c\u7075\u6d3b\u6d4b\u8bd5\u3001\u7070\u5ea6\u4e0a\u7ebf\u548c\u7ba1\u7406\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86 Hook\uff0c\u53ef\u4ee5\u5728\u7528\u6237\u4ee3\u7801\u8fd0\u884c\u524d\u540e\u6267\u884c\u3002\u5305\u62ec\u6267\u884c\u524d\u7684 Prehook \u548c\u6267\u884c\u540e\u7684 Posthook\u3002\u5e38\u89c1\u573a\u666f\u5305\u62ec\u7528\u4e8e\u4ee3\u7801\u6e32\u67d3\u3001\u524d\u7f6e\u68c0\u67e5\u7684 Prehook\uff0c\u4ee5\u53ca\u7528\u4e8e\u6267\u884c\u540e\u6570\u636e\u8d28\u91cf\u68c0\u6d4b\u7684 Posthook\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u4e0e\u6210\u679c<\/strong><\/p>\n\n\n\n\u5982\u679c\u628a\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6bd4\u4f5c\u5927\u697c\u7684\u9aa8\u67b6\uff0c\u90a3\u4e48\u57fa\u4e8e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u5c31\u662f\u88c5\u4fee\u5b8c\u5584\u3001\u9002\u4e8e\u4eba\u5de5\u4f5c\u751f\u6d3b\u7684\u5927\u53a6\u3002\u901a\u8fc7\u5e94\u7528\uff0c\u80fd\u66f4\u597d\u5730\u4f53\u73b0\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4ef7\u503c\u3002\u5728\u5feb\u624b\uff0c\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4e00\u4e2a\u5178\u578b\u5e94\u7528\u3002<\/p>\n\n\n\n\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u5feb\u624b\u7684\u4e00\u7ad9\u5f0f\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u4f7f\u7528 kwaiflow \u4f5c\u4e3a\u7edf\u4e00\u7684\u7f16\u6392\u4e0e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u6784\u5efa\u4e86\u5404\u7c7b\u7684\u6570\u636e\u5f00\u53d1\u8fd0\u7ef4\u7b49\u670d\u52a1\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u67e5\u8be2\u3001\u540c\u6b65\u3001\u5f00\u53d1\u3001\u670d\u52a1\u5316\u3001\u8fd0\u7ef4\u3001\u7ba1\u7406\u7b49\u80fd\u529b\u3002<\/p>\n\n\n\n\u8be5\u5e73\u53f0\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u4e00\u7ad9\u5f0f<\/strong>\uff1a\u5e73\u53f0\u6db5\u76d6\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u7684\u5404\u73af\u8282\uff0c\u5305\u62ec\u6570\u636e\u63a5\u5165\u3001\u6570\u636e\u52a0\u5de5\u3001\u6570\u636e\u5206\u53d1\u548c\u6570\u636e\u670d\u52a1\u5316\u3002\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u6e90\u7ba1\u7406\uff0c\u521b\u5efa\u6570\u636e\u63a5\u5165\u4efb\u52a1\u5c06\u5404\u79cd\u6570\u636e\u6e90\u5bfc\u5165\u5230\u5927\u6570\u636e\u7cfb\u7edf\u4e2d\uff1b\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u667a\u80fd IDE \u7f16\u5199\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03 ETL \u4efb\u52a1\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5de5\u5904\u7406\uff0c\u4ea7\u751f\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b\u7528\u6237\u8fd8\u53ef\u4ee5\u521b\u5efa\u6570\u636e\u5206\u53d1\u4efb\u52a1\uff0c\u5c06\u9ad8\u4ef7\u503c\u6570\u636e\u5206\u53d1\u5230\u5176\u5b83\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u4f8b\u5982\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u975e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u7f13\u5b58\u7cfb\u7edf\u3001OLAP \u5f15\u64ce\u7b49\u3002\u7528\u6237\u4e5f\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u914d\u7f6e\u7684\u65b9\u5f0f\u521b\u5efa\u670d\u52a1\u5316 API\uff0c\u4e3a\u7ebf\u4e0a\u7cfb\u7edf\u63d0\u4f9b\u670d\u52a1\u3002<\/li>\u901a\u7528<\/strong>\uff1a\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u80fd\u7edf\u4e00\u8fd0\u7ef4 Kwaiflow \u6240\u6709\u4efb\u52a1\uff0c\u5305\u62ec\u4efb\u52a1\u8fd0\u7ef4\u3001\u5b9e\u4f8b\u8fd0\u7ef4\u3001\u94fe\u8def\u8fd0\u7ef4\u7b49\u65b9\u5f0f\uff0c\u9002\u5408\u6570\u636e\u5f00\u53d1\u3001\u5b9a\u65f6\u8c03\u5ea6\u3001\u89e6\u53d1\u5f0f\u8c03\u5ea6\u7b49\u573a\u666f\u3002<\/li>\u667a\u80fd<\/strong>\uff1a\u5728\u5f00\u53d1\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd IDE\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4ee3\u7801\u95ee\u9898\uff1b\u5728\u8fd0\u7ef4\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd\u76d1\u63a7\u3001\u667a\u80fd\u8bca\u65ad\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4efb\u52a1\u548c\u94fe\u8def\u95ee\u9898\uff0c\u5e76\u8f85\u52a9\u5b9a\u4f4d\u95ee\u9898\u539f\u56e0\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8981\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u4e0d\u4ec5\u8981\u6709\u5f3a\u5927\u7684\u81ea\u8eab\u80fd\u529b\uff0c\u66f4\u8981\u6709\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\u3002\u5728\u5feb\u624b\uff0cKwaiflow \u548c\u5927\u6570\u636e\u7684\u5176\u5b83\u7cfb\u7edf\u6df1\u5ea6\u96c6\u6210\uff0c\u63a5\u5165\u4e86 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u4fbf\u6377\u5730\u4f7f\u7528\u5176\u5b83\u5927\u6570\u636e\u7cfb\u7edf\u7684\u80fd\u529b\u3002\u53ef\u4ee5\u8bf4\uff0c\u81ea\u8eab\u80fd\u529b\u548c\u751f\u6001\u4f53\u7cfb\u5bf9 Kwaiflow \u6765\u8bf4\u540c\u7b49\u91cd\u8981\u3002<\/p>\n\n\n\n\u9996\u5148\uff0c\u5c31\u81ea\u8eab\u800c\u8a00\uff0cKwaiflow \u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u6267\u884c\u80fd\u529b\u3002\u5305\u62ec\u591a\u573a\u666f\u8c03\u5ea6\u80fd\u529b\u3001\u591a\u6837\u5316\u7684\u6267\u884c\u80fd\u529b\u3001\u6613\u7528\u7684\u8fd0\u7ef4\u80fd\u529b\u548c\u9ad8\u53ef\u7528\u7684\u7279\u6027\u3002<\/p>\n\n\n\n\u5176\u6b21\uff0cKwaiflow \u5177\u6709\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\u3002\u63a5\u5165 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u65b9\u4fbf\u5730\u4f7f\u7528\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\u3002<\/p>\n\n\n\n\u6700\u540e\uff0cKwaiflow \u65e0\u7f1d\u96c6\u6210\u4e86\u5176\u5b83\u4e2d\u53f0\u80fd\u529b\u3002\u5305\u62ec\u6570\u636e\u8d28\u91cf\u3001\u6570\u636e\u5b89\u5168\u4f53\u7cfb\u3001\u5b8c\u6574\u51c6\u786e\u7684\u4efb\u52a1\u5b9e\u4f8b\u8840\u7f18\u3001\u94fe\u8def\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5c06\u4ece\u6027\u80fd\u3001\u529f\u80fd\u548c\u4f7f\u7528\u60c5\u51b5\u4e09\u4e2a\u65b9\u9762\u4ecb\u7ecd Kwaiflow \u7684\u6210\u679c\u3002<\/p>\n\n\n\n\u5728\u6027\u80fd\u65b9\u9762<\/strong>\uff0c\u548c Airflow \u76f8\u6bd4\uff0c\u6709\u6781\u5927\u7684\u63d0\u5347\uff1a<\/p>\n\n\n\n\u5728\u89c4\u6a21\u4e0a\uff0cKwaiflow \u521d\u7248\u8bbe\u8ba1\u5bb9\u91cf\u4e3a\u767e\u4e07\u7ea7\u522b\u4efb\u52a1\uff0c\u5f53\u524d\u5df2\u6709\u6570\u5341\u4e07\u7684\u4efb\u52a1\u6570\uff0c\u548c Airflow \u5355\u96c6\u7fa4\u4e0d\u8d85\u8fc7 1 \u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\u3002<\/li>\u5728\u6027\u80fd\u4e0a\uff0cKwaiflow \u8c03\u5ea6\u9ad8\u5cf0\u671f\u7684\u8c03\u5ea6\u5ef6\u8fdf P99 \u5c0f\u4e8e 5 \u79d2\uff0c\u548c Airflow 5 \u5206\u949f\u76f8\u6bd4\uff0c\u6709\u6570\u91cf\u7ea7\u7684\u63d0\u5347\uff1bKwaiflow \u8d77\u8c03\u901f\u7387\u5341\u6570\u4e07\u6bcf\u5206\u949f\uff0c\u548c Airflow \u6570\u5343\u6bcf\u5206\u949f\u5bf9\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\uff1bKwaiflow \u8fd0\u884c\u7684\u5e76\u53d1\u5b9e\u4f8b\u6570\u5341\u6570\u4e07\u4e07\uff0c\u548c Airflow \u5c0f\u4e8e1\u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u5341\u6570\u500d\u3002<\/li>\u5728\u7a33\u5b9a\u6027\u4e0a\uff0cKwaiflow \u53ef\u7528\u6027\u4e3a 99.99%\uff0c Airflow \u5219\u4e3a 99.5%\uff1bKwaiflow \u5e74\u6545\u969c\u6570\u7ea6 1 \u4e2a\uff0c\u800c Airflow \u5e74\u5747\u4e3a 8 \u4e2a\u3002<\/li><\/ul>\n\n\n\n\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u80cc\u666f<\/strong><\/p>\n\n\n\n\u5bf9\u4e8e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u5927\u5bb6\u5e94\u8be5\u90fd\u4e0d\u964c\u751f\u3002\u6211\u4eec\u5728\u65e5\u5e38\u5de5\u4f5c\u4e2d\uff0c\u4f1a\u78b0\u5230\u5f88\u591a\u8c03\u5ea6\u7684\u573a\u666f\uff0c\u4f8b\u5982\u901a\u8fc7\u5b9a\u65f6\u4efb\u52a1\u6bcf\u5929\u53d1\u9001\u65e5\u62a5\u6216\u8005\u9009\u62e9\u5408\u9002\u7684\u8d1f\u8f7d\u673a\u5668\u6765\u6267\u884c\u4efb\u52a1\u3002\u6839\u636e\u4fa7\u91cd\u70b9\u4e0d\u540c\uff0c\u8c03\u5ea6\u7cfb\u7edf\u53ef\u4ee5\u5206\u4e3a\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u548c\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u3002<\/p>\n\n\n\n\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\uff1a\u4e3b\u8981\u5173\u6ce8\u5e95\u5c42\u7269\u7406\u8d44\u6e90\u7684\u5206\u914d\uff0c\u5f80\u5f80\u7ba1\u7406\u7740\u8f83\u5927\u7684\u7269\u7406\u96c6\u7fa4\uff0c\u4e3a\u4f7f\u7528\u8005\u63d0\u4f9b\u826f\u597d\u7684\u8d44\u6e90\u62bd\u8c61\u3002\u5e38\u89c1\u7684\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u5305\u62ec Yarn\u3001k8s\u3001mesos \u7b49\u3002<\/li>\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\uff1a\u4e3b\u8981\u5173\u6ce8\u4efb\u52a1\u53ca\u65f6\u51c6\u786e\u5730\u6267\u884c\uff0c\u4e3a\u4f7f\u7528\u8005\u63d0\u4f9b\u4efb\u52a1\u5b9a\u65f6\u3001\u5de5\u4f5c\u6d41\u8c03\u5ea6\u7b49\u80fd\u529b\u3002\u5e38\u89c1\u7684\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5305\u62ec Airflow\uff0cDolphinScheduler\uff0cAzkaban \u7b49\u3002<\/li><\/ul>\n\n\n\n\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u548c\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5e76\u4e0d\u662f\u5bf9\u7acb\u7684\uff0c\u800c\u662f\u534f\u4f5c\u5173\u7cfb\u3002\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5e38\u5e38\u4f1a\u4f9d\u8d56\u4e8e\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u6765\u6267\u884c\u4efb\u52a1\u3002\u672c\u6587\u5c06\u805a\u7126\u5728\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u5728\u5404\u7c7b\u573a\u666f\u4e2d\u53d1\u6325\u7740\u91cd\u8981\u4f5c\u7528\u3002\u5927\u6570\u636e\u7684\u539f\u59cb\u6570\u636e\u4e00\u822c\u662f\u4e1a\u52a1\u5e93\u3001\u670d\u52a1\u7aef\u65e5\u5fd7\u548c\u5ba2\u6237\u7aef\u65e5\u5fd7\uff0c\u8fd9\u4e9b\u539f\u59cb\u6570\u636e\u7684\u4ef7\u503c\u5bc6\u5ea6\u662f\u5f88\u4f4e\u7684\u3002\u5982\u679c\u8981\u63d0\u70bc\u51fa\u9ad8\u4ef7\u503c\u7684\u4fe1\u606f\uff0c\u5f80\u5f80\u9700\u8981\uff1a<\/p>\n\n\n\n1. \u7ecf\u8fc7\u6570\u636e\u63a5\u5165\u8fdb\u5165\u5927\u6570\u636e\u7cfb\u7edf\uff1b<\/p>\n\n\n\n2. \u7136\u540e\u7ecf\u8fc7\u7cbe\u5fc3\u5efa\u6a21\uff0c\u5c42\u5c42\u52a0\u5de5\uff0c\u751f\u4ea7\u51fa\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b<\/p>\n\n\n\n3. \u6700\u540e\u7ecf\u8fc7\u6570\u636e\u5206\u53d1\u5230\u5408\u9002\u7684\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u7136\u540e\u901a\u8fc7\u670d\u52a1\u5316\u63d0\u4f9b\u7ed9\u6570\u636e\u5e94\u7528\uff0c\u4f8b\u5982\u6570\u636e\u5206\u6790\u3001\u5728\u7ebf\u670d\u52a1\u3001\u6a21\u578b\u8bad\u7ec3\u7b49\u3002<\/p>\n\n\n\n\u5728\u8fd9\u6574\u4e2a\u8fc7\u7a0b\u4e2d\uff0c\u4f1a\u6709\u5f88\u591a\u4efb\u52a1\u8d1f\u8d23\u6570\u636e\u7684\u63a5\u5165\u3001\u52a0\u5de5\u548c\u5206\u53d1\u3002\u8fd9\u4e9b\u4efb\u52a1\u4ea4\u7ec7\u4f9d\u8d56\uff0c\u5f62\u6210\u4e86\u4e00\u4e2a\u5927\u7684\u6709\u5411\u56fe\u3002\u6570\u636e\u751f\u4ea7\u7684\u6838\u5fc3\uff0c\u5c31\u662f\u9700\u8981\u5bf9\u8fd9\u4e2a\u56fe\u8fdb\u884c\u7edf\u4e00\u8c03\u5ea6\u3002\u4e3a\u6b64\uff0c\u9700\u8981\u6709\u4e00\u4e2a\u7edf\u4e00\u7684\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u3002\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u662f\u5927\u6570\u636e\u751f\u4ea7\u7684\u6838\u5fc3\uff0c\u5b83\u5e76\u4e0d\u662f\u5b64\u7acb\u5b58\u5728\u7684\uff0c\u4f1a\u4f9d\u8d56\u4e8e\u5e95\u5c42\u7684\u8d44\u6e90\u5982\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\uff0c\u5e76\u4e3a\u4e0a\u5c42\u5e94\u7528\u5982\u6570\u636e\u5f00\u53d1\u3001ABTest \u5e73\u53f0\u3001\u6307\u6807\u751f\u4ea7\u3001\u673a\u5668\u5b66\u4e60\u7b49\u63d0\u4f9b\u670d\u52a1\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u5feb\u624b\uff0c\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6311\u6218\u4e3b\u8981\u5305\u62ec\u4e09\u90e8\u5206\uff1a<\/p>\n\n\n\n\u4efb\u52a1\u91cf\u5927<\/strong>\uff1a\u6709\u6570\u5341\u4e07\u4e2a\u4efb\u52a1\uff0c\u4e0a\u767e\u4e07\u6761\u4f9d\u8d56\u5173\u7cfb\uff1b\u8fd9\u7ed9\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u6027\u80fd\u5e26\u6765\u4e86\u6311\u6218\uff0c\u5927\u4efb\u52a1\u91cf\u4f1a\u5bfc\u81f4\u6027\u80fd\u6076\u5316\u3002<\/li>\u4efb\u52a1\u4ea4\u7ec7\u4f9d\u8d56<\/strong>\uff1a\u4efb\u52a1\u4e4b\u95f4\u76f8\u4e92\u4f9d\u8d56\uff0c\u7ec4\u6210\u4e00\u4e2a\u5927\u7684\u6709\u5411\u56fe\u3002\u4e00\u4e2a\u4efb\u52a1\u53ef\u80fd\u6709\u4e0a\u4e07\u4e2a\u4e0a\u6e38\uff0c\u4e5f\u53ef\u80fd\u6709\u6570\u4e07\u4e2a\u4e0b\u6e38\u4efb\u52a1\u3002\u8fd9\u7ed9\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u7a33\u5b9a\u6027\u5e26\u6765\u4e86\u6311\u6218\uff0c\u4e00\u4e2a\u4efb\u52a1\u7684\u8c03\u5ea6\u51fa\u9519\u6709\u53ef\u80fd\u5bfc\u81f4\u5927\u9762\u79ef\u6545\u969c\u3002<\/li>\u573a\u666f\u591a\u6837<\/strong>\uff1a\u8c03\u5ea6\u573a\u666f\u591a\uff0c\u6267\u884c\u65b9\u5f0f\u591a\uff0c\u4efb\u52a1\u7c7b\u578b\u591a\uff0c\u7ed9\u7cfb\u7edf\u7684\u529f\u80fd\u5e26\u6765\u4e86\u6311\u6218\uff0c\u8981\u6c42\u529f\u80fd\u4e30\u5bcc\u4e14\u53ef\u6269\u5c55\u3002<\/li><\/ul>\n\n\n\n\u4e0e\u8fd9\u4e9b\u6311\u6218\u5bf9\u5e94\uff0c\u76ee\u6807\u4e5f\u5305\u62ec\u4e09\u90e8\u5206\uff1a<\/p>\n\n\n\n\u9ad8\u6027\u80fd<\/strong>\uff1a\u652f\u6301\u767e\u4e07\u7ea7\u4efb\u52a1\u7684\u8c03\u5ea6\uff0c\u8c03\u5ea6\u5ef6\u8fdf\u63a7\u5236\u5728\u79d2\u7ea7\u6216\u8005\u6beb\u79d2\u7ea7\uff1b<\/li>\u9ad8\u53ef\u7528<\/strong>\uff1a\u7cfb\u7edf\u8981\u51c6\u65f6\u8c03\u5ea6\uff0c\u4e0d\u91cd\u4e0d\u9519\uff0c\u4e14\u5177\u6709\u9ad8\u7a33\u5b9a\u6027\uff0c\u907f\u514d\u9020\u6210\u94fe\u8def\u6570\u636e\u8d28\u91cf\u6216\u8005\u6570\u636e\u65f6\u6548\u6545\u969c\uff1b<\/li>\u529f\u80fd\u5f3a<\/strong>\uff1a\u5177\u6709\u4e30\u5bcc\u7684\u8c03\u5ea6\u6267\u884c\u65b9\u5f0f\uff0c\u5177\u6709\u5f3a\u5927\u7684\u5f00\u653e\u80fd\u529b\uff0c\u6253\u9020\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\uff0c\u4e3a\u4e0a\u5c42\u5e94\u7528\u63d0\u4f9b\u4fbf\u6377\u7684\u670d\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u7eb5\u89c2\u5feb\u624b\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u53d1\u5c55\u5386\u7a0b\uff0c\u53ef\u4ee5\u5206\u4e3a\u56db\u4e2a\u9636\u6bb5\u3002<\/p>\n\n\n\n1. \u5728 2016 \u5e74\uff0c\u6574\u4f53\u89c4\u6a21\u8f83\u5c0f\uff0c\u91c7\u7528\u5f53\u65f6\u4e3b\u6d41 Airflow \u4f5c\u4e3a\u4efb\u52a1\u8c03\u5ea6\u5f15\u64ce\u3002\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\uff0c\u5feb\u624b\u7684\u4e1a\u52a1\u84ec\u52c3\u53d1\u5c55\uff0c\u4efb\u52a1\u89c4\u6a21\u4e5f\u6025\u901f\u589e\u957f\uff0cAirflow \u6027\u80fd\u548c\u7a33\u5b9a\u6027\u4e0d\u518d\u80fd\u6ee1\u8db3\u8981\u6c42\u3002<\/p>\n\n\n\n2. \u5728 2019 \u5e74\uff0c\u4e3a\u4e86\u89e3\u51b3 Airflow \u7684\u95ee\u9898\uff0c\u6211\u4eec\u81ea\u7814\u4e86\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf Kwaiflow\uff0c\u65e8\u5728\u652f\u6301\u767e\u4e07\u7ea7\u522b\u7684\u4efb\u52a1\u89c4\u6a21\u3002<\/p>\n\n\n\n3. \u5728 2020 \u5e74\uff0c\u6211\u4eec\u5347\u7ea7 Kwaiflow \u5230 2.0 \u7248\u672c\uff0c\u652f\u6301\u4f8b\u884c\u3001\u89e6\u53d1\u5f0f\u3001\u8865\u6570\u636e\u3001\u963b\u65ad\u591a\u4e2a\u573a\u666f\uff0c\u878d\u5408\u8d28\u91cf\u3001\u5b89\u5168\u7b49\u6570\u636e\u5168\u751f\u6001\u3002<\/p>\n\n\n\n4. \u5728 2021 \u4e0b\u534a\u5e74\uff0c\u6211\u4eec\u5f00\u59cb\u6253\u9020\u65b0\u4e00\u4ee3\u8c03\u5ea6\u7cfb\u7edf Kwaiflow 3.0\uff0c\u4ee5\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u4efb\u52a1\u89c4\u6a21\u3002<\/p>\n\n\n\n\u5728\u8fc7\u53bb\u7684\u4e94\u516d\u5e74\uff0c\u5feb\u624b\u7684\u4efb\u52a1\u6570\u6bcf\u5e74\u6210\u500d\u6570\u589e\u957f\uff0c\u4ece\u6570\u5343\u4e2a\u589e\u957f\u5230\u5f53\u524d\u7684\u6570\u5341\u4e07\u4e2a\uff0c\u63a5\u5165\u7684\u5e73\u53f0\u6570\u4ece 0 \u589e\u957f\u5230\u6570\u5341\u4e2a\uff0c\u7528\u6237\u5f53\u524d\u5df2\u8986\u76d6\u516c\u53f8\u51e0\u4e4e\u6240\u6709\u7684\u4e1a\u52a1\u65b9\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u521d\u671f\uff0c\u5feb\u624b\u4f7f\u7528 Airflow \u5f53\u4f5c\u4efb\u52a1\u8c03\u5ea6\u5f15\u64ce\uff0c\u4f46\u540e\u6765\u53c8\u653e\u5f03\u4e86\u3002\u6211\u4eec\u4e3a\u4ec0\u4e48\u4f1a\u505a\u51fa\u8fd9\u6837\u7684\u9009\u62e9\u5462\uff1f\u8fd9\u5c31\u9700\u8981\u5206\u6790 Airflow \u7684\u4f18\u70b9\u548c\u75db\u70b9\u3002Airflow \u662f\u4ee5\u7f16\u7a0b\u65b9\u5f0f\u521b\u5efa\u3001\u8c03\u5ea6\u548c\u76d1\u63a7\u5de5\u4f5c\u6d41\u7684\u5f00\u6e90\u7cfb\u7edf\u3002Airflow \u5177\u6709\u5f88\u591a\u4f18\u70b9\uff0c\u5305\u62ec\uff1a<\/p>\n\n\n\n\u80fd\u529b\u4e30\u5bcc<\/strong>\uff0c\u5177\u6709\u4e30\u5bcc\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u6613\u7528\u7684\u6d41\u7a0b\u63a7\u5236\uff1b<\/li>UI \u6613\u7528<\/strong>\uff0c\u8f83\u4e3a\u65b9\u4fbf\u5730\u8fdb\u884c\u53ef\u89c6\u5316\u8fd0\u7ef4\uff1b<\/li>\u7ec4\u4ef6\u5c11\u6613\u90e8\u7f72\uff0c\u4e0a\u624b\u96be\u5ea6\u4e0d\u5927<\/strong>\u3002<\/li><\/ul>\n\n\n\n\u8fd9\u4e9b\u4f18\u70b9\u662f\u6211\u4eec\u9009\u62e9 Airflow \u7684\u539f\u56e0\u3002<\/p>\n\n\n\n\u4f46\u968f\u7740\u4efb\u52a1\u89c4\u6a21\u589e\u5927\uff0cAirflow \u7684\u75db\u70b9\u4e5f\u5f88\u660e\u663e\uff1a<\/p>\n\n\n\n\u6027\u80fd\u8f83\u5dee<\/strong>\uff1a\u6211\u4eec\u53d1\u73b0\uff0c\u5f53 Airflow \u5355\u96c6\u7fa4 Dag \u6570\u8fd1 1 \u4e07\u65f6\uff0c\u5355\u4efb\u52a1\u8c03\u5ea6\u5ef6\u8fdf P99 \u9ad8\u8fbe 5min\uff0c\u94fe\u8def\u8c03\u5ea6\u5ef6\u8fdf\u9ad8\u8fbe\u6570\u5341\u5206\u949f\uff0c\u94fe\u8def\u65f6\u6548\u6027\u96be\u4ee5\u4fdd\u969c\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e1a\u52a1\u589e\u957f\uff0c\u6211\u4eec\u642d\u5efa\u4e86\u591a\u4e2a\u96c6\u7fa4\uff0c\u8fd0\u7ef4\u6210\u672c\u500d\u589e\u3002<\/li>\u7a33\u5b9a\u6027\u4e0d\u8db3<\/strong>\uff1a\u5f53\u65f6 Airflow Scheduler \u6ca1\u6709 HA\uff0c\u4efb\u52a1\u6267\u884c\u65f6\u73af\u5883\u548c\u8d44\u6e90\u4e0d\u9694\u79bb\uff0c\u5bb9\u6613 OOM\uff0c\u5bfc\u81f4\u8c03\u5ea6\u6545\u969c\u6bd4\u8f83\u591a\uff0c\u5e74\u5747\u6545\u969c\u6570\u7ea6 8 \u4e2a\u3002<\/li>\u96c6\u6210\u5ea6\u4f4e<\/strong>\uff1a\u4e8c\u6b21\u5f00\u53d1\u6210\u672c\u5927\uff0c\u548c\u5468\u8fb9\u7cfb\u7edf\u96c6\u6210\u5ea6\u4f4e\uff0c\u5f00\u653e\u80fd\u529b\u5dee\uff0c\u96be\u4ee5\u5feb\u901f\u6784\u5efa\u751f\u6001\u3002<\/li><\/ul>\n\n\n\n\u7531\u4e8e\u8fd9\u4e9b\u75db\u70b9\u7684\u5b58\u5728\uff0c\u6211\u4eec\u51b3\u5b9a\u81ea\u7814\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n02<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u6574\u4f53\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n\u5728 2019 \u5e74\u4e2d\u65ec\uff0c\u6211\u4eec\u5f00\u59cb\u81ea\u7814\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf Kwaiflow\uff0c\u5e76\u5728\u4e0b\u534a\u5e74\u4e0a\u7ebf 1.0 \u7248\u672c\u3002<\/p>\n\n\n\nKwaiflow \u662f\u5feb\u624b\u901a\u7528\u3001\u9ad8\u6027\u80fd\u3001\u6613\u6269\u5c55\u7684\u5206\u5e03\u5f0f\u5de5\u4f5c\u6d41\u8c03\u5ea6\u7cfb\u7edf\u3002\u5176\u8bbe\u8ba1\u76ee\u6807\u4ece\u4e24\u65b9\u9762\u8003\u8651\u3002<\/p>\n\n\n\n\u5728\u529f\u80fd\u578b\u76ee\u6807\u65b9\u9762<\/strong>\uff1a<\/p>\n\n\n\n\u573a\u666f\u4e30\u5bcc\uff1a\u652f\u6301\u591a\u573a\u666f\u8c03\u5ea6\uff0c\u591a\u79cd\u73af\u5883\u6267\u884c\uff0c\u652f\u6301\u591a\u6837\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b<\/li>\u8fd0\u7ef4\u4fbf\u6377\uff1a\u53ef\u4ee5\u8fdb\u884c\u53ef\u89c6\u5316\u3001\u667a\u80fd\u3001\u4fbf\u6377\u5730\u8fd0\u7ef4<\/li>\u4fbf\u4e8e\u5f00\u653e\uff1a\u5177\u6709\u5f3a\u5927\u7684\u5f00\u653e\u80fd\u529b\uff0c\u6613\u4e8e\u7cfb\u7edf\u96c6\u6210\uff0c\u6784\u5efa\u7edf\u4e00\u751f\u6001<\/li><\/ul>\n\n\n\n\u5728\u975e\u529f\u80fd\u578b\u76ee\u6807\u65b9\u9762<\/strong>\uff1a<\/p>\n\n\n\n\u9ad8\u5bb9\u91cf\uff1a\u652f\u6301\u767e\u4e07\u7ea7\u4efb\u52a1\u5bb9\u91cf<\/li>\u9ad8\u6027\u80fd\uff1a\u79d2\u7ea7\u6216\u8005\u4e9a\u79d2\u7ea7\u8c03\u5ea6\u5ef6\u8fdf<\/li>\u9ad8\u53ef\u7528\uff1a\u53ef\u7528\u6027 99.99%\uff0c\u7ebf\u4e0a\u95ee\u9898\u5c11\uff0c\u51fa\u73b0\u65f6\u80fd\u53ca\u65f6\u53d1\u73b0\u5feb\u901f\u5e76\u5904\u7406<\/li><\/ul>\n\n\n\n\u5728\u5b9a\u4f4d\u4e0a\uff0cKwaiflow \u57fa\u4e8e\u5927\u6570\u636e\u4f53\u7cfb\u548c\u5176\u5b83\u57fa\u7840\u8bbe\u65bd\uff0c\u63d0\u4f9b\u8c03\u5ea6\u3001\u6267\u884c\u7b49\u6838\u5fc3\u80fd\u529b\uff0c\u540c\u65f6\u5177\u6709\u8fd0\u7ef4\u3001\u76d1\u63a7\u62a5\u8b66\u3001\u667a\u80fd\u8bca\u65ad\u3001\u5f00\u653e\u670d\u52a1\u7b49\u91cd\u8981\u80fd\u529b\uff0c\u6784\u5efa\u8c03\u5ea6\u751f\u6001\uff1b\u9762\u5411\u6570\u636e\u5904\u7406\u3001\u6d41\u7a0b\u7f16\u6392\u3001\u7b97\u6cd5\u8c03\u5ea6\u548c\u5206\u5e03\u5f0f\u8ba1\u7b97\u7b49\u573a\u666f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u8c03\u5ea6\u6a21\u578b\u4e0a\uff0cKwaiflow \u91c7\u7528\u4e86\u4e24\u5c42\u5b9e\u4f53\u7684\u8c03\u5ea6\u6a21\u578b\uff1a<\/p>\n\n\n\nTask\uff1a\u6267\u884c\u6a21\u677f\uff0c\u7528\u4e8e\u6267\u884c\u67d0\u4e00\u7c7b\u578b\u7684\u4ee3\u7801\uff1bTask \u6709\u5f88\u591a\u7c7b\u578b\uff0c\u4f8b\u5982 HiveTask \u7528\u4e8e\u6267\u884c Hive SQL\uff0cBashTask \u7528\u4e8e\u6267\u884c Bash \u811a\u672c\uff0cHivePartitionSensorTask \u7528\u4e8e\u63a2\u6d4b hive \u8868\u5206\u533a\u662f\u5426\u5b58\u5728\u3002<\/li>DAG\uff1a\u4e00\u7cfb\u5217 Task \u7684\u96c6\u5408\uff0c\u5177\u6709\u8c03\u5ea6\u5b9a\u65f6\u7b49\u5c5e\u6027\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f9d\u8d56\u5173\u7cfb\u65b9\u9762\uff0cDAG \u4e4b\u95f4\u53ef\u4ee5\u76f8\u4e92\u4f9d\u8d56\uff0c\u65e2\u53ef\u4ee5\u540c\u5468\u671f\u4f9d\u8d56\uff0c\u4e5f\u53ef\u4ee5\u8de8\u5468\u671f\u4f9d\u8d56\uff0c\u8fd8\u53ef\u4ee5\u6709\u4f9d\u8d56\u504f\u79fb\u3002DAG \u5185\u7684 Task \u4e4b\u95f4\u4e5f\u53ef\u4ee5\u4f9d\u8d56\uff0c\u7531\u4e8e\u4ed6\u4eec\u8c03\u5ea6\u5c5e\u6027\u4e00\u81f4\uff0c\u6240\u4ee5\u90fd\u4e3a\u540c\u5468\u671f\u4f9d\u8d56\u3002<\/p>\n\n\n\n\u4e00\u822c\u6765\u8bb2\uff0c\u5e38\u89c1\u7684\u8c03\u5ea6\u6a21\u578b\u9664\u4e86\u53cc\u5c42\u5b9e\u4f53\u6a21\u578b\u5916\uff0c\u8fd8\u6709\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u3002\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u6ca1\u6709 DAG \u7684\u6982\u5ff5\uff0c\u53ea\u6709 Task\uff0cTask \u5177\u6709\u8c03\u5ea6\u5c5e\u6027\uff0cTask \u4e4b\u95f4\u76f8\u4e92\u4f9d\u8d56\u3002\u4e24\u79cd\u6a21\u578b\u5404\u6709\u4f18\u52a3\u3002\u53cc\u5c42\u6a21\u578b\u66f4\u9002\u5408\u5feb\u624b\u7684\u60c5\u51b5\uff0c\u5177\u6709\u66f4\u5f3a\u7684\u8868\u8fbe\u529b\uff0c\u4f7f\u7528\u573a\u666f\u66f4\u5e7f\u6cdb\uff0c\u5f53\u7136\u4e5f\u5177\u6709\u4e00\u5b9a\u7684\u590d\u6742\u6027\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u7cfb\u7edf\u67b6\u6784\u4e0a\uff1a<\/p>\n\n\n\nAPI Server \u63d0\u4f9b\u5404\u5f0f\u5404\u6837\u7684\u63a5\u53e3\uff0c\u8d1f\u8d23\u7edf\u4e00\u63a5\u5165\u3002<\/li>Scheduler \u8d1f\u8d23\u8c03\u5ea6\uff0c\u4e0d\u540c\u7684\u8c03\u5ea6\u573a\u666f\u4f1a\u6709\u4e0d\u540c\u7c7b\u578b\u7684\u8c03\u5ea6\u5668\uff0c\u5305\u62ec\u4f8b\u884c\u3001\u89e6\u53d1\u5f0f\u3001\u8865\u6570\u636e\u3001\u963b\u65ad\u8c03\u5ea6\u5668\u3002\u5728\u4f8b\u884c\u8c03\u5ea6\u5668\u4e2d\uff0c\u4efb\u52a1\u5b9e\u4f8b\u751f\u6210\u540e\uff0c\u4f1a\u4f9d\u6b21\u7ecf\u8fc7\u5b9a\u65f6\u68c0\u6d4b\u3001\u4f9d\u8d56\u68c0\u6d4b\u548c\u8d44\u6e90\u68c0\u6d4b\u3002\u5982\u679c\u90fd\u901a\u8fc7\uff0c\u4f1a\u63d0\u4ea4\u5230 Queue Service \u4e2d\u3002<\/li>Queue Service \u4e3a\u5e26 ack \u673a\u5236\u7684\u6d88\u606f\u961f\u5217\u670d\u52a1\uff0c\u4f1a\u6709\u4e0d\u540c\u7684 channel\uff0c\u4ee5\u4fbf\u9694\u79bb\u4efb\u52a1\u3002<\/li>Worker \u8d1f\u8d23\u4efb\u52a1\u7684\u6267\u884c\uff0c\u4ece\u5c5e\u4e00\u4e2a worker \u5206\u7ec4\u3002\u4e0d\u540c\u5206\u7ec4\u7684 Worker \u6d88\u8d39 Queue Service \u4e2d\u4e0d\u540c Channel \u7684\u4efb\u52a1\uff0c\u6839\u636e\u4e0d\u540c\u7684\u4efb\u52a1\u7c7b\u578b\u8fdb\u884c\u6267\u884c\u3002\u6267\u884c\u5206\u4e3a\u672c\u5730\u6267\u884c\u548c\u5bb9\u5668\u5316\u6267\u884c\u4e24\u79cd\u65b9\u5f0f\uff0c\u672c\u5730\u6267\u884c\u662f\u6307\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u5185\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\uff1b\u5177\u6709\u542f\u52a8\u5feb\u7684\u7279\u70b9\uff1b\u5bb9\u5668\u5316\u6267\u884c\u662f\u6307\u5728 k8s \u8fdc\u7a0b\u6267\u884c\u7528\u6237\u4ee3\u7801\uff0c\u5177\u6709\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\u7684\u7279\u70b9\u3002<\/li><\/ul>\n\n\n\n\u9664\u6b64\u4e4b\u5916\uff0c\u8fd8\u6709\u5176\u5b83\u5173\u952e\u6a21\u5757\uff0c\u5305\u62ec\u65e5\u5fd7\u670d\u52a1\u3001\u62a5\u8b66\u670d\u52a1\u3001\u4e8b\u4ef6\u670d\u52a1\u3001\u5b9e\u4f8b\u8840\u7f18\u670d\u52a1\u7b49\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5173\u952e\u6280\u672f<\/strong><\/p>\n\n\n\n1. \u5173\u952e\u6280\u672f\uff1a\u4f4e\u8c03\u5ea6\u5ef6\u8fdf<\/h1>\n\n\n\n\u8c03\u5ea6\u5ef6\u8fdf\u662f\u6307\u7406\u8bba\u8d77\u8c03\u65f6\u523b\u5230\u5b9e\u9645\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\u7684\u65f6\u95f4\u5dee\u3002\u8c03\u5ea6\u5ef6\u8fdf\u662f\u8861\u91cf\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6027\u80fd\u7684\u91cd\u8981\u6307\u6807\u4e4b\u4e00\uff0c\u8be5\u6307\u6807\u8d8a\u5c0f\u8d8a\u597d\u3002<\/p>\n\n\n\n\u4efb\u52a1\u5b9e\u4f8b\u4ece\u751f\u6210\uff0c\u5230\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\uff0c\u9700\u8981\u7ecf\u8fc7\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\u3001\u7b49\u5f85\u4f9d\u8d56\u5c31\u7eea\u3001\u7b49\u5f85\u8d44\u6e90\u5c31\u7eea\u548c\u51c6\u5907\u8fd0\u884c\u73af\u5883\u56db\u4e2a\u9636\u6bb5\u3002\u8981\u6709\u8f83\u5c0f\u7684\u8c03\u5ea6\u5ef6\u8fdf\uff0c\u5c31\u9700\u8981\u51cf\u5c11\u5404\u4e2a\u9636\u6bb5\u7684\u7cfb\u7edf\u65f6\u95f4\u635f\u8017\u3002\u8c03\u5ea6\u5ef6\u8fdf\u7684\u4e3b\u8981\u56e0\u7d20\u4e0e\u5904\u7406\u65b9\u6848\u6709\uff1a<\/p>\n\n\n\n\u5b9a\u65f6\u5668<\/strong>\u3002\u5b9a\u65f6\u5668\u5728\u63a2\u6d4b\u65f6\u95f4\u5c31\u7eea\u73af\u8282\u8d77\u4f5c\u7528\uff0c\u4e00\u4e2a\u7cbe\u51c6\u7684\u3001\u652f\u6301\u767e\u4e07\u7ea7\u522b\u9ad8\u541e\u5410\u7684\u5b9a\u65f6\u5668\uff0c\u5bf9\u4f4e\u8c03\u5ea6\u5ef6\u8fdf\u81f3\u5173\u91cd\u8981\u3002\u4f18\u79c0\u7684\u5b9a\u65f6\u5668\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u6570\u636e\u5e93\u8bbf\u95ee<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d1\u751f\u53d8\u66f4\u540e\uff0c\u9700\u8981\u5bf9\u72b6\u6001\u8fdb\u884c\u6301\u4e45\u5316\u3002\u901a\u8fc7\u7d22\u5f15\u3001\u8bfb\u5199\u5206\u79bb\u3001\u5206\u5e93\u5206\u8868\u7b49\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5c06\u5355\u6b21\u6570\u636e\u5e93\u8bbf\u95ee\u8017\u65f6\u63a7\u5236\u5728 1 ~ 3ms\uff0c\u603b\u4f53\u8017\u65f6\u63a7\u5236\u5728 10ms \u5de6\u53f3 \u3002<\/li>\u72b6\u6001\u8f6c\u53d8<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u81ea\u751f\u6210\u5230\u8fd0\u884c\u7ed3\u675f\uff0c\u4f1a\u7ecf\u5386\u591a\u6b21\u72b6\u6001\u8f6c\u53d8\u3002\u72b6\u6001\u8f6c\u53d8\u9ad8\u6548\u4e0e\u5426\u662f\u8c03\u5ea6\u5ef6\u8fdf\u7684\u91cd\u8981\u56e0\u7d20\u3002\u4e00\u822c\u6765\u8bf4\u6709\u4e24\u79cd\u529e\u6cd5\uff1a\u8f6e\u8be2\u4e0e\u4e8b\u4ef6\u89e6\u53d1\u3002\u6211\u4eec\u91c7\u7528\u7684\u662f\u4e8b\u4ef6\u89e6\u53d1\u65b9\u5f0f\uff0c\u7b2c\u4e00\u65f6\u95f4\u611f\u77e5\u72b6\u6001\u8f6c\u53d8\u3002\u901a\u8fc7\u4e8b\u4ef6\u89e6\u53d1\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u8fd0\u884c\u73af\u5883\u51c6\u5907<\/strong>\u3002\u8fd9\u4e2a\u73af\u8282\u4e3b\u8981\u5de5\u4f5c\u5305\u62ec\u52a0\u8f7d\u955c\u50cf\u3001\u521d\u59cb\u5316\u8fd0\u884c\u73af\u5883\u7b49\u3002\u6211\u4eec\u4e3b\u8981\u91c7\u7528\u4e86\u9884\u52a0\u8f7d\u548c\u955c\u50cf\u9884\u70ed\u6280\u672f\u3002\u4e0d\u540c\u7684\u8fd0\u884c\u73af\u5883\uff0c\u65f6\u95f4\u635f\u8017\u4e0d\u4e00\u6837\uff0c\u4f1a\u5728\u4e9a\u79d2\u5230\u5206\u949f\u4e0d\u7b49\u3002<\/li><\/ul>\n\n\n\n\u8fd9\u56db\u4e2a\u56e0\u7d20\u4e2d\uff0c\u540e\u4e24\u8005\u76f8\u5bf9\u8f83\u590d\u6742\uff0c\u63a5\u4e0b\u6765\u7740\u91cd\u4ecb\u7ecd\u72b6\u6001\u8f6c\u53d8\u548c\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e24\u90e8\u5206\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u9996\u5148\u770b\u72b6\u6001\u8f6c\u53d8\u8fd9\u4e2a\u56e0\u7d20\u3002\u4efb\u52a1\u4ece\u53d1\u5e03\uff0c\u5230\u8c03\u5ea6\u6267\u884c\u5b8c\u6210\uff0c\u4f1a\u7ecf\u5386\u6570\u6b21\u6216\u8005\u5341\u6570\u6b21\u72b6\u6001\u53d8\u5316\u3002\u5982\u4f55\u8fdb\u884c\u5feb\u901f\u9ad8\u6548\u5730\u72b6\u6001\u8f6c\u53d8\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u95ee\u9898\u3002Kwaiflow \u7684\u89e3\u51b3\u529e\u6cd5\u662f\u91c7\u7528 Akka actor\u3002\u5145\u5206\u5229\u7528\u4e86 akka actor \u9ad8\u6027\u80fd\u7279\u70b9\u3002<\/p>\n\n\n\n\u5177\u4f53\u6765\u8bb2\uff1a<\/p>\n\n\n\n1. Kwaiflow \u7684\u4efb\u52a1\u4ece API Server \u53d1\u5e03\u540e\uff0c\u7ecf\u8fc7 Entry Actor \u52a0\u8f7d\u5230 DagLoader Actors \u4e2d\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\uff1b<\/p>\n\n\n\n2. \u5728\u65f6\u95f4\u5c31\u7eea\u540e\uff0c\u7531 Instance Generator Actors \u751f\u6210\u4efb\u52a1\u5b9e\u4f8b\uff0c\u7136\u540e\u8fdb\u5165 Dependency Detector Actor \u63a2\u6d4b\u4e0a\u6e38\u4f9d\u8d56\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n3. \u5728\u4f9d\u8d56\u5c31\u7eea\u540e\uff0c\u8fdb\u5165 Resource Detector Actor \u63a2\u6d4b\u8d44\u6e90\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n4. \u5728\u8d44\u6e90\u5c31\u7eea\u540e\uff0c\u4efb\u52a1\u5b9e\u4f8b\u901a\u8fc7 Queue Service \u4e0b\u53d1\u5230 worker \u4e2d\u3002<\/p>\n\n\n\n5. \u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u88ab\u63a5\u6536\u540e\uff0c\u5c06\u4f1a\u7531 Processor Actor \u6267\u884c\uff0c\u6267\u884c\u524d\u540e\u4f1a\u4f9d\u6b21\u7ecf\u5386\u4ee3\u7801\u6e32\u67d3\u3001Prehook\u3001\u4ee3\u7801\u6267\u884c\u3001Posthook \u56db\u4e2a\u6b65\u9aa4\u3002<\/p>\n\n\n\n6. \u5982\u679c\u6267\u884c\u6210\u529f\uff0c\u5219\u6d41\u7a0b\u7ec8\u6b62\uff1b\u5982\u679c\u6267\u884c\u5931\u8d25\uff0cPosthook \u4f1a\u5c06\u4fe1\u606f\u901a\u8fc7 Processor Actor\u3001ResultHandlerActor \u4f20\u9012\u7ed9 scheduler \u7684 RetryerActor \u8fdb\u884c\u91cd\u8bd5\u64cd\u4f5c\u3002<\/p>\n\n\n\n\u6574\u4e2a\u6d41\u7a0b\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u5168\u6d41\u7a0b\u4e8b\u4ef6\u89e6\u53d1<\/strong>\uff1a\u65e0\u8f6e\u8be2\uff0c\u4efb\u52a1\u53d1\u5e03\u3001\u8c03\u5ea6\u3001\u6267\u884c\u3001\u91cd\u8bd5\uff0c\u5747\u4e3a\u4e8b\u4ef6\u89e6\u53d1\u3002<\/li>\u9ad8\u541e\u5410<\/strong>\uff1a\u91c7\u7528\u5f02\u6b65\u5e76\u53d1\u7684\u65b9\u5f0f\uff0c\u80fd\u5feb\u901f\u8c03\u8d77\u5927\u91cf\u4efb\u52a1\u5b9e\u4f8b<\/li>\u7b80\u5355\u6613\u7528<\/strong>\uff1a\u65e0\u9700\u4f7f\u7528\u5e95\u5c42 API \u8fdb\u884c\u9501\u548c\u7ebf\u7a0b\u7ba1\u7406\uff0c\u4e13\u6ce8\u4e1a\u52a1\u5b9e\u73b0\u3002<\/li><\/ul>\n\n\n\n\u91c7\u7528 actor\uff0c\u72b6\u6001\u8f6c\u53d8\u5bfc\u81f4\u7684\u65f6\u95f4\u635f\u8017\u63a7\u5236\u5728\u6beb\u79d2\u7ea7\u522b\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u63a5\u4e0b\u6765\u6211\u4eec\u770b\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e2a\u56e0\u7d20\u3002\u8fd9\u548c\u6267\u884c\u573a\u666f\u6709\u5173\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e0d\u540c\u7684\u6267\u884c\u573a\u666f\uff0cKwaiflow \u63d0\u4f9b\u4e86\u4e24\u79cd\u6267\u884c\u65b9\u5f0f\uff1a\u5bb9\u5668\u5316\u6267\u884c\u548c\u672c\u5730\u6267\u884c\u3002<\/p>\n\n\n\n\u5bb9\u5668\u5316\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u6bcf\u6b21\u6267\u884c\u524d\uff0c\u5728 k8s \u6309\u9700\u7533\u8bf7\u5bb9\u5668\u8d44\u6e90\uff0c\u5728\u5bb9\u5668\u4e2d\u6267\u884c\u4efb\u52a1\u5b9e\u4f8b\uff0c\u6267\u884c\u5b8c\u540e\uff0c\u53ca\u65f6\u91ca\u653e\u5bb9\u5668\u8d44\u6e90\u3002\u4f18\u70b9\u662f\u5b9e\u73b0\u4e86\u6267\u884c\u65f6\u7684\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\uff1b\u7f3a\u70b9\u662f\u6bcf\u6b21\u90fd\u9700\u8981\u7533\u8bf7\u548c\u521d\u59cb\u5316\u5bb9\u5668\u8d44\u6e90\uff0c\u542f\u52a8\u8017\u65f6\u957f\u3002\u5bb9\u5668\u5316\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Bash \u4efb\u52a1\u3002\u4e3a\u4e86\u51cf\u5c11\u5bb9\u5668\u5316\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\uff0c\u6211\u4eec\u5c06\u955c\u50cf\u5206\u4e3a\u81ea\u5b9a\u4e49\u955c\u50cf\u548c\u901a\u7528\u955c\u50cf\uff0c\u5bf9\u901a\u7528\u955c\u50cf\u8fdb\u884c\u9884\u70ed\uff0c\u63d0\u524d\u5206\u53d1\u5230\u673a\u5668\u4e2d\uff0c\u51cf\u5c11\u955c\u50cf\u4e0b\u8f7d\u8017\u65f6\u3002\u901a\u8fc7\u955c\u50cf\u9884\u70ed\uff0c\u53ef\u4ee5\u5c06\u542f\u52a8\u8017\u65f6\u4ece\u5206\u949f\u7ea7\u964d\u4f4e\u5230\u79d2\u7ea7\u3002<\/li>\u672c\u5730\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u673a\u4e2d\uff0c\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\u3002\u540c\u4e00\u4e2a worker \u673a\u4e2d\u7684\u6240\u6709\u4efb\u52a1\u5b9e\u4f8b\u5171\u4eab\u8ba1\u7b97\u8d44\u6e90\u548c\u6267\u884c\u73af\u5883\u3002\u4f18\u70b9\u662f\u542f\u52a8\u8017\u65f6\u77ed\uff0coverhead \u5c0f\uff1b\u7f3a\u70b9\u662f\u8d44\u6e90\u548c\u73af\u5883\u4e0d\u9694\u79bb\uff0c\u4e00\u4e2a\u4efb\u52a1\u5b9e\u4f8b\u6267\u884c\u5f02\u5e38\u6709\u53ef\u80fd\u5bfc\u81f4\u6574\u4e2a worker \u673a crash\u3002\u672c\u5730\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u4e0d\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Hive \u548c Sensor \u4efb\u52a1\u3002\u672c\u5730\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\u4e00\u822c\u5728\u4e9a\u79d2\u7ea7\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n2. \u5173\u952e\u6280\u672f\uff1a\u9ad8\u53ef\u7528<\/h1>\n\n\n\n\u9ad8\u53ef\u7528\u5bf9\u8c03\u5ea6\u7cfb\u7edf\u6765\u8bf4\u975e\u5e38\u91cd\u8981\u3002\u4e3a\u4e86\u4fdd\u969c Kwaiflow \u7684\u9ad8\u53ef\u7528\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e24\u65b9\u9762\u8fdb\u884c\u8003\u8651\uff1a\u7cfb\u7edf\u8bbe\u8ba1\u548c\u6545\u969c\u53d1\u73b0\u5904\u7406\u3002\u5728\u7cfb\u7edf\u8bbe\u8ba1\u4e0a\uff0cKwaiflow \u53ef\u4ee5\u505a\u5230\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5373\u4efb\u52a1\u5b9e\u4f8b\u5728\u590d\u6742\u73af\u5883\u4e2d Exactly Once \u6267\u884c\uff0c\u505a\u5230\u4e0d\u6f0f\uff0c\u4e14\u5c3d\u91cf\u4e0d\u91cd\u3002<\/p>\n\n\n\n\u5bf9\u4e8e\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5e38\u89c1\u7684\u6545\u969c\u573a\u666f\u5305\u62ec\u7ec4\u4ef6\u6545\u969c\u6216\u8005\u7ec4\u4ef6\u5931\u8054\u3002\u4f8b\u5982 scheduler crash\u3001\u5bb9\u5668\u5316\u4efb\u52a1\u4e0e worker \u5931\u8054\u7b49\u3002<\/p>\n\n\n\n\u4e3a\u4e86\u8fbe\u5230\u9ad8\u53ef\u9760\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e09\u65b9\u9762\u8003\u8651\uff1a<\/p>\n\n\n\nFailover \u673a\u5236\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u548c\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\uff0c\u6765\u5b9e\u73b0\u7ec4\u4ef6\u7684\u81ea\u52a8\u5bb9\u9519\u3002\u4f8b\u5982 Kwaiflow \u91c7\u7528\u4e3b\u5907 Master\uff0c\u591a worker \u7684\u8bbe\u8ba1\u6765\u907f\u514d\u5355\u70b9\u95ee\u9898\uff1b\u5404\u4e2a\u7ec4\u4ef6\u4e4b\u95f4\u91c7\u7528\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\u6765\u907f\u514d\u5931\u8054\u95ee\u9898\u3002\u534f\u8bae\u5305\u62ec scheduler Executor \u901a\u4fe1\u534f\u8bae\u3001Executor Runner \u901a\u4fe1\u534f\u8bae\u3001External Job \u901a\u4fe1\u534f\u8bae\u3002\u53f3\u56fe\u5c55\u793a\u4e86 Executor Runner \u901a\u4fe1\u534f\u8bae\u7684\u4e3b\u8981\u6d41\u7a0b\uff0c\u534f\u8bae\u89c4\u5b9a\u4e86\u4efb\u52a1\u63d0\u4ea4\u3001\u6b63\u5e38\u6267\u884c\u3001\u5f02\u5e38\u6267\u884c\u3001\u901a\u4fe1\u5931\u8054\u7684\u5904\u7406\u529e\u6cd5\uff0c\u4e0d\u4f9d\u8d56\u5916\u90e8\u7cfb\u7edf\u7684\u72b6\u6001\u3002<\/li>\u907f\u514d\u9057\u6f0f\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u6d88\u606f ack \u673a\u5236\uff0c\u4fdd\u969c\u6d88\u606f\u4e0d\u4e22\u5931\uff1b\u540c\u65f6\u901a\u8fc7\u5b9a\u671f\u515c\u5e95\u5de1\u68c0\uff0c\u4fdd\u969c\u4efb\u52a1\u5b9e\u4f8b\u4e0d\u9057\u6f0f\u3002<\/li>\u907f\u514d\u91cd\u590d\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u72b6\u6001\u673a\u8f6c\u79fb\u56fe\uff0c\u907f\u514d\u4e0d\u5408\u7406\u72b6\u6001\u8f6c\u53d8\uff1b\u540c\u65f6\u901a\u8fc7\u91cd\u8bd5\u524d\u6e05\u7406\u524d\u4e00\u4e2a\u5b9e\u4f8b\uff0c\u907f\u514d\u91cd\u590d\u6267\u884c\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u9ad8\u53ef\u7528\u65b9\u9762\uff0c\u8fd8\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u7cfb\u7edf\u8bbe\u8ba1\u662f\u5206\u7ea7\u4fdd\u969c\u3002\u5feb\u624b\u5728\u8fdb\u884c\u5927\u578b\u6d3b\u52a8\u4f8b\u5982\u6625\u8282\u3001\u5965\u8fd0\u65f6\uff0c\u6574\u4f53\u6570\u636e\u91cf\u5927\u5e45\u5ea6\u589e\u957f\uff0c\u5c40\u90e8\u6570\u636e\u5448\u6570\u500d\u589e\u957f\u3002\u4f46\u8ba1\u7b97\u8d44\u6e90\u662f\u6709\u9650\u7684\uff0c\u8ba1\u7b97\u8d44\u6e90\u7684\u589e\u957f\u5f80\u5f80\u4e0d\u80fd\u5339\u914d\u6570\u636e\u91cf\u7684\u589e\u957f\uff0c\u4e0d\u80fd\u8ba9\u6240\u6709\u7684\u4efb\u52a1\u548c\u5f80\u5e38\u4e00\u6837\u6309\u65f6\u4ea7\u51fa\u3002\u8fd9\u65f6\u5019\u6211\u4eec\u5c31\u9700\u8981\u8fdb\u884c\u5206\u7ea7\u4fdd\u969c\u3002<\/p>\n\n\n\n\u6240\u8c13\u5206\u7ea7\u4fdd\u969c\uff0c\u5c31\u662f\u5728\u8d44\u6e90\u6709\u9650\u7684\u60c5\u51b5\u4e0b\uff0c\u8ba9\u9ad8\u4f18\u4efb\u52a1\u5f97\u5230\u7279\u6743\uff0c\u4f18\u5148\u5f97\u5230\u6267\u884c\uff0c\u4f18\u5148\u83b7\u5f97\u5145\u8db3\u7684\u4f18\u8d28\u8d44\u6e90\uff0c\u4fdd\u969c\u4ea7\u51fa\u65f6\u95f4\uff1b\u800c\u4f4e\u4f18\u4efb\u52a1\u5219\u4f1a\u88ab\u5ef6\u8fdf\u8c03\u5ea6\u6267\u884c\uff0c\u5206\u914d\u66f4\u5c11\u7684\u8d44\u6e90\u3002<\/p>\n\n\n\n\u5728\u5feb\u624b\uff0c\u6574\u4e2a\u79bb\u7ebf\u4f53\u7cfb\uff0c\u5305\u62ec Kwaiflow\u3001Hive\u3001Yarn\u3001HDFS \u7b49\uff0c\u90fd\u5177\u6709\u5206\u7ea7\u4fdd\u969c\u7684\u80fd\u529b\u3002\u8fd9\u91cc\u4ecb\u7ecd Kwaiflow \u7684\u5206\u7ea7\u4fdd\u969c\u80fd\u529b\uff0c\u5305\u62ec\u4e09\u65b9\u9762\uff1a<\/p>\n\n\n\nKwaiflow \u8c03\u5ea6\u5668\u5177\u6709\u5206\u7ea7\u8c03\u5ea6\u7684\u80fd\u529b<\/strong>\u3002Kwaiflow \u8c03\u5ea6\u5668\u80fd\u611f\u77e5\u5230\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u7684\u72b6\u6001\uff0c\u5728\u8d44\u6e90\u4e0d\u8db3\u65f6\uff0cKwaiflow \u4efb\u52a1\u4f1a\u5728\u8c03\u5ea6\u5668\u6392\u961f\uff0c\u9ad8\u4f18\u4efb\u52a1\u6392\u5728\u524d\u9762\uff0c\u4f4e\u4f18\u4efb\u52a1\u6392\u5728\u540e\u9762\uff1b\u5f53\u8d44\u6e90\u5f97\u5230\u91ca\u653e\u65f6\uff0c\u9ad8\u4f18\u4efb\u52a1\u4f18\u5148\u88ab\u8c03\u5ea6\u3002<\/li>Kwaiflow \u7684\u6267\u884c\u5668\u6309\u7167\u4e0d\u540c\u4f18\u5148\u7ea7\u8fdb\u884c\u5206\u7ec4<\/strong>\u3002\u5305\u62ec\u4e09\u7ec4\uff1aP0 \u6267\u884c\u5668\u7ec4\u3001P1 \u6267\u884c\u5668\u7ec4\u4ee5\u53ca P2 P3 \u6267\u884c\u5668\u7ec4\u3002P0 \u6267\u884c\u5668\u7528\u4e8e\u6267\u884c\u6700\u9ad8\u4f18\u5148\u7ea7\u7684 P0 \u4efb\u52a1\uff0c\u5177\u6709\u5145\u8db3\u7684 worker\uff0cP0 \u4efb\u52a1\u5b9e\u4f8b\u57fa\u672c\u4e0d\u4f1a\u5728\u6267\u884c\u5668\u5c42\u88ab\u9650\u5236\u3002\u5bf9\u4e8e P2 P3 \u5206\u7ec4\uff0c\u5728\u8c03\u5ea6\u9ad8\u5cf0\u671f\uff0c\u4efb\u52a1\u5b9e\u4f8b\u5f88\u591a\u65f6\uff0c\u53ef\u80fd\u5b58\u5728\u6392\u961f\u6267\u884c\u7684\u60c5\u51b5\u3002<\/li>Kwaiflow \u5177\u6709\u8f83\u5f3a\u7684\u4eba\u5de5\u7ba1\u63a7\u80fd\u529b<\/strong>\uff0c\u53ef\u4ee5\u4eba\u4e3a\u5730\u5141\u8bb8\u6216\u8005\u963b\u65ad\u67d0\u4e9b\u4efb\u52a1\u7684\u8c03\u5ea6\u3002\u5178\u578b\u4f7f\u7528\u573a\u666f\u662f\u5728\u5927\u578b\u6d3b\u52a8\u671f\u95f4\uff0c\u53ef\u4ee5\u6839\u636e\u9884\u6848\uff0c\u5bf9\u4f4e\u4f18\u5148\u7ea7\u7684\u4efb\u52a1\u4eba\u4e3a\u8fdb\u884c\u5ef6\u8fdf\u8c03\u5ea6\uff0c\u4fdd\u969c\u8d44\u6e90\u5206\u914d\u7ed9\u9ad8\u4f18\u4efb\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u524d\u9762\u4e3b\u8981\u4ece\u7cfb\u7edf\u8bbe\u8ba1\u65b9\u9762\u4ecb\u7ecd\u4e86\u7ebf\u4e0a\u6545\u969c\u7684\u81ea\u52a8\u89c4\u907f\u3002Kwaiflow \u9ad8\u53ef\u7528\u7684\u7b2c\u4e8c\u4e2a\u65b9\u9762\u662f\u6545\u969c\u7684\u53d1\u73b0\u548c\u5904\u7406\u3002\u5982\u679c\u6545\u969c\u53d1\u73b0\u4e0d\u53ca\u65f6\u3001\u5904\u7406\u4e0d\u8fc5\u901f\uff0c\u4f1a\u51fa\u73b0\u5927\u89c4\u6a21\u7684\u8c03\u5ea6\u9519\u8bef\u6216\u8005\u8c03\u5ea6\u5ef6\u8fdf\u6545\u969c\u3002\u5728\u5feb\u624b\u8c03\u5ea6\u7cfb\u7edf\u53d1\u5c55\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u78b0\u5230\u8fc7\u8fd9\u6837\u7684\u5927\u6545\u969c\uff0c\u4e3a\u4e86\u907f\u514d\u518d\u6b21\u53d1\u751f\uff0c\u6211\u4eec\u5efa\u7acb\u4e86\u5b8c\u5907\u7684\u76d1\u63a7\u9884\u6848\u4f53\u7cfb\u3002<\/p>\n\n\n\n\u5728\u76d1\u63a7\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5206\u6210\u4f7f\u7528\u5c42\u3001\u670d\u52a1\u5c42\u3001\u4f9d\u8d56\u5c42\u4e09\u4e2a\u5c42\u6b21\uff0c\u5e76\u5212\u5206\u76d1\u63a7\u4f18\u5148\u7ea7\uff0c\u91c7\u7528\u4e0d\u540c\u7684\u54cd\u5e94\u65b9\u5f0f\u3002<\/li>\u5728\u6545\u969c\u9884\u6848\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u6709\u4e24\u7c7b\u9884\u6848\uff1a\u7cfb\u7edf\u6545\u969c\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u8c03\u5ea6\u7cfb\u7edf\u81ea\u8eab\u95ee\u9898\uff1b\u6570\u636e\u5f02\u5e38\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u94fe\u8def\u6570\u636e\u4e0d\u6b63\u786e\u7684\u95ee\u9898\u3002\u6211\u4eec\u6c89\u6dc0\u4e86\u591a\u573a\u666f\u7684\u963b\u65ad\u6062\u590d\u548c\u8865\u6570\u636e\u5de5\u5177\uff0c\u80fd\u591f\u5728\u6570\u5206\u949f\u5185\u542f\u52a8\u6570\u636e\u6062\u590d\u3002<\/li>\u5728\u6f14\u7ec3\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5b9a\u671f\u5bf9\u9884\u6848\u8fdb\u884c\u6f14\u7ec3\uff0c\u4fdd\u8bc1\u9884\u6848\u7684\u53ef\u7528\u6027\uff0c\u64cd\u4f5c\u7684\u719f\u7ec3\u6027\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n3. \u5173\u952e\u6280\u672f\uff1a\u5f00\u653e\u80fd\u529b<\/h1>\n\n\n\n\u5f00\u653e\u662f\u6570\u636e\u4e2d\u53f0\u7684\u6838\u5fc3\u7ade\u4e89\u529b\u3002\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u7ed9\u4e88\u4f7f\u7528\u8005\u81ea\u7531\u7684\u53d1\u6325\u7a7a\u95f4\uff0c\u6ee1\u8db3\u66f4\u591a\u4f7f\u7528\u573a\u666f\uff1b\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u6784\u5efa\u6570\u636e\u751f\u6001\uff0c\u63d0\u4f9b\u66f4\u4e30\u5bcc\u7684\u80fd\u529b\u3002Kwaiflow \u63d0\u4f9b\u4e86\u591a\u79cd\u5f00\u653e\u80fd\u529b\uff1a<\/p>\n\n\n\nKwaiflow \u5177\u6709\u5f00\u653e\u7684 API\uff0c\u652f\u6301\u591a\u8bed\u8a00 SDK\uff0c\u63d0\u4f9b\u4e86\u6807\u51c6\u5316\u7684\u63a5\u5165\u6d41\u7a0b\u3001\u4f7f\u7528\u624b\u518c\u548c\u63a5\u5165 demo\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u6807\u51c6\u7684\u4e8b\u4ef6\u3002\u5305\u62ec\u4efb\u52a1\u64cd\u4f5c\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d8\u66f4\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u8bca\u65ad\u4e8b\u4ef6\u7b49\u3002\u6839\u636e\u8fd9\u4e9b\u4e8b\u4ef6\uff0c\u53ef\u4ee5\u5b8c\u6574\u590d\u73b0\u51fa\u4efb\u52a1\u548c\u4efb\u52a1\u5b9e\u4f8b\u7684\u5168\u751f\u547d\u5468\u671f\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u63d2\u4ef6\u5316\u4efb\u52a1\u7c7b\u578b\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5b9a\u4e49\u548c\u5f00\u53d1\u81ea\u5b9a\u4e49\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u5e76\u8fdb\u884c\u7075\u6d3b\u6d4b\u8bd5\u3001\u7070\u5ea6\u4e0a\u7ebf\u548c\u7ba1\u7406\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86 Hook\uff0c\u53ef\u4ee5\u5728\u7528\u6237\u4ee3\u7801\u8fd0\u884c\u524d\u540e\u6267\u884c\u3002\u5305\u62ec\u6267\u884c\u524d\u7684 Prehook \u548c\u6267\u884c\u540e\u7684 Posthook\u3002\u5e38\u89c1\u573a\u666f\u5305\u62ec\u7528\u4e8e\u4ee3\u7801\u6e32\u67d3\u3001\u524d\u7f6e\u68c0\u67e5\u7684 Prehook\uff0c\u4ee5\u53ca\u7528\u4e8e\u6267\u884c\u540e\u6570\u636e\u8d28\u91cf\u68c0\u6d4b\u7684 Posthook\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u4e0e\u6210\u679c<\/strong><\/p>\n\n\n\n\u5982\u679c\u628a\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6bd4\u4f5c\u5927\u697c\u7684\u9aa8\u67b6\uff0c\u90a3\u4e48\u57fa\u4e8e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u5c31\u662f\u88c5\u4fee\u5b8c\u5584\u3001\u9002\u4e8e\u4eba\u5de5\u4f5c\u751f\u6d3b\u7684\u5927\u53a6\u3002\u901a\u8fc7\u5e94\u7528\uff0c\u80fd\u66f4\u597d\u5730\u4f53\u73b0\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4ef7\u503c\u3002\u5728\u5feb\u624b\uff0c\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4e00\u4e2a\u5178\u578b\u5e94\u7528\u3002<\/p>\n\n\n\n\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u5feb\u624b\u7684\u4e00\u7ad9\u5f0f\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u4f7f\u7528 kwaiflow \u4f5c\u4e3a\u7edf\u4e00\u7684\u7f16\u6392\u4e0e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u6784\u5efa\u4e86\u5404\u7c7b\u7684\u6570\u636e\u5f00\u53d1\u8fd0\u7ef4\u7b49\u670d\u52a1\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u67e5\u8be2\u3001\u540c\u6b65\u3001\u5f00\u53d1\u3001\u670d\u52a1\u5316\u3001\u8fd0\u7ef4\u3001\u7ba1\u7406\u7b49\u80fd\u529b\u3002<\/p>\n\n\n\n\u8be5\u5e73\u53f0\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u4e00\u7ad9\u5f0f<\/strong>\uff1a\u5e73\u53f0\u6db5\u76d6\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u7684\u5404\u73af\u8282\uff0c\u5305\u62ec\u6570\u636e\u63a5\u5165\u3001\u6570\u636e\u52a0\u5de5\u3001\u6570\u636e\u5206\u53d1\u548c\u6570\u636e\u670d\u52a1\u5316\u3002\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u6e90\u7ba1\u7406\uff0c\u521b\u5efa\u6570\u636e\u63a5\u5165\u4efb\u52a1\u5c06\u5404\u79cd\u6570\u636e\u6e90\u5bfc\u5165\u5230\u5927\u6570\u636e\u7cfb\u7edf\u4e2d\uff1b\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u667a\u80fd IDE \u7f16\u5199\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03 ETL \u4efb\u52a1\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5de5\u5904\u7406\uff0c\u4ea7\u751f\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b\u7528\u6237\u8fd8\u53ef\u4ee5\u521b\u5efa\u6570\u636e\u5206\u53d1\u4efb\u52a1\uff0c\u5c06\u9ad8\u4ef7\u503c\u6570\u636e\u5206\u53d1\u5230\u5176\u5b83\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u4f8b\u5982\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u975e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u7f13\u5b58\u7cfb\u7edf\u3001OLAP \u5f15\u64ce\u7b49\u3002\u7528\u6237\u4e5f\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u914d\u7f6e\u7684\u65b9\u5f0f\u521b\u5efa\u670d\u52a1\u5316 API\uff0c\u4e3a\u7ebf\u4e0a\u7cfb\u7edf\u63d0\u4f9b\u670d\u52a1\u3002<\/li>\u901a\u7528<\/strong>\uff1a\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u80fd\u7edf\u4e00\u8fd0\u7ef4 Kwaiflow \u6240\u6709\u4efb\u52a1\uff0c\u5305\u62ec\u4efb\u52a1\u8fd0\u7ef4\u3001\u5b9e\u4f8b\u8fd0\u7ef4\u3001\u94fe\u8def\u8fd0\u7ef4\u7b49\u65b9\u5f0f\uff0c\u9002\u5408\u6570\u636e\u5f00\u53d1\u3001\u5b9a\u65f6\u8c03\u5ea6\u3001\u89e6\u53d1\u5f0f\u8c03\u5ea6\u7b49\u573a\u666f\u3002<\/li>\u667a\u80fd<\/strong>\uff1a\u5728\u5f00\u53d1\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd IDE\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4ee3\u7801\u95ee\u9898\uff1b\u5728\u8fd0\u7ef4\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd\u76d1\u63a7\u3001\u667a\u80fd\u8bca\u65ad\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4efb\u52a1\u548c\u94fe\u8def\u95ee\u9898\uff0c\u5e76\u8f85\u52a9\u5b9a\u4f4d\u95ee\u9898\u539f\u56e0\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8981\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u4e0d\u4ec5\u8981\u6709\u5f3a\u5927\u7684\u81ea\u8eab\u80fd\u529b\uff0c\u66f4\u8981\u6709\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\u3002\u5728\u5feb\u624b\uff0cKwaiflow \u548c\u5927\u6570\u636e\u7684\u5176\u5b83\u7cfb\u7edf\u6df1\u5ea6\u96c6\u6210\uff0c\u63a5\u5165\u4e86 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u4fbf\u6377\u5730\u4f7f\u7528\u5176\u5b83\u5927\u6570\u636e\u7cfb\u7edf\u7684\u80fd\u529b\u3002\u53ef\u4ee5\u8bf4\uff0c\u81ea\u8eab\u80fd\u529b\u548c\u751f\u6001\u4f53\u7cfb\u5bf9 Kwaiflow \u6765\u8bf4\u540c\u7b49\u91cd\u8981\u3002<\/p>\n\n\n\n\u9996\u5148\uff0c\u5c31\u81ea\u8eab\u800c\u8a00\uff0cKwaiflow \u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u6267\u884c\u80fd\u529b\u3002\u5305\u62ec\u591a\u573a\u666f\u8c03\u5ea6\u80fd\u529b\u3001\u591a\u6837\u5316\u7684\u6267\u884c\u80fd\u529b\u3001\u6613\u7528\u7684\u8fd0\u7ef4\u80fd\u529b\u548c\u9ad8\u53ef\u7528\u7684\u7279\u6027\u3002<\/p>\n\n\n\n\u5176\u6b21\uff0cKwaiflow \u5177\u6709\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\u3002\u63a5\u5165 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u65b9\u4fbf\u5730\u4f7f\u7528\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\u3002<\/p>\n\n\n\n\u6700\u540e\uff0cKwaiflow \u65e0\u7f1d\u96c6\u6210\u4e86\u5176\u5b83\u4e2d\u53f0\u80fd\u529b\u3002\u5305\u62ec\u6570\u636e\u8d28\u91cf\u3001\u6570\u636e\u5b89\u5168\u4f53\u7cfb\u3001\u5b8c\u6574\u51c6\u786e\u7684\u4efb\u52a1\u5b9e\u4f8b\u8840\u7f18\u3001\u94fe\u8def\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5c06\u4ece\u6027\u80fd\u3001\u529f\u80fd\u548c\u4f7f\u7528\u60c5\u51b5\u4e09\u4e2a\u65b9\u9762\u4ecb\u7ecd Kwaiflow \u7684\u6210\u679c\u3002<\/p>\n\n\n\n\u5728\u6027\u80fd\u65b9\u9762<\/strong>\uff0c\u548c Airflow \u76f8\u6bd4\uff0c\u6709\u6781\u5927\u7684\u63d0\u5347\uff1a<\/p>\n\n\n\n\u5728\u89c4\u6a21\u4e0a\uff0cKwaiflow \u521d\u7248\u8bbe\u8ba1\u5bb9\u91cf\u4e3a\u767e\u4e07\u7ea7\u522b\u4efb\u52a1\uff0c\u5f53\u524d\u5df2\u6709\u6570\u5341\u4e07\u7684\u4efb\u52a1\u6570\uff0c\u548c Airflow \u5355\u96c6\u7fa4\u4e0d\u8d85\u8fc7 1 \u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\u3002<\/li>\u5728\u6027\u80fd\u4e0a\uff0cKwaiflow \u8c03\u5ea6\u9ad8\u5cf0\u671f\u7684\u8c03\u5ea6\u5ef6\u8fdf P99 \u5c0f\u4e8e 5 \u79d2\uff0c\u548c Airflow 5 \u5206\u949f\u76f8\u6bd4\uff0c\u6709\u6570\u91cf\u7ea7\u7684\u63d0\u5347\uff1bKwaiflow \u8d77\u8c03\u901f\u7387\u5341\u6570\u4e07\u6bcf\u5206\u949f\uff0c\u548c Airflow \u6570\u5343\u6bcf\u5206\u949f\u5bf9\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\uff1bKwaiflow \u8fd0\u884c\u7684\u5e76\u53d1\u5b9e\u4f8b\u6570\u5341\u6570\u4e07\u4e07\uff0c\u548c Airflow \u5c0f\u4e8e1\u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u5341\u6570\u500d\u3002<\/li>\u5728\u7a33\u5b9a\u6027\u4e0a\uff0cKwaiflow \u53ef\u7528\u6027\u4e3a 99.99%\uff0c Airflow \u5219\u4e3a 99.5%\uff1bKwaiflow \u5e74\u6545\u969c\u6570\u7ea6 1 \u4e2a\uff0c\u800c Airflow \u5e74\u5747\u4e3a 8 \u4e2a\u3002<\/li><\/ul>\n\n\n\n\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5bf9\u4e8e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u5927\u5bb6\u5e94\u8be5\u90fd\u4e0d\u964c\u751f\u3002\u6211\u4eec\u5728\u65e5\u5e38\u5de5\u4f5c\u4e2d\uff0c\u4f1a\u78b0\u5230\u5f88\u591a\u8c03\u5ea6\u7684\u573a\u666f\uff0c\u4f8b\u5982\u901a\u8fc7\u5b9a\u65f6\u4efb\u52a1\u6bcf\u5929\u53d1\u9001\u65e5\u62a5\u6216\u8005\u9009\u62e9\u5408\u9002\u7684\u8d1f\u8f7d\u673a\u5668\u6765\u6267\u884c\u4efb\u52a1\u3002\u6839\u636e\u4fa7\u91cd\u70b9\u4e0d\u540c\uff0c\u8c03\u5ea6\u7cfb\u7edf\u53ef\u4ee5\u5206\u4e3a\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u548c\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u3002<\/p>\n\n\n\n
\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u548c\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5e76\u4e0d\u662f\u5bf9\u7acb\u7684\uff0c\u800c\u662f\u534f\u4f5c\u5173\u7cfb\u3002\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5e38\u5e38\u4f1a\u4f9d\u8d56\u4e8e\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u6765\u6267\u884c\u4efb\u52a1\u3002\u672c\u6587\u5c06\u805a\u7126\u5728\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u5728\u5404\u7c7b\u573a\u666f\u4e2d\u53d1\u6325\u7740\u91cd\u8981\u4f5c\u7528\u3002\u5927\u6570\u636e\u7684\u539f\u59cb\u6570\u636e\u4e00\u822c\u662f\u4e1a\u52a1\u5e93\u3001\u670d\u52a1\u7aef\u65e5\u5fd7\u548c\u5ba2\u6237\u7aef\u65e5\u5fd7\uff0c\u8fd9\u4e9b\u539f\u59cb\u6570\u636e\u7684\u4ef7\u503c\u5bc6\u5ea6\u662f\u5f88\u4f4e\u7684\u3002\u5982\u679c\u8981\u63d0\u70bc\u51fa\u9ad8\u4ef7\u503c\u7684\u4fe1\u606f\uff0c\u5f80\u5f80\u9700\u8981\uff1a<\/p>\n\n\n\n1. \u7ecf\u8fc7\u6570\u636e\u63a5\u5165\u8fdb\u5165\u5927\u6570\u636e\u7cfb\u7edf\uff1b<\/p>\n\n\n\n2. \u7136\u540e\u7ecf\u8fc7\u7cbe\u5fc3\u5efa\u6a21\uff0c\u5c42\u5c42\u52a0\u5de5\uff0c\u751f\u4ea7\u51fa\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b<\/p>\n\n\n\n3. \u6700\u540e\u7ecf\u8fc7\u6570\u636e\u5206\u53d1\u5230\u5408\u9002\u7684\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u7136\u540e\u901a\u8fc7\u670d\u52a1\u5316\u63d0\u4f9b\u7ed9\u6570\u636e\u5e94\u7528\uff0c\u4f8b\u5982\u6570\u636e\u5206\u6790\u3001\u5728\u7ebf\u670d\u52a1\u3001\u6a21\u578b\u8bad\u7ec3\u7b49\u3002<\/p>\n\n\n\n\u5728\u8fd9\u6574\u4e2a\u8fc7\u7a0b\u4e2d\uff0c\u4f1a\u6709\u5f88\u591a\u4efb\u52a1\u8d1f\u8d23\u6570\u636e\u7684\u63a5\u5165\u3001\u52a0\u5de5\u548c\u5206\u53d1\u3002\u8fd9\u4e9b\u4efb\u52a1\u4ea4\u7ec7\u4f9d\u8d56\uff0c\u5f62\u6210\u4e86\u4e00\u4e2a\u5927\u7684\u6709\u5411\u56fe\u3002\u6570\u636e\u751f\u4ea7\u7684\u6838\u5fc3\uff0c\u5c31\u662f\u9700\u8981\u5bf9\u8fd9\u4e2a\u56fe\u8fdb\u884c\u7edf\u4e00\u8c03\u5ea6\u3002\u4e3a\u6b64\uff0c\u9700\u8981\u6709\u4e00\u4e2a\u7edf\u4e00\u7684\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u3002\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u662f\u5927\u6570\u636e\u751f\u4ea7\u7684\u6838\u5fc3\uff0c\u5b83\u5e76\u4e0d\u662f\u5b64\u7acb\u5b58\u5728\u7684\uff0c\u4f1a\u4f9d\u8d56\u4e8e\u5e95\u5c42\u7684\u8d44\u6e90\u5982\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\uff0c\u5e76\u4e3a\u4e0a\u5c42\u5e94\u7528\u5982\u6570\u636e\u5f00\u53d1\u3001ABTest \u5e73\u53f0\u3001\u6307\u6807\u751f\u4ea7\u3001\u673a\u5668\u5b66\u4e60\u7b49\u63d0\u4f9b\u670d\u52a1\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u5feb\u624b\uff0c\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6311\u6218\u4e3b\u8981\u5305\u62ec\u4e09\u90e8\u5206\uff1a<\/p>\n\n\n\n\u4efb\u52a1\u91cf\u5927<\/strong>\uff1a\u6709\u6570\u5341\u4e07\u4e2a\u4efb\u52a1\uff0c\u4e0a\u767e\u4e07\u6761\u4f9d\u8d56\u5173\u7cfb\uff1b\u8fd9\u7ed9\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u6027\u80fd\u5e26\u6765\u4e86\u6311\u6218\uff0c\u5927\u4efb\u52a1\u91cf\u4f1a\u5bfc\u81f4\u6027\u80fd\u6076\u5316\u3002<\/li>\u4efb\u52a1\u4ea4\u7ec7\u4f9d\u8d56<\/strong>\uff1a\u4efb\u52a1\u4e4b\u95f4\u76f8\u4e92\u4f9d\u8d56\uff0c\u7ec4\u6210\u4e00\u4e2a\u5927\u7684\u6709\u5411\u56fe\u3002\u4e00\u4e2a\u4efb\u52a1\u53ef\u80fd\u6709\u4e0a\u4e07\u4e2a\u4e0a\u6e38\uff0c\u4e5f\u53ef\u80fd\u6709\u6570\u4e07\u4e2a\u4e0b\u6e38\u4efb\u52a1\u3002\u8fd9\u7ed9\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u7a33\u5b9a\u6027\u5e26\u6765\u4e86\u6311\u6218\uff0c\u4e00\u4e2a\u4efb\u52a1\u7684\u8c03\u5ea6\u51fa\u9519\u6709\u53ef\u80fd\u5bfc\u81f4\u5927\u9762\u79ef\u6545\u969c\u3002<\/li>\u573a\u666f\u591a\u6837<\/strong>\uff1a\u8c03\u5ea6\u573a\u666f\u591a\uff0c\u6267\u884c\u65b9\u5f0f\u591a\uff0c\u4efb\u52a1\u7c7b\u578b\u591a\uff0c\u7ed9\u7cfb\u7edf\u7684\u529f\u80fd\u5e26\u6765\u4e86\u6311\u6218\uff0c\u8981\u6c42\u529f\u80fd\u4e30\u5bcc\u4e14\u53ef\u6269\u5c55\u3002<\/li><\/ul>\n\n\n\n\u4e0e\u8fd9\u4e9b\u6311\u6218\u5bf9\u5e94\uff0c\u76ee\u6807\u4e5f\u5305\u62ec\u4e09\u90e8\u5206\uff1a<\/p>\n\n\n\n\u9ad8\u6027\u80fd<\/strong>\uff1a\u652f\u6301\u767e\u4e07\u7ea7\u4efb\u52a1\u7684\u8c03\u5ea6\uff0c\u8c03\u5ea6\u5ef6\u8fdf\u63a7\u5236\u5728\u79d2\u7ea7\u6216\u8005\u6beb\u79d2\u7ea7\uff1b<\/li>\u9ad8\u53ef\u7528<\/strong>\uff1a\u7cfb\u7edf\u8981\u51c6\u65f6\u8c03\u5ea6\uff0c\u4e0d\u91cd\u4e0d\u9519\uff0c\u4e14\u5177\u6709\u9ad8\u7a33\u5b9a\u6027\uff0c\u907f\u514d\u9020\u6210\u94fe\u8def\u6570\u636e\u8d28\u91cf\u6216\u8005\u6570\u636e\u65f6\u6548\u6545\u969c\uff1b<\/li>\u529f\u80fd\u5f3a<\/strong>\uff1a\u5177\u6709\u4e30\u5bcc\u7684\u8c03\u5ea6\u6267\u884c\u65b9\u5f0f\uff0c\u5177\u6709\u5f3a\u5927\u7684\u5f00\u653e\u80fd\u529b\uff0c\u6253\u9020\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\uff0c\u4e3a\u4e0a\u5c42\u5e94\u7528\u63d0\u4f9b\u4fbf\u6377\u7684\u670d\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u7eb5\u89c2\u5feb\u624b\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u53d1\u5c55\u5386\u7a0b\uff0c\u53ef\u4ee5\u5206\u4e3a\u56db\u4e2a\u9636\u6bb5\u3002<\/p>\n\n\n\n1. \u5728 2016 \u5e74\uff0c\u6574\u4f53\u89c4\u6a21\u8f83\u5c0f\uff0c\u91c7\u7528\u5f53\u65f6\u4e3b\u6d41 Airflow \u4f5c\u4e3a\u4efb\u52a1\u8c03\u5ea6\u5f15\u64ce\u3002\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\uff0c\u5feb\u624b\u7684\u4e1a\u52a1\u84ec\u52c3\u53d1\u5c55\uff0c\u4efb\u52a1\u89c4\u6a21\u4e5f\u6025\u901f\u589e\u957f\uff0cAirflow \u6027\u80fd\u548c\u7a33\u5b9a\u6027\u4e0d\u518d\u80fd\u6ee1\u8db3\u8981\u6c42\u3002<\/p>\n\n\n\n2. \u5728 2019 \u5e74\uff0c\u4e3a\u4e86\u89e3\u51b3 Airflow \u7684\u95ee\u9898\uff0c\u6211\u4eec\u81ea\u7814\u4e86\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf Kwaiflow\uff0c\u65e8\u5728\u652f\u6301\u767e\u4e07\u7ea7\u522b\u7684\u4efb\u52a1\u89c4\u6a21\u3002<\/p>\n\n\n\n3. \u5728 2020 \u5e74\uff0c\u6211\u4eec\u5347\u7ea7 Kwaiflow \u5230 2.0 \u7248\u672c\uff0c\u652f\u6301\u4f8b\u884c\u3001\u89e6\u53d1\u5f0f\u3001\u8865\u6570\u636e\u3001\u963b\u65ad\u591a\u4e2a\u573a\u666f\uff0c\u878d\u5408\u8d28\u91cf\u3001\u5b89\u5168\u7b49\u6570\u636e\u5168\u751f\u6001\u3002<\/p>\n\n\n\n4. \u5728 2021 \u4e0b\u534a\u5e74\uff0c\u6211\u4eec\u5f00\u59cb\u6253\u9020\u65b0\u4e00\u4ee3\u8c03\u5ea6\u7cfb\u7edf Kwaiflow 3.0\uff0c\u4ee5\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u4efb\u52a1\u89c4\u6a21\u3002<\/p>\n\n\n\n\u5728\u8fc7\u53bb\u7684\u4e94\u516d\u5e74\uff0c\u5feb\u624b\u7684\u4efb\u52a1\u6570\u6bcf\u5e74\u6210\u500d\u6570\u589e\u957f\uff0c\u4ece\u6570\u5343\u4e2a\u589e\u957f\u5230\u5f53\u524d\u7684\u6570\u5341\u4e07\u4e2a\uff0c\u63a5\u5165\u7684\u5e73\u53f0\u6570\u4ece 0 \u589e\u957f\u5230\u6570\u5341\u4e2a\uff0c\u7528\u6237\u5f53\u524d\u5df2\u8986\u76d6\u516c\u53f8\u51e0\u4e4e\u6240\u6709\u7684\u4e1a\u52a1\u65b9\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u521d\u671f\uff0c\u5feb\u624b\u4f7f\u7528 Airflow \u5f53\u4f5c\u4efb\u52a1\u8c03\u5ea6\u5f15\u64ce\uff0c\u4f46\u540e\u6765\u53c8\u653e\u5f03\u4e86\u3002\u6211\u4eec\u4e3a\u4ec0\u4e48\u4f1a\u505a\u51fa\u8fd9\u6837\u7684\u9009\u62e9\u5462\uff1f\u8fd9\u5c31\u9700\u8981\u5206\u6790 Airflow \u7684\u4f18\u70b9\u548c\u75db\u70b9\u3002Airflow \u662f\u4ee5\u7f16\u7a0b\u65b9\u5f0f\u521b\u5efa\u3001\u8c03\u5ea6\u548c\u76d1\u63a7\u5de5\u4f5c\u6d41\u7684\u5f00\u6e90\u7cfb\u7edf\u3002Airflow \u5177\u6709\u5f88\u591a\u4f18\u70b9\uff0c\u5305\u62ec\uff1a<\/p>\n\n\n\n\u80fd\u529b\u4e30\u5bcc<\/strong>\uff0c\u5177\u6709\u4e30\u5bcc\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u6613\u7528\u7684\u6d41\u7a0b\u63a7\u5236\uff1b<\/li>UI \u6613\u7528<\/strong>\uff0c\u8f83\u4e3a\u65b9\u4fbf\u5730\u8fdb\u884c\u53ef\u89c6\u5316\u8fd0\u7ef4\uff1b<\/li>\u7ec4\u4ef6\u5c11\u6613\u90e8\u7f72\uff0c\u4e0a\u624b\u96be\u5ea6\u4e0d\u5927<\/strong>\u3002<\/li><\/ul>\n\n\n\n\u8fd9\u4e9b\u4f18\u70b9\u662f\u6211\u4eec\u9009\u62e9 Airflow \u7684\u539f\u56e0\u3002<\/p>\n\n\n\n\u4f46\u968f\u7740\u4efb\u52a1\u89c4\u6a21\u589e\u5927\uff0cAirflow \u7684\u75db\u70b9\u4e5f\u5f88\u660e\u663e\uff1a<\/p>\n\n\n\n\u6027\u80fd\u8f83\u5dee<\/strong>\uff1a\u6211\u4eec\u53d1\u73b0\uff0c\u5f53 Airflow \u5355\u96c6\u7fa4 Dag \u6570\u8fd1 1 \u4e07\u65f6\uff0c\u5355\u4efb\u52a1\u8c03\u5ea6\u5ef6\u8fdf P99 \u9ad8\u8fbe 5min\uff0c\u94fe\u8def\u8c03\u5ea6\u5ef6\u8fdf\u9ad8\u8fbe\u6570\u5341\u5206\u949f\uff0c\u94fe\u8def\u65f6\u6548\u6027\u96be\u4ee5\u4fdd\u969c\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e1a\u52a1\u589e\u957f\uff0c\u6211\u4eec\u642d\u5efa\u4e86\u591a\u4e2a\u96c6\u7fa4\uff0c\u8fd0\u7ef4\u6210\u672c\u500d\u589e\u3002<\/li>\u7a33\u5b9a\u6027\u4e0d\u8db3<\/strong>\uff1a\u5f53\u65f6 Airflow Scheduler \u6ca1\u6709 HA\uff0c\u4efb\u52a1\u6267\u884c\u65f6\u73af\u5883\u548c\u8d44\u6e90\u4e0d\u9694\u79bb\uff0c\u5bb9\u6613 OOM\uff0c\u5bfc\u81f4\u8c03\u5ea6\u6545\u969c\u6bd4\u8f83\u591a\uff0c\u5e74\u5747\u6545\u969c\u6570\u7ea6 8 \u4e2a\u3002<\/li>\u96c6\u6210\u5ea6\u4f4e<\/strong>\uff1a\u4e8c\u6b21\u5f00\u53d1\u6210\u672c\u5927\uff0c\u548c\u5468\u8fb9\u7cfb\u7edf\u96c6\u6210\u5ea6\u4f4e\uff0c\u5f00\u653e\u80fd\u529b\u5dee\uff0c\u96be\u4ee5\u5feb\u901f\u6784\u5efa\u751f\u6001\u3002<\/li><\/ul>\n\n\n\n\u7531\u4e8e\u8fd9\u4e9b\u75db\u70b9\u7684\u5b58\u5728\uff0c\u6211\u4eec\u51b3\u5b9a\u81ea\u7814\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n02<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u6574\u4f53\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n\u5728 2019 \u5e74\u4e2d\u65ec\uff0c\u6211\u4eec\u5f00\u59cb\u81ea\u7814\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf Kwaiflow\uff0c\u5e76\u5728\u4e0b\u534a\u5e74\u4e0a\u7ebf 1.0 \u7248\u672c\u3002<\/p>\n\n\n\nKwaiflow \u662f\u5feb\u624b\u901a\u7528\u3001\u9ad8\u6027\u80fd\u3001\u6613\u6269\u5c55\u7684\u5206\u5e03\u5f0f\u5de5\u4f5c\u6d41\u8c03\u5ea6\u7cfb\u7edf\u3002\u5176\u8bbe\u8ba1\u76ee\u6807\u4ece\u4e24\u65b9\u9762\u8003\u8651\u3002<\/p>\n\n\n\n\u5728\u529f\u80fd\u578b\u76ee\u6807\u65b9\u9762<\/strong>\uff1a<\/p>\n\n\n\n\u573a\u666f\u4e30\u5bcc\uff1a\u652f\u6301\u591a\u573a\u666f\u8c03\u5ea6\uff0c\u591a\u79cd\u73af\u5883\u6267\u884c\uff0c\u652f\u6301\u591a\u6837\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b<\/li>\u8fd0\u7ef4\u4fbf\u6377\uff1a\u53ef\u4ee5\u8fdb\u884c\u53ef\u89c6\u5316\u3001\u667a\u80fd\u3001\u4fbf\u6377\u5730\u8fd0\u7ef4<\/li>\u4fbf\u4e8e\u5f00\u653e\uff1a\u5177\u6709\u5f3a\u5927\u7684\u5f00\u653e\u80fd\u529b\uff0c\u6613\u4e8e\u7cfb\u7edf\u96c6\u6210\uff0c\u6784\u5efa\u7edf\u4e00\u751f\u6001<\/li><\/ul>\n\n\n\n\u5728\u975e\u529f\u80fd\u578b\u76ee\u6807\u65b9\u9762<\/strong>\uff1a<\/p>\n\n\n\n\u9ad8\u5bb9\u91cf\uff1a\u652f\u6301\u767e\u4e07\u7ea7\u4efb\u52a1\u5bb9\u91cf<\/li>\u9ad8\u6027\u80fd\uff1a\u79d2\u7ea7\u6216\u8005\u4e9a\u79d2\u7ea7\u8c03\u5ea6\u5ef6\u8fdf<\/li>\u9ad8\u53ef\u7528\uff1a\u53ef\u7528\u6027 99.99%\uff0c\u7ebf\u4e0a\u95ee\u9898\u5c11\uff0c\u51fa\u73b0\u65f6\u80fd\u53ca\u65f6\u53d1\u73b0\u5feb\u901f\u5e76\u5904\u7406<\/li><\/ul>\n\n\n\n\u5728\u5b9a\u4f4d\u4e0a\uff0cKwaiflow \u57fa\u4e8e\u5927\u6570\u636e\u4f53\u7cfb\u548c\u5176\u5b83\u57fa\u7840\u8bbe\u65bd\uff0c\u63d0\u4f9b\u8c03\u5ea6\u3001\u6267\u884c\u7b49\u6838\u5fc3\u80fd\u529b\uff0c\u540c\u65f6\u5177\u6709\u8fd0\u7ef4\u3001\u76d1\u63a7\u62a5\u8b66\u3001\u667a\u80fd\u8bca\u65ad\u3001\u5f00\u653e\u670d\u52a1\u7b49\u91cd\u8981\u80fd\u529b\uff0c\u6784\u5efa\u8c03\u5ea6\u751f\u6001\uff1b\u9762\u5411\u6570\u636e\u5904\u7406\u3001\u6d41\u7a0b\u7f16\u6392\u3001\u7b97\u6cd5\u8c03\u5ea6\u548c\u5206\u5e03\u5f0f\u8ba1\u7b97\u7b49\u573a\u666f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u8c03\u5ea6\u6a21\u578b\u4e0a\uff0cKwaiflow \u91c7\u7528\u4e86\u4e24\u5c42\u5b9e\u4f53\u7684\u8c03\u5ea6\u6a21\u578b\uff1a<\/p>\n\n\n\nTask\uff1a\u6267\u884c\u6a21\u677f\uff0c\u7528\u4e8e\u6267\u884c\u67d0\u4e00\u7c7b\u578b\u7684\u4ee3\u7801\uff1bTask \u6709\u5f88\u591a\u7c7b\u578b\uff0c\u4f8b\u5982 HiveTask \u7528\u4e8e\u6267\u884c Hive SQL\uff0cBashTask \u7528\u4e8e\u6267\u884c Bash \u811a\u672c\uff0cHivePartitionSensorTask \u7528\u4e8e\u63a2\u6d4b hive \u8868\u5206\u533a\u662f\u5426\u5b58\u5728\u3002<\/li>DAG\uff1a\u4e00\u7cfb\u5217 Task \u7684\u96c6\u5408\uff0c\u5177\u6709\u8c03\u5ea6\u5b9a\u65f6\u7b49\u5c5e\u6027\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f9d\u8d56\u5173\u7cfb\u65b9\u9762\uff0cDAG \u4e4b\u95f4\u53ef\u4ee5\u76f8\u4e92\u4f9d\u8d56\uff0c\u65e2\u53ef\u4ee5\u540c\u5468\u671f\u4f9d\u8d56\uff0c\u4e5f\u53ef\u4ee5\u8de8\u5468\u671f\u4f9d\u8d56\uff0c\u8fd8\u53ef\u4ee5\u6709\u4f9d\u8d56\u504f\u79fb\u3002DAG \u5185\u7684 Task \u4e4b\u95f4\u4e5f\u53ef\u4ee5\u4f9d\u8d56\uff0c\u7531\u4e8e\u4ed6\u4eec\u8c03\u5ea6\u5c5e\u6027\u4e00\u81f4\uff0c\u6240\u4ee5\u90fd\u4e3a\u540c\u5468\u671f\u4f9d\u8d56\u3002<\/p>\n\n\n\n\u4e00\u822c\u6765\u8bb2\uff0c\u5e38\u89c1\u7684\u8c03\u5ea6\u6a21\u578b\u9664\u4e86\u53cc\u5c42\u5b9e\u4f53\u6a21\u578b\u5916\uff0c\u8fd8\u6709\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u3002\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u6ca1\u6709 DAG \u7684\u6982\u5ff5\uff0c\u53ea\u6709 Task\uff0cTask \u5177\u6709\u8c03\u5ea6\u5c5e\u6027\uff0cTask \u4e4b\u95f4\u76f8\u4e92\u4f9d\u8d56\u3002\u4e24\u79cd\u6a21\u578b\u5404\u6709\u4f18\u52a3\u3002\u53cc\u5c42\u6a21\u578b\u66f4\u9002\u5408\u5feb\u624b\u7684\u60c5\u51b5\uff0c\u5177\u6709\u66f4\u5f3a\u7684\u8868\u8fbe\u529b\uff0c\u4f7f\u7528\u573a\u666f\u66f4\u5e7f\u6cdb\uff0c\u5f53\u7136\u4e5f\u5177\u6709\u4e00\u5b9a\u7684\u590d\u6742\u6027\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u7cfb\u7edf\u67b6\u6784\u4e0a\uff1a<\/p>\n\n\n\nAPI Server \u63d0\u4f9b\u5404\u5f0f\u5404\u6837\u7684\u63a5\u53e3\uff0c\u8d1f\u8d23\u7edf\u4e00\u63a5\u5165\u3002<\/li>Scheduler \u8d1f\u8d23\u8c03\u5ea6\uff0c\u4e0d\u540c\u7684\u8c03\u5ea6\u573a\u666f\u4f1a\u6709\u4e0d\u540c\u7c7b\u578b\u7684\u8c03\u5ea6\u5668\uff0c\u5305\u62ec\u4f8b\u884c\u3001\u89e6\u53d1\u5f0f\u3001\u8865\u6570\u636e\u3001\u963b\u65ad\u8c03\u5ea6\u5668\u3002\u5728\u4f8b\u884c\u8c03\u5ea6\u5668\u4e2d\uff0c\u4efb\u52a1\u5b9e\u4f8b\u751f\u6210\u540e\uff0c\u4f1a\u4f9d\u6b21\u7ecf\u8fc7\u5b9a\u65f6\u68c0\u6d4b\u3001\u4f9d\u8d56\u68c0\u6d4b\u548c\u8d44\u6e90\u68c0\u6d4b\u3002\u5982\u679c\u90fd\u901a\u8fc7\uff0c\u4f1a\u63d0\u4ea4\u5230 Queue Service \u4e2d\u3002<\/li>Queue Service \u4e3a\u5e26 ack \u673a\u5236\u7684\u6d88\u606f\u961f\u5217\u670d\u52a1\uff0c\u4f1a\u6709\u4e0d\u540c\u7684 channel\uff0c\u4ee5\u4fbf\u9694\u79bb\u4efb\u52a1\u3002<\/li>Worker \u8d1f\u8d23\u4efb\u52a1\u7684\u6267\u884c\uff0c\u4ece\u5c5e\u4e00\u4e2a worker \u5206\u7ec4\u3002\u4e0d\u540c\u5206\u7ec4\u7684 Worker \u6d88\u8d39 Queue Service \u4e2d\u4e0d\u540c Channel \u7684\u4efb\u52a1\uff0c\u6839\u636e\u4e0d\u540c\u7684\u4efb\u52a1\u7c7b\u578b\u8fdb\u884c\u6267\u884c\u3002\u6267\u884c\u5206\u4e3a\u672c\u5730\u6267\u884c\u548c\u5bb9\u5668\u5316\u6267\u884c\u4e24\u79cd\u65b9\u5f0f\uff0c\u672c\u5730\u6267\u884c\u662f\u6307\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u5185\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\uff1b\u5177\u6709\u542f\u52a8\u5feb\u7684\u7279\u70b9\uff1b\u5bb9\u5668\u5316\u6267\u884c\u662f\u6307\u5728 k8s \u8fdc\u7a0b\u6267\u884c\u7528\u6237\u4ee3\u7801\uff0c\u5177\u6709\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\u7684\u7279\u70b9\u3002<\/li><\/ul>\n\n\n\n\u9664\u6b64\u4e4b\u5916\uff0c\u8fd8\u6709\u5176\u5b83\u5173\u952e\u6a21\u5757\uff0c\u5305\u62ec\u65e5\u5fd7\u670d\u52a1\u3001\u62a5\u8b66\u670d\u52a1\u3001\u4e8b\u4ef6\u670d\u52a1\u3001\u5b9e\u4f8b\u8840\u7f18\u670d\u52a1\u7b49\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5173\u952e\u6280\u672f<\/strong><\/p>\n\n\n\n1. \u5173\u952e\u6280\u672f\uff1a\u4f4e\u8c03\u5ea6\u5ef6\u8fdf<\/h1>\n\n\n\n\u8c03\u5ea6\u5ef6\u8fdf\u662f\u6307\u7406\u8bba\u8d77\u8c03\u65f6\u523b\u5230\u5b9e\u9645\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\u7684\u65f6\u95f4\u5dee\u3002\u8c03\u5ea6\u5ef6\u8fdf\u662f\u8861\u91cf\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6027\u80fd\u7684\u91cd\u8981\u6307\u6807\u4e4b\u4e00\uff0c\u8be5\u6307\u6807\u8d8a\u5c0f\u8d8a\u597d\u3002<\/p>\n\n\n\n\u4efb\u52a1\u5b9e\u4f8b\u4ece\u751f\u6210\uff0c\u5230\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\uff0c\u9700\u8981\u7ecf\u8fc7\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\u3001\u7b49\u5f85\u4f9d\u8d56\u5c31\u7eea\u3001\u7b49\u5f85\u8d44\u6e90\u5c31\u7eea\u548c\u51c6\u5907\u8fd0\u884c\u73af\u5883\u56db\u4e2a\u9636\u6bb5\u3002\u8981\u6709\u8f83\u5c0f\u7684\u8c03\u5ea6\u5ef6\u8fdf\uff0c\u5c31\u9700\u8981\u51cf\u5c11\u5404\u4e2a\u9636\u6bb5\u7684\u7cfb\u7edf\u65f6\u95f4\u635f\u8017\u3002\u8c03\u5ea6\u5ef6\u8fdf\u7684\u4e3b\u8981\u56e0\u7d20\u4e0e\u5904\u7406\u65b9\u6848\u6709\uff1a<\/p>\n\n\n\n\u5b9a\u65f6\u5668<\/strong>\u3002\u5b9a\u65f6\u5668\u5728\u63a2\u6d4b\u65f6\u95f4\u5c31\u7eea\u73af\u8282\u8d77\u4f5c\u7528\uff0c\u4e00\u4e2a\u7cbe\u51c6\u7684\u3001\u652f\u6301\u767e\u4e07\u7ea7\u522b\u9ad8\u541e\u5410\u7684\u5b9a\u65f6\u5668\uff0c\u5bf9\u4f4e\u8c03\u5ea6\u5ef6\u8fdf\u81f3\u5173\u91cd\u8981\u3002\u4f18\u79c0\u7684\u5b9a\u65f6\u5668\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u6570\u636e\u5e93\u8bbf\u95ee<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d1\u751f\u53d8\u66f4\u540e\uff0c\u9700\u8981\u5bf9\u72b6\u6001\u8fdb\u884c\u6301\u4e45\u5316\u3002\u901a\u8fc7\u7d22\u5f15\u3001\u8bfb\u5199\u5206\u79bb\u3001\u5206\u5e93\u5206\u8868\u7b49\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5c06\u5355\u6b21\u6570\u636e\u5e93\u8bbf\u95ee\u8017\u65f6\u63a7\u5236\u5728 1 ~ 3ms\uff0c\u603b\u4f53\u8017\u65f6\u63a7\u5236\u5728 10ms \u5de6\u53f3 \u3002<\/li>\u72b6\u6001\u8f6c\u53d8<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u81ea\u751f\u6210\u5230\u8fd0\u884c\u7ed3\u675f\uff0c\u4f1a\u7ecf\u5386\u591a\u6b21\u72b6\u6001\u8f6c\u53d8\u3002\u72b6\u6001\u8f6c\u53d8\u9ad8\u6548\u4e0e\u5426\u662f\u8c03\u5ea6\u5ef6\u8fdf\u7684\u91cd\u8981\u56e0\u7d20\u3002\u4e00\u822c\u6765\u8bf4\u6709\u4e24\u79cd\u529e\u6cd5\uff1a\u8f6e\u8be2\u4e0e\u4e8b\u4ef6\u89e6\u53d1\u3002\u6211\u4eec\u91c7\u7528\u7684\u662f\u4e8b\u4ef6\u89e6\u53d1\u65b9\u5f0f\uff0c\u7b2c\u4e00\u65f6\u95f4\u611f\u77e5\u72b6\u6001\u8f6c\u53d8\u3002\u901a\u8fc7\u4e8b\u4ef6\u89e6\u53d1\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u8fd0\u884c\u73af\u5883\u51c6\u5907<\/strong>\u3002\u8fd9\u4e2a\u73af\u8282\u4e3b\u8981\u5de5\u4f5c\u5305\u62ec\u52a0\u8f7d\u955c\u50cf\u3001\u521d\u59cb\u5316\u8fd0\u884c\u73af\u5883\u7b49\u3002\u6211\u4eec\u4e3b\u8981\u91c7\u7528\u4e86\u9884\u52a0\u8f7d\u548c\u955c\u50cf\u9884\u70ed\u6280\u672f\u3002\u4e0d\u540c\u7684\u8fd0\u884c\u73af\u5883\uff0c\u65f6\u95f4\u635f\u8017\u4e0d\u4e00\u6837\uff0c\u4f1a\u5728\u4e9a\u79d2\u5230\u5206\u949f\u4e0d\u7b49\u3002<\/li><\/ul>\n\n\n\n\u8fd9\u56db\u4e2a\u56e0\u7d20\u4e2d\uff0c\u540e\u4e24\u8005\u76f8\u5bf9\u8f83\u590d\u6742\uff0c\u63a5\u4e0b\u6765\u7740\u91cd\u4ecb\u7ecd\u72b6\u6001\u8f6c\u53d8\u548c\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e24\u90e8\u5206\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u9996\u5148\u770b\u72b6\u6001\u8f6c\u53d8\u8fd9\u4e2a\u56e0\u7d20\u3002\u4efb\u52a1\u4ece\u53d1\u5e03\uff0c\u5230\u8c03\u5ea6\u6267\u884c\u5b8c\u6210\uff0c\u4f1a\u7ecf\u5386\u6570\u6b21\u6216\u8005\u5341\u6570\u6b21\u72b6\u6001\u53d8\u5316\u3002\u5982\u4f55\u8fdb\u884c\u5feb\u901f\u9ad8\u6548\u5730\u72b6\u6001\u8f6c\u53d8\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u95ee\u9898\u3002Kwaiflow \u7684\u89e3\u51b3\u529e\u6cd5\u662f\u91c7\u7528 Akka actor\u3002\u5145\u5206\u5229\u7528\u4e86 akka actor \u9ad8\u6027\u80fd\u7279\u70b9\u3002<\/p>\n\n\n\n\u5177\u4f53\u6765\u8bb2\uff1a<\/p>\n\n\n\n1. Kwaiflow \u7684\u4efb\u52a1\u4ece API Server \u53d1\u5e03\u540e\uff0c\u7ecf\u8fc7 Entry Actor \u52a0\u8f7d\u5230 DagLoader Actors \u4e2d\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\uff1b<\/p>\n\n\n\n2. \u5728\u65f6\u95f4\u5c31\u7eea\u540e\uff0c\u7531 Instance Generator Actors \u751f\u6210\u4efb\u52a1\u5b9e\u4f8b\uff0c\u7136\u540e\u8fdb\u5165 Dependency Detector Actor \u63a2\u6d4b\u4e0a\u6e38\u4f9d\u8d56\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n3. \u5728\u4f9d\u8d56\u5c31\u7eea\u540e\uff0c\u8fdb\u5165 Resource Detector Actor \u63a2\u6d4b\u8d44\u6e90\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n4. \u5728\u8d44\u6e90\u5c31\u7eea\u540e\uff0c\u4efb\u52a1\u5b9e\u4f8b\u901a\u8fc7 Queue Service \u4e0b\u53d1\u5230 worker \u4e2d\u3002<\/p>\n\n\n\n5. \u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u88ab\u63a5\u6536\u540e\uff0c\u5c06\u4f1a\u7531 Processor Actor \u6267\u884c\uff0c\u6267\u884c\u524d\u540e\u4f1a\u4f9d\u6b21\u7ecf\u5386\u4ee3\u7801\u6e32\u67d3\u3001Prehook\u3001\u4ee3\u7801\u6267\u884c\u3001Posthook \u56db\u4e2a\u6b65\u9aa4\u3002<\/p>\n\n\n\n6. \u5982\u679c\u6267\u884c\u6210\u529f\uff0c\u5219\u6d41\u7a0b\u7ec8\u6b62\uff1b\u5982\u679c\u6267\u884c\u5931\u8d25\uff0cPosthook \u4f1a\u5c06\u4fe1\u606f\u901a\u8fc7 Processor Actor\u3001ResultHandlerActor \u4f20\u9012\u7ed9 scheduler \u7684 RetryerActor \u8fdb\u884c\u91cd\u8bd5\u64cd\u4f5c\u3002<\/p>\n\n\n\n\u6574\u4e2a\u6d41\u7a0b\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u5168\u6d41\u7a0b\u4e8b\u4ef6\u89e6\u53d1<\/strong>\uff1a\u65e0\u8f6e\u8be2\uff0c\u4efb\u52a1\u53d1\u5e03\u3001\u8c03\u5ea6\u3001\u6267\u884c\u3001\u91cd\u8bd5\uff0c\u5747\u4e3a\u4e8b\u4ef6\u89e6\u53d1\u3002<\/li>\u9ad8\u541e\u5410<\/strong>\uff1a\u91c7\u7528\u5f02\u6b65\u5e76\u53d1\u7684\u65b9\u5f0f\uff0c\u80fd\u5feb\u901f\u8c03\u8d77\u5927\u91cf\u4efb\u52a1\u5b9e\u4f8b<\/li>\u7b80\u5355\u6613\u7528<\/strong>\uff1a\u65e0\u9700\u4f7f\u7528\u5e95\u5c42 API \u8fdb\u884c\u9501\u548c\u7ebf\u7a0b\u7ba1\u7406\uff0c\u4e13\u6ce8\u4e1a\u52a1\u5b9e\u73b0\u3002<\/li><\/ul>\n\n\n\n\u91c7\u7528 actor\uff0c\u72b6\u6001\u8f6c\u53d8\u5bfc\u81f4\u7684\u65f6\u95f4\u635f\u8017\u63a7\u5236\u5728\u6beb\u79d2\u7ea7\u522b\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u63a5\u4e0b\u6765\u6211\u4eec\u770b\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e2a\u56e0\u7d20\u3002\u8fd9\u548c\u6267\u884c\u573a\u666f\u6709\u5173\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e0d\u540c\u7684\u6267\u884c\u573a\u666f\uff0cKwaiflow \u63d0\u4f9b\u4e86\u4e24\u79cd\u6267\u884c\u65b9\u5f0f\uff1a\u5bb9\u5668\u5316\u6267\u884c\u548c\u672c\u5730\u6267\u884c\u3002<\/p>\n\n\n\n\u5bb9\u5668\u5316\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u6bcf\u6b21\u6267\u884c\u524d\uff0c\u5728 k8s \u6309\u9700\u7533\u8bf7\u5bb9\u5668\u8d44\u6e90\uff0c\u5728\u5bb9\u5668\u4e2d\u6267\u884c\u4efb\u52a1\u5b9e\u4f8b\uff0c\u6267\u884c\u5b8c\u540e\uff0c\u53ca\u65f6\u91ca\u653e\u5bb9\u5668\u8d44\u6e90\u3002\u4f18\u70b9\u662f\u5b9e\u73b0\u4e86\u6267\u884c\u65f6\u7684\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\uff1b\u7f3a\u70b9\u662f\u6bcf\u6b21\u90fd\u9700\u8981\u7533\u8bf7\u548c\u521d\u59cb\u5316\u5bb9\u5668\u8d44\u6e90\uff0c\u542f\u52a8\u8017\u65f6\u957f\u3002\u5bb9\u5668\u5316\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Bash \u4efb\u52a1\u3002\u4e3a\u4e86\u51cf\u5c11\u5bb9\u5668\u5316\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\uff0c\u6211\u4eec\u5c06\u955c\u50cf\u5206\u4e3a\u81ea\u5b9a\u4e49\u955c\u50cf\u548c\u901a\u7528\u955c\u50cf\uff0c\u5bf9\u901a\u7528\u955c\u50cf\u8fdb\u884c\u9884\u70ed\uff0c\u63d0\u524d\u5206\u53d1\u5230\u673a\u5668\u4e2d\uff0c\u51cf\u5c11\u955c\u50cf\u4e0b\u8f7d\u8017\u65f6\u3002\u901a\u8fc7\u955c\u50cf\u9884\u70ed\uff0c\u53ef\u4ee5\u5c06\u542f\u52a8\u8017\u65f6\u4ece\u5206\u949f\u7ea7\u964d\u4f4e\u5230\u79d2\u7ea7\u3002<\/li>\u672c\u5730\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u673a\u4e2d\uff0c\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\u3002\u540c\u4e00\u4e2a worker \u673a\u4e2d\u7684\u6240\u6709\u4efb\u52a1\u5b9e\u4f8b\u5171\u4eab\u8ba1\u7b97\u8d44\u6e90\u548c\u6267\u884c\u73af\u5883\u3002\u4f18\u70b9\u662f\u542f\u52a8\u8017\u65f6\u77ed\uff0coverhead \u5c0f\uff1b\u7f3a\u70b9\u662f\u8d44\u6e90\u548c\u73af\u5883\u4e0d\u9694\u79bb\uff0c\u4e00\u4e2a\u4efb\u52a1\u5b9e\u4f8b\u6267\u884c\u5f02\u5e38\u6709\u53ef\u80fd\u5bfc\u81f4\u6574\u4e2a worker \u673a crash\u3002\u672c\u5730\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u4e0d\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Hive \u548c Sensor \u4efb\u52a1\u3002\u672c\u5730\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\u4e00\u822c\u5728\u4e9a\u79d2\u7ea7\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n2. \u5173\u952e\u6280\u672f\uff1a\u9ad8\u53ef\u7528<\/h1>\n\n\n\n\u9ad8\u53ef\u7528\u5bf9\u8c03\u5ea6\u7cfb\u7edf\u6765\u8bf4\u975e\u5e38\u91cd\u8981\u3002\u4e3a\u4e86\u4fdd\u969c Kwaiflow \u7684\u9ad8\u53ef\u7528\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e24\u65b9\u9762\u8fdb\u884c\u8003\u8651\uff1a\u7cfb\u7edf\u8bbe\u8ba1\u548c\u6545\u969c\u53d1\u73b0\u5904\u7406\u3002\u5728\u7cfb\u7edf\u8bbe\u8ba1\u4e0a\uff0cKwaiflow \u53ef\u4ee5\u505a\u5230\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5373\u4efb\u52a1\u5b9e\u4f8b\u5728\u590d\u6742\u73af\u5883\u4e2d Exactly Once \u6267\u884c\uff0c\u505a\u5230\u4e0d\u6f0f\uff0c\u4e14\u5c3d\u91cf\u4e0d\u91cd\u3002<\/p>\n\n\n\n\u5bf9\u4e8e\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5e38\u89c1\u7684\u6545\u969c\u573a\u666f\u5305\u62ec\u7ec4\u4ef6\u6545\u969c\u6216\u8005\u7ec4\u4ef6\u5931\u8054\u3002\u4f8b\u5982 scheduler crash\u3001\u5bb9\u5668\u5316\u4efb\u52a1\u4e0e worker \u5931\u8054\u7b49\u3002<\/p>\n\n\n\n\u4e3a\u4e86\u8fbe\u5230\u9ad8\u53ef\u9760\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e09\u65b9\u9762\u8003\u8651\uff1a<\/p>\n\n\n\nFailover \u673a\u5236\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u548c\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\uff0c\u6765\u5b9e\u73b0\u7ec4\u4ef6\u7684\u81ea\u52a8\u5bb9\u9519\u3002\u4f8b\u5982 Kwaiflow \u91c7\u7528\u4e3b\u5907 Master\uff0c\u591a worker \u7684\u8bbe\u8ba1\u6765\u907f\u514d\u5355\u70b9\u95ee\u9898\uff1b\u5404\u4e2a\u7ec4\u4ef6\u4e4b\u95f4\u91c7\u7528\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\u6765\u907f\u514d\u5931\u8054\u95ee\u9898\u3002\u534f\u8bae\u5305\u62ec scheduler Executor \u901a\u4fe1\u534f\u8bae\u3001Executor Runner \u901a\u4fe1\u534f\u8bae\u3001External Job \u901a\u4fe1\u534f\u8bae\u3002\u53f3\u56fe\u5c55\u793a\u4e86 Executor Runner \u901a\u4fe1\u534f\u8bae\u7684\u4e3b\u8981\u6d41\u7a0b\uff0c\u534f\u8bae\u89c4\u5b9a\u4e86\u4efb\u52a1\u63d0\u4ea4\u3001\u6b63\u5e38\u6267\u884c\u3001\u5f02\u5e38\u6267\u884c\u3001\u901a\u4fe1\u5931\u8054\u7684\u5904\u7406\u529e\u6cd5\uff0c\u4e0d\u4f9d\u8d56\u5916\u90e8\u7cfb\u7edf\u7684\u72b6\u6001\u3002<\/li>\u907f\u514d\u9057\u6f0f\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u6d88\u606f ack \u673a\u5236\uff0c\u4fdd\u969c\u6d88\u606f\u4e0d\u4e22\u5931\uff1b\u540c\u65f6\u901a\u8fc7\u5b9a\u671f\u515c\u5e95\u5de1\u68c0\uff0c\u4fdd\u969c\u4efb\u52a1\u5b9e\u4f8b\u4e0d\u9057\u6f0f\u3002<\/li>\u907f\u514d\u91cd\u590d\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u72b6\u6001\u673a\u8f6c\u79fb\u56fe\uff0c\u907f\u514d\u4e0d\u5408\u7406\u72b6\u6001\u8f6c\u53d8\uff1b\u540c\u65f6\u901a\u8fc7\u91cd\u8bd5\u524d\u6e05\u7406\u524d\u4e00\u4e2a\u5b9e\u4f8b\uff0c\u907f\u514d\u91cd\u590d\u6267\u884c\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u9ad8\u53ef\u7528\u65b9\u9762\uff0c\u8fd8\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u7cfb\u7edf\u8bbe\u8ba1\u662f\u5206\u7ea7\u4fdd\u969c\u3002\u5feb\u624b\u5728\u8fdb\u884c\u5927\u578b\u6d3b\u52a8\u4f8b\u5982\u6625\u8282\u3001\u5965\u8fd0\u65f6\uff0c\u6574\u4f53\u6570\u636e\u91cf\u5927\u5e45\u5ea6\u589e\u957f\uff0c\u5c40\u90e8\u6570\u636e\u5448\u6570\u500d\u589e\u957f\u3002\u4f46\u8ba1\u7b97\u8d44\u6e90\u662f\u6709\u9650\u7684\uff0c\u8ba1\u7b97\u8d44\u6e90\u7684\u589e\u957f\u5f80\u5f80\u4e0d\u80fd\u5339\u914d\u6570\u636e\u91cf\u7684\u589e\u957f\uff0c\u4e0d\u80fd\u8ba9\u6240\u6709\u7684\u4efb\u52a1\u548c\u5f80\u5e38\u4e00\u6837\u6309\u65f6\u4ea7\u51fa\u3002\u8fd9\u65f6\u5019\u6211\u4eec\u5c31\u9700\u8981\u8fdb\u884c\u5206\u7ea7\u4fdd\u969c\u3002<\/p>\n\n\n\n\u6240\u8c13\u5206\u7ea7\u4fdd\u969c\uff0c\u5c31\u662f\u5728\u8d44\u6e90\u6709\u9650\u7684\u60c5\u51b5\u4e0b\uff0c\u8ba9\u9ad8\u4f18\u4efb\u52a1\u5f97\u5230\u7279\u6743\uff0c\u4f18\u5148\u5f97\u5230\u6267\u884c\uff0c\u4f18\u5148\u83b7\u5f97\u5145\u8db3\u7684\u4f18\u8d28\u8d44\u6e90\uff0c\u4fdd\u969c\u4ea7\u51fa\u65f6\u95f4\uff1b\u800c\u4f4e\u4f18\u4efb\u52a1\u5219\u4f1a\u88ab\u5ef6\u8fdf\u8c03\u5ea6\u6267\u884c\uff0c\u5206\u914d\u66f4\u5c11\u7684\u8d44\u6e90\u3002<\/p>\n\n\n\n\u5728\u5feb\u624b\uff0c\u6574\u4e2a\u79bb\u7ebf\u4f53\u7cfb\uff0c\u5305\u62ec Kwaiflow\u3001Hive\u3001Yarn\u3001HDFS \u7b49\uff0c\u90fd\u5177\u6709\u5206\u7ea7\u4fdd\u969c\u7684\u80fd\u529b\u3002\u8fd9\u91cc\u4ecb\u7ecd Kwaiflow \u7684\u5206\u7ea7\u4fdd\u969c\u80fd\u529b\uff0c\u5305\u62ec\u4e09\u65b9\u9762\uff1a<\/p>\n\n\n\nKwaiflow \u8c03\u5ea6\u5668\u5177\u6709\u5206\u7ea7\u8c03\u5ea6\u7684\u80fd\u529b<\/strong>\u3002Kwaiflow \u8c03\u5ea6\u5668\u80fd\u611f\u77e5\u5230\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u7684\u72b6\u6001\uff0c\u5728\u8d44\u6e90\u4e0d\u8db3\u65f6\uff0cKwaiflow \u4efb\u52a1\u4f1a\u5728\u8c03\u5ea6\u5668\u6392\u961f\uff0c\u9ad8\u4f18\u4efb\u52a1\u6392\u5728\u524d\u9762\uff0c\u4f4e\u4f18\u4efb\u52a1\u6392\u5728\u540e\u9762\uff1b\u5f53\u8d44\u6e90\u5f97\u5230\u91ca\u653e\u65f6\uff0c\u9ad8\u4f18\u4efb\u52a1\u4f18\u5148\u88ab\u8c03\u5ea6\u3002<\/li>Kwaiflow \u7684\u6267\u884c\u5668\u6309\u7167\u4e0d\u540c\u4f18\u5148\u7ea7\u8fdb\u884c\u5206\u7ec4<\/strong>\u3002\u5305\u62ec\u4e09\u7ec4\uff1aP0 \u6267\u884c\u5668\u7ec4\u3001P1 \u6267\u884c\u5668\u7ec4\u4ee5\u53ca P2 P3 \u6267\u884c\u5668\u7ec4\u3002P0 \u6267\u884c\u5668\u7528\u4e8e\u6267\u884c\u6700\u9ad8\u4f18\u5148\u7ea7\u7684 P0 \u4efb\u52a1\uff0c\u5177\u6709\u5145\u8db3\u7684 worker\uff0cP0 \u4efb\u52a1\u5b9e\u4f8b\u57fa\u672c\u4e0d\u4f1a\u5728\u6267\u884c\u5668\u5c42\u88ab\u9650\u5236\u3002\u5bf9\u4e8e P2 P3 \u5206\u7ec4\uff0c\u5728\u8c03\u5ea6\u9ad8\u5cf0\u671f\uff0c\u4efb\u52a1\u5b9e\u4f8b\u5f88\u591a\u65f6\uff0c\u53ef\u80fd\u5b58\u5728\u6392\u961f\u6267\u884c\u7684\u60c5\u51b5\u3002<\/li>Kwaiflow \u5177\u6709\u8f83\u5f3a\u7684\u4eba\u5de5\u7ba1\u63a7\u80fd\u529b<\/strong>\uff0c\u53ef\u4ee5\u4eba\u4e3a\u5730\u5141\u8bb8\u6216\u8005\u963b\u65ad\u67d0\u4e9b\u4efb\u52a1\u7684\u8c03\u5ea6\u3002\u5178\u578b\u4f7f\u7528\u573a\u666f\u662f\u5728\u5927\u578b\u6d3b\u52a8\u671f\u95f4\uff0c\u53ef\u4ee5\u6839\u636e\u9884\u6848\uff0c\u5bf9\u4f4e\u4f18\u5148\u7ea7\u7684\u4efb\u52a1\u4eba\u4e3a\u8fdb\u884c\u5ef6\u8fdf\u8c03\u5ea6\uff0c\u4fdd\u969c\u8d44\u6e90\u5206\u914d\u7ed9\u9ad8\u4f18\u4efb\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u524d\u9762\u4e3b\u8981\u4ece\u7cfb\u7edf\u8bbe\u8ba1\u65b9\u9762\u4ecb\u7ecd\u4e86\u7ebf\u4e0a\u6545\u969c\u7684\u81ea\u52a8\u89c4\u907f\u3002Kwaiflow \u9ad8\u53ef\u7528\u7684\u7b2c\u4e8c\u4e2a\u65b9\u9762\u662f\u6545\u969c\u7684\u53d1\u73b0\u548c\u5904\u7406\u3002\u5982\u679c\u6545\u969c\u53d1\u73b0\u4e0d\u53ca\u65f6\u3001\u5904\u7406\u4e0d\u8fc5\u901f\uff0c\u4f1a\u51fa\u73b0\u5927\u89c4\u6a21\u7684\u8c03\u5ea6\u9519\u8bef\u6216\u8005\u8c03\u5ea6\u5ef6\u8fdf\u6545\u969c\u3002\u5728\u5feb\u624b\u8c03\u5ea6\u7cfb\u7edf\u53d1\u5c55\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u78b0\u5230\u8fc7\u8fd9\u6837\u7684\u5927\u6545\u969c\uff0c\u4e3a\u4e86\u907f\u514d\u518d\u6b21\u53d1\u751f\uff0c\u6211\u4eec\u5efa\u7acb\u4e86\u5b8c\u5907\u7684\u76d1\u63a7\u9884\u6848\u4f53\u7cfb\u3002<\/p>\n\n\n\n\u5728\u76d1\u63a7\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5206\u6210\u4f7f\u7528\u5c42\u3001\u670d\u52a1\u5c42\u3001\u4f9d\u8d56\u5c42\u4e09\u4e2a\u5c42\u6b21\uff0c\u5e76\u5212\u5206\u76d1\u63a7\u4f18\u5148\u7ea7\uff0c\u91c7\u7528\u4e0d\u540c\u7684\u54cd\u5e94\u65b9\u5f0f\u3002<\/li>\u5728\u6545\u969c\u9884\u6848\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u6709\u4e24\u7c7b\u9884\u6848\uff1a\u7cfb\u7edf\u6545\u969c\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u8c03\u5ea6\u7cfb\u7edf\u81ea\u8eab\u95ee\u9898\uff1b\u6570\u636e\u5f02\u5e38\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u94fe\u8def\u6570\u636e\u4e0d\u6b63\u786e\u7684\u95ee\u9898\u3002\u6211\u4eec\u6c89\u6dc0\u4e86\u591a\u573a\u666f\u7684\u963b\u65ad\u6062\u590d\u548c\u8865\u6570\u636e\u5de5\u5177\uff0c\u80fd\u591f\u5728\u6570\u5206\u949f\u5185\u542f\u52a8\u6570\u636e\u6062\u590d\u3002<\/li>\u5728\u6f14\u7ec3\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5b9a\u671f\u5bf9\u9884\u6848\u8fdb\u884c\u6f14\u7ec3\uff0c\u4fdd\u8bc1\u9884\u6848\u7684\u53ef\u7528\u6027\uff0c\u64cd\u4f5c\u7684\u719f\u7ec3\u6027\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n3. \u5173\u952e\u6280\u672f\uff1a\u5f00\u653e\u80fd\u529b<\/h1>\n\n\n\n\u5f00\u653e\u662f\u6570\u636e\u4e2d\u53f0\u7684\u6838\u5fc3\u7ade\u4e89\u529b\u3002\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u7ed9\u4e88\u4f7f\u7528\u8005\u81ea\u7531\u7684\u53d1\u6325\u7a7a\u95f4\uff0c\u6ee1\u8db3\u66f4\u591a\u4f7f\u7528\u573a\u666f\uff1b\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u6784\u5efa\u6570\u636e\u751f\u6001\uff0c\u63d0\u4f9b\u66f4\u4e30\u5bcc\u7684\u80fd\u529b\u3002Kwaiflow \u63d0\u4f9b\u4e86\u591a\u79cd\u5f00\u653e\u80fd\u529b\uff1a<\/p>\n\n\n\nKwaiflow \u5177\u6709\u5f00\u653e\u7684 API\uff0c\u652f\u6301\u591a\u8bed\u8a00 SDK\uff0c\u63d0\u4f9b\u4e86\u6807\u51c6\u5316\u7684\u63a5\u5165\u6d41\u7a0b\u3001\u4f7f\u7528\u624b\u518c\u548c\u63a5\u5165 demo\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u6807\u51c6\u7684\u4e8b\u4ef6\u3002\u5305\u62ec\u4efb\u52a1\u64cd\u4f5c\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d8\u66f4\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u8bca\u65ad\u4e8b\u4ef6\u7b49\u3002\u6839\u636e\u8fd9\u4e9b\u4e8b\u4ef6\uff0c\u53ef\u4ee5\u5b8c\u6574\u590d\u73b0\u51fa\u4efb\u52a1\u548c\u4efb\u52a1\u5b9e\u4f8b\u7684\u5168\u751f\u547d\u5468\u671f\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u63d2\u4ef6\u5316\u4efb\u52a1\u7c7b\u578b\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5b9a\u4e49\u548c\u5f00\u53d1\u81ea\u5b9a\u4e49\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u5e76\u8fdb\u884c\u7075\u6d3b\u6d4b\u8bd5\u3001\u7070\u5ea6\u4e0a\u7ebf\u548c\u7ba1\u7406\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86 Hook\uff0c\u53ef\u4ee5\u5728\u7528\u6237\u4ee3\u7801\u8fd0\u884c\u524d\u540e\u6267\u884c\u3002\u5305\u62ec\u6267\u884c\u524d\u7684 Prehook \u548c\u6267\u884c\u540e\u7684 Posthook\u3002\u5e38\u89c1\u573a\u666f\u5305\u62ec\u7528\u4e8e\u4ee3\u7801\u6e32\u67d3\u3001\u524d\u7f6e\u68c0\u67e5\u7684 Prehook\uff0c\u4ee5\u53ca\u7528\u4e8e\u6267\u884c\u540e\u6570\u636e\u8d28\u91cf\u68c0\u6d4b\u7684 Posthook\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u4e0e\u6210\u679c<\/strong><\/p>\n\n\n\n\u5982\u679c\u628a\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6bd4\u4f5c\u5927\u697c\u7684\u9aa8\u67b6\uff0c\u90a3\u4e48\u57fa\u4e8e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u5c31\u662f\u88c5\u4fee\u5b8c\u5584\u3001\u9002\u4e8e\u4eba\u5de5\u4f5c\u751f\u6d3b\u7684\u5927\u53a6\u3002\u901a\u8fc7\u5e94\u7528\uff0c\u80fd\u66f4\u597d\u5730\u4f53\u73b0\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4ef7\u503c\u3002\u5728\u5feb\u624b\uff0c\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4e00\u4e2a\u5178\u578b\u5e94\u7528\u3002<\/p>\n\n\n\n\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u5feb\u624b\u7684\u4e00\u7ad9\u5f0f\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u4f7f\u7528 kwaiflow \u4f5c\u4e3a\u7edf\u4e00\u7684\u7f16\u6392\u4e0e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u6784\u5efa\u4e86\u5404\u7c7b\u7684\u6570\u636e\u5f00\u53d1\u8fd0\u7ef4\u7b49\u670d\u52a1\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u67e5\u8be2\u3001\u540c\u6b65\u3001\u5f00\u53d1\u3001\u670d\u52a1\u5316\u3001\u8fd0\u7ef4\u3001\u7ba1\u7406\u7b49\u80fd\u529b\u3002<\/p>\n\n\n\n\u8be5\u5e73\u53f0\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u4e00\u7ad9\u5f0f<\/strong>\uff1a\u5e73\u53f0\u6db5\u76d6\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u7684\u5404\u73af\u8282\uff0c\u5305\u62ec\u6570\u636e\u63a5\u5165\u3001\u6570\u636e\u52a0\u5de5\u3001\u6570\u636e\u5206\u53d1\u548c\u6570\u636e\u670d\u52a1\u5316\u3002\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u6e90\u7ba1\u7406\uff0c\u521b\u5efa\u6570\u636e\u63a5\u5165\u4efb\u52a1\u5c06\u5404\u79cd\u6570\u636e\u6e90\u5bfc\u5165\u5230\u5927\u6570\u636e\u7cfb\u7edf\u4e2d\uff1b\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u667a\u80fd IDE \u7f16\u5199\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03 ETL \u4efb\u52a1\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5de5\u5904\u7406\uff0c\u4ea7\u751f\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b\u7528\u6237\u8fd8\u53ef\u4ee5\u521b\u5efa\u6570\u636e\u5206\u53d1\u4efb\u52a1\uff0c\u5c06\u9ad8\u4ef7\u503c\u6570\u636e\u5206\u53d1\u5230\u5176\u5b83\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u4f8b\u5982\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u975e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u7f13\u5b58\u7cfb\u7edf\u3001OLAP \u5f15\u64ce\u7b49\u3002\u7528\u6237\u4e5f\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u914d\u7f6e\u7684\u65b9\u5f0f\u521b\u5efa\u670d\u52a1\u5316 API\uff0c\u4e3a\u7ebf\u4e0a\u7cfb\u7edf\u63d0\u4f9b\u670d\u52a1\u3002<\/li>\u901a\u7528<\/strong>\uff1a\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u80fd\u7edf\u4e00\u8fd0\u7ef4 Kwaiflow \u6240\u6709\u4efb\u52a1\uff0c\u5305\u62ec\u4efb\u52a1\u8fd0\u7ef4\u3001\u5b9e\u4f8b\u8fd0\u7ef4\u3001\u94fe\u8def\u8fd0\u7ef4\u7b49\u65b9\u5f0f\uff0c\u9002\u5408\u6570\u636e\u5f00\u53d1\u3001\u5b9a\u65f6\u8c03\u5ea6\u3001\u89e6\u53d1\u5f0f\u8c03\u5ea6\u7b49\u573a\u666f\u3002<\/li>\u667a\u80fd<\/strong>\uff1a\u5728\u5f00\u53d1\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd IDE\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4ee3\u7801\u95ee\u9898\uff1b\u5728\u8fd0\u7ef4\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd\u76d1\u63a7\u3001\u667a\u80fd\u8bca\u65ad\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4efb\u52a1\u548c\u94fe\u8def\u95ee\u9898\uff0c\u5e76\u8f85\u52a9\u5b9a\u4f4d\u95ee\u9898\u539f\u56e0\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8981\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u4e0d\u4ec5\u8981\u6709\u5f3a\u5927\u7684\u81ea\u8eab\u80fd\u529b\uff0c\u66f4\u8981\u6709\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\u3002\u5728\u5feb\u624b\uff0cKwaiflow \u548c\u5927\u6570\u636e\u7684\u5176\u5b83\u7cfb\u7edf\u6df1\u5ea6\u96c6\u6210\uff0c\u63a5\u5165\u4e86 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u4fbf\u6377\u5730\u4f7f\u7528\u5176\u5b83\u5927\u6570\u636e\u7cfb\u7edf\u7684\u80fd\u529b\u3002\u53ef\u4ee5\u8bf4\uff0c\u81ea\u8eab\u80fd\u529b\u548c\u751f\u6001\u4f53\u7cfb\u5bf9 Kwaiflow \u6765\u8bf4\u540c\u7b49\u91cd\u8981\u3002<\/p>\n\n\n\n\u9996\u5148\uff0c\u5c31\u81ea\u8eab\u800c\u8a00\uff0cKwaiflow \u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u6267\u884c\u80fd\u529b\u3002\u5305\u62ec\u591a\u573a\u666f\u8c03\u5ea6\u80fd\u529b\u3001\u591a\u6837\u5316\u7684\u6267\u884c\u80fd\u529b\u3001\u6613\u7528\u7684\u8fd0\u7ef4\u80fd\u529b\u548c\u9ad8\u53ef\u7528\u7684\u7279\u6027\u3002<\/p>\n\n\n\n\u5176\u6b21\uff0cKwaiflow \u5177\u6709\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\u3002\u63a5\u5165 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u65b9\u4fbf\u5730\u4f7f\u7528\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\u3002<\/p>\n\n\n\n\u6700\u540e\uff0cKwaiflow \u65e0\u7f1d\u96c6\u6210\u4e86\u5176\u5b83\u4e2d\u53f0\u80fd\u529b\u3002\u5305\u62ec\u6570\u636e\u8d28\u91cf\u3001\u6570\u636e\u5b89\u5168\u4f53\u7cfb\u3001\u5b8c\u6574\u51c6\u786e\u7684\u4efb\u52a1\u5b9e\u4f8b\u8840\u7f18\u3001\u94fe\u8def\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5c06\u4ece\u6027\u80fd\u3001\u529f\u80fd\u548c\u4f7f\u7528\u60c5\u51b5\u4e09\u4e2a\u65b9\u9762\u4ecb\u7ecd Kwaiflow \u7684\u6210\u679c\u3002<\/p>\n\n\n\n\u5728\u6027\u80fd\u65b9\u9762<\/strong>\uff0c\u548c Airflow \u76f8\u6bd4\uff0c\u6709\u6781\u5927\u7684\u63d0\u5347\uff1a<\/p>\n\n\n\n\u5728\u89c4\u6a21\u4e0a\uff0cKwaiflow \u521d\u7248\u8bbe\u8ba1\u5bb9\u91cf\u4e3a\u767e\u4e07\u7ea7\u522b\u4efb\u52a1\uff0c\u5f53\u524d\u5df2\u6709\u6570\u5341\u4e07\u7684\u4efb\u52a1\u6570\uff0c\u548c Airflow \u5355\u96c6\u7fa4\u4e0d\u8d85\u8fc7 1 \u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\u3002<\/li>\u5728\u6027\u80fd\u4e0a\uff0cKwaiflow \u8c03\u5ea6\u9ad8\u5cf0\u671f\u7684\u8c03\u5ea6\u5ef6\u8fdf P99 \u5c0f\u4e8e 5 \u79d2\uff0c\u548c Airflow 5 \u5206\u949f\u76f8\u6bd4\uff0c\u6709\u6570\u91cf\u7ea7\u7684\u63d0\u5347\uff1bKwaiflow \u8d77\u8c03\u901f\u7387\u5341\u6570\u4e07\u6bcf\u5206\u949f\uff0c\u548c Airflow \u6570\u5343\u6bcf\u5206\u949f\u5bf9\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\uff1bKwaiflow \u8fd0\u884c\u7684\u5e76\u53d1\u5b9e\u4f8b\u6570\u5341\u6570\u4e07\u4e07\uff0c\u548c Airflow \u5c0f\u4e8e1\u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u5341\u6570\u500d\u3002<\/li>\u5728\u7a33\u5b9a\u6027\u4e0a\uff0cKwaiflow \u53ef\u7528\u6027\u4e3a 99.99%\uff0c Airflow \u5219\u4e3a 99.5%\uff1bKwaiflow \u5e74\u6545\u969c\u6570\u7ea6 1 \u4e2a\uff0c\u800c Airflow \u5e74\u5747\u4e3a 8 \u4e2a\u3002<\/li><\/ul>\n\n\n\n\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u4efb\u52a1\u8c03\u5ea6\u5728\u5404\u7c7b\u573a\u666f\u4e2d\u53d1\u6325\u7740\u91cd\u8981\u4f5c\u7528\u3002\u5927\u6570\u636e\u7684\u539f\u59cb\u6570\u636e\u4e00\u822c\u662f\u4e1a\u52a1\u5e93\u3001\u670d\u52a1\u7aef\u65e5\u5fd7\u548c\u5ba2\u6237\u7aef\u65e5\u5fd7\uff0c\u8fd9\u4e9b\u539f\u59cb\u6570\u636e\u7684\u4ef7\u503c\u5bc6\u5ea6\u662f\u5f88\u4f4e\u7684\u3002\u5982\u679c\u8981\u63d0\u70bc\u51fa\u9ad8\u4ef7\u503c\u7684\u4fe1\u606f\uff0c\u5f80\u5f80\u9700\u8981\uff1a<\/p>\n\n\n\n
1. \u7ecf\u8fc7\u6570\u636e\u63a5\u5165\u8fdb\u5165\u5927\u6570\u636e\u7cfb\u7edf\uff1b<\/p>\n\n\n\n
2. \u7136\u540e\u7ecf\u8fc7\u7cbe\u5fc3\u5efa\u6a21\uff0c\u5c42\u5c42\u52a0\u5de5\uff0c\u751f\u4ea7\u51fa\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b<\/p>\n\n\n\n
3. \u6700\u540e\u7ecf\u8fc7\u6570\u636e\u5206\u53d1\u5230\u5408\u9002\u7684\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u7136\u540e\u901a\u8fc7\u670d\u52a1\u5316\u63d0\u4f9b\u7ed9\u6570\u636e\u5e94\u7528\uff0c\u4f8b\u5982\u6570\u636e\u5206\u6790\u3001\u5728\u7ebf\u670d\u52a1\u3001\u6a21\u578b\u8bad\u7ec3\u7b49\u3002<\/p>\n\n\n\n
\u5728\u8fd9\u6574\u4e2a\u8fc7\u7a0b\u4e2d\uff0c\u4f1a\u6709\u5f88\u591a\u4efb\u52a1\u8d1f\u8d23\u6570\u636e\u7684\u63a5\u5165\u3001\u52a0\u5de5\u548c\u5206\u53d1\u3002\u8fd9\u4e9b\u4efb\u52a1\u4ea4\u7ec7\u4f9d\u8d56\uff0c\u5f62\u6210\u4e86\u4e00\u4e2a\u5927\u7684\u6709\u5411\u56fe\u3002\u6570\u636e\u751f\u4ea7\u7684\u6838\u5fc3\uff0c\u5c31\u662f\u9700\u8981\u5bf9\u8fd9\u4e2a\u56fe\u8fdb\u884c\u7edf\u4e00\u8c03\u5ea6\u3002\u4e3a\u6b64\uff0c\u9700\u8981\u6709\u4e00\u4e2a\u7edf\u4e00\u7684\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u3002\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u662f\u5927\u6570\u636e\u751f\u4ea7\u7684\u6838\u5fc3\uff0c\u5b83\u5e76\u4e0d\u662f\u5b64\u7acb\u5b58\u5728\u7684\uff0c\u4f1a\u4f9d\u8d56\u4e8e\u5e95\u5c42\u7684\u8d44\u6e90\u5982\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\uff0c\u5e76\u4e3a\u4e0a\u5c42\u5e94\u7528\u5982\u6570\u636e\u5f00\u53d1\u3001ABTest \u5e73\u53f0\u3001\u6307\u6807\u751f\u4ea7\u3001\u673a\u5668\u5b66\u4e60\u7b49\u63d0\u4f9b\u670d\u52a1\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u5feb\u624b\uff0c\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6311\u6218\u4e3b\u8981\u5305\u62ec\u4e09\u90e8\u5206\uff1a<\/p>\n\n\n\n\u4efb\u52a1\u91cf\u5927<\/strong>\uff1a\u6709\u6570\u5341\u4e07\u4e2a\u4efb\u52a1\uff0c\u4e0a\u767e\u4e07\u6761\u4f9d\u8d56\u5173\u7cfb\uff1b\u8fd9\u7ed9\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u6027\u80fd\u5e26\u6765\u4e86\u6311\u6218\uff0c\u5927\u4efb\u52a1\u91cf\u4f1a\u5bfc\u81f4\u6027\u80fd\u6076\u5316\u3002<\/li>\u4efb\u52a1\u4ea4\u7ec7\u4f9d\u8d56<\/strong>\uff1a\u4efb\u52a1\u4e4b\u95f4\u76f8\u4e92\u4f9d\u8d56\uff0c\u7ec4\u6210\u4e00\u4e2a\u5927\u7684\u6709\u5411\u56fe\u3002\u4e00\u4e2a\u4efb\u52a1\u53ef\u80fd\u6709\u4e0a\u4e07\u4e2a\u4e0a\u6e38\uff0c\u4e5f\u53ef\u80fd\u6709\u6570\u4e07\u4e2a\u4e0b\u6e38\u4efb\u52a1\u3002\u8fd9\u7ed9\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u7a33\u5b9a\u6027\u5e26\u6765\u4e86\u6311\u6218\uff0c\u4e00\u4e2a\u4efb\u52a1\u7684\u8c03\u5ea6\u51fa\u9519\u6709\u53ef\u80fd\u5bfc\u81f4\u5927\u9762\u79ef\u6545\u969c\u3002<\/li>\u573a\u666f\u591a\u6837<\/strong>\uff1a\u8c03\u5ea6\u573a\u666f\u591a\uff0c\u6267\u884c\u65b9\u5f0f\u591a\uff0c\u4efb\u52a1\u7c7b\u578b\u591a\uff0c\u7ed9\u7cfb\u7edf\u7684\u529f\u80fd\u5e26\u6765\u4e86\u6311\u6218\uff0c\u8981\u6c42\u529f\u80fd\u4e30\u5bcc\u4e14\u53ef\u6269\u5c55\u3002<\/li><\/ul>\n\n\n\n\u4e0e\u8fd9\u4e9b\u6311\u6218\u5bf9\u5e94\uff0c\u76ee\u6807\u4e5f\u5305\u62ec\u4e09\u90e8\u5206\uff1a<\/p>\n\n\n\n\u9ad8\u6027\u80fd<\/strong>\uff1a\u652f\u6301\u767e\u4e07\u7ea7\u4efb\u52a1\u7684\u8c03\u5ea6\uff0c\u8c03\u5ea6\u5ef6\u8fdf\u63a7\u5236\u5728\u79d2\u7ea7\u6216\u8005\u6beb\u79d2\u7ea7\uff1b<\/li>\u9ad8\u53ef\u7528<\/strong>\uff1a\u7cfb\u7edf\u8981\u51c6\u65f6\u8c03\u5ea6\uff0c\u4e0d\u91cd\u4e0d\u9519\uff0c\u4e14\u5177\u6709\u9ad8\u7a33\u5b9a\u6027\uff0c\u907f\u514d\u9020\u6210\u94fe\u8def\u6570\u636e\u8d28\u91cf\u6216\u8005\u6570\u636e\u65f6\u6548\u6545\u969c\uff1b<\/li>\u529f\u80fd\u5f3a<\/strong>\uff1a\u5177\u6709\u4e30\u5bcc\u7684\u8c03\u5ea6\u6267\u884c\u65b9\u5f0f\uff0c\u5177\u6709\u5f3a\u5927\u7684\u5f00\u653e\u80fd\u529b\uff0c\u6253\u9020\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\uff0c\u4e3a\u4e0a\u5c42\u5e94\u7528\u63d0\u4f9b\u4fbf\u6377\u7684\u670d\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u7eb5\u89c2\u5feb\u624b\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u53d1\u5c55\u5386\u7a0b\uff0c\u53ef\u4ee5\u5206\u4e3a\u56db\u4e2a\u9636\u6bb5\u3002<\/p>\n\n\n\n1. \u5728 2016 \u5e74\uff0c\u6574\u4f53\u89c4\u6a21\u8f83\u5c0f\uff0c\u91c7\u7528\u5f53\u65f6\u4e3b\u6d41 Airflow \u4f5c\u4e3a\u4efb\u52a1\u8c03\u5ea6\u5f15\u64ce\u3002\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\uff0c\u5feb\u624b\u7684\u4e1a\u52a1\u84ec\u52c3\u53d1\u5c55\uff0c\u4efb\u52a1\u89c4\u6a21\u4e5f\u6025\u901f\u589e\u957f\uff0cAirflow \u6027\u80fd\u548c\u7a33\u5b9a\u6027\u4e0d\u518d\u80fd\u6ee1\u8db3\u8981\u6c42\u3002<\/p>\n\n\n\n2. \u5728 2019 \u5e74\uff0c\u4e3a\u4e86\u89e3\u51b3 Airflow \u7684\u95ee\u9898\uff0c\u6211\u4eec\u81ea\u7814\u4e86\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf Kwaiflow\uff0c\u65e8\u5728\u652f\u6301\u767e\u4e07\u7ea7\u522b\u7684\u4efb\u52a1\u89c4\u6a21\u3002<\/p>\n\n\n\n3. \u5728 2020 \u5e74\uff0c\u6211\u4eec\u5347\u7ea7 Kwaiflow \u5230 2.0 \u7248\u672c\uff0c\u652f\u6301\u4f8b\u884c\u3001\u89e6\u53d1\u5f0f\u3001\u8865\u6570\u636e\u3001\u963b\u65ad\u591a\u4e2a\u573a\u666f\uff0c\u878d\u5408\u8d28\u91cf\u3001\u5b89\u5168\u7b49\u6570\u636e\u5168\u751f\u6001\u3002<\/p>\n\n\n\n4. \u5728 2021 \u4e0b\u534a\u5e74\uff0c\u6211\u4eec\u5f00\u59cb\u6253\u9020\u65b0\u4e00\u4ee3\u8c03\u5ea6\u7cfb\u7edf Kwaiflow 3.0\uff0c\u4ee5\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u4efb\u52a1\u89c4\u6a21\u3002<\/p>\n\n\n\n\u5728\u8fc7\u53bb\u7684\u4e94\u516d\u5e74\uff0c\u5feb\u624b\u7684\u4efb\u52a1\u6570\u6bcf\u5e74\u6210\u500d\u6570\u589e\u957f\uff0c\u4ece\u6570\u5343\u4e2a\u589e\u957f\u5230\u5f53\u524d\u7684\u6570\u5341\u4e07\u4e2a\uff0c\u63a5\u5165\u7684\u5e73\u53f0\u6570\u4ece 0 \u589e\u957f\u5230\u6570\u5341\u4e2a\uff0c\u7528\u6237\u5f53\u524d\u5df2\u8986\u76d6\u516c\u53f8\u51e0\u4e4e\u6240\u6709\u7684\u4e1a\u52a1\u65b9\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u521d\u671f\uff0c\u5feb\u624b\u4f7f\u7528 Airflow \u5f53\u4f5c\u4efb\u52a1\u8c03\u5ea6\u5f15\u64ce\uff0c\u4f46\u540e\u6765\u53c8\u653e\u5f03\u4e86\u3002\u6211\u4eec\u4e3a\u4ec0\u4e48\u4f1a\u505a\u51fa\u8fd9\u6837\u7684\u9009\u62e9\u5462\uff1f\u8fd9\u5c31\u9700\u8981\u5206\u6790 Airflow \u7684\u4f18\u70b9\u548c\u75db\u70b9\u3002Airflow \u662f\u4ee5\u7f16\u7a0b\u65b9\u5f0f\u521b\u5efa\u3001\u8c03\u5ea6\u548c\u76d1\u63a7\u5de5\u4f5c\u6d41\u7684\u5f00\u6e90\u7cfb\u7edf\u3002Airflow \u5177\u6709\u5f88\u591a\u4f18\u70b9\uff0c\u5305\u62ec\uff1a<\/p>\n\n\n\n\u80fd\u529b\u4e30\u5bcc<\/strong>\uff0c\u5177\u6709\u4e30\u5bcc\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u6613\u7528\u7684\u6d41\u7a0b\u63a7\u5236\uff1b<\/li>UI \u6613\u7528<\/strong>\uff0c\u8f83\u4e3a\u65b9\u4fbf\u5730\u8fdb\u884c\u53ef\u89c6\u5316\u8fd0\u7ef4\uff1b<\/li>\u7ec4\u4ef6\u5c11\u6613\u90e8\u7f72\uff0c\u4e0a\u624b\u96be\u5ea6\u4e0d\u5927<\/strong>\u3002<\/li><\/ul>\n\n\n\n\u8fd9\u4e9b\u4f18\u70b9\u662f\u6211\u4eec\u9009\u62e9 Airflow \u7684\u539f\u56e0\u3002<\/p>\n\n\n\n\u4f46\u968f\u7740\u4efb\u52a1\u89c4\u6a21\u589e\u5927\uff0cAirflow \u7684\u75db\u70b9\u4e5f\u5f88\u660e\u663e\uff1a<\/p>\n\n\n\n\u6027\u80fd\u8f83\u5dee<\/strong>\uff1a\u6211\u4eec\u53d1\u73b0\uff0c\u5f53 Airflow \u5355\u96c6\u7fa4 Dag \u6570\u8fd1 1 \u4e07\u65f6\uff0c\u5355\u4efb\u52a1\u8c03\u5ea6\u5ef6\u8fdf P99 \u9ad8\u8fbe 5min\uff0c\u94fe\u8def\u8c03\u5ea6\u5ef6\u8fdf\u9ad8\u8fbe\u6570\u5341\u5206\u949f\uff0c\u94fe\u8def\u65f6\u6548\u6027\u96be\u4ee5\u4fdd\u969c\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e1a\u52a1\u589e\u957f\uff0c\u6211\u4eec\u642d\u5efa\u4e86\u591a\u4e2a\u96c6\u7fa4\uff0c\u8fd0\u7ef4\u6210\u672c\u500d\u589e\u3002<\/li>\u7a33\u5b9a\u6027\u4e0d\u8db3<\/strong>\uff1a\u5f53\u65f6 Airflow Scheduler \u6ca1\u6709 HA\uff0c\u4efb\u52a1\u6267\u884c\u65f6\u73af\u5883\u548c\u8d44\u6e90\u4e0d\u9694\u79bb\uff0c\u5bb9\u6613 OOM\uff0c\u5bfc\u81f4\u8c03\u5ea6\u6545\u969c\u6bd4\u8f83\u591a\uff0c\u5e74\u5747\u6545\u969c\u6570\u7ea6 8 \u4e2a\u3002<\/li>\u96c6\u6210\u5ea6\u4f4e<\/strong>\uff1a\u4e8c\u6b21\u5f00\u53d1\u6210\u672c\u5927\uff0c\u548c\u5468\u8fb9\u7cfb\u7edf\u96c6\u6210\u5ea6\u4f4e\uff0c\u5f00\u653e\u80fd\u529b\u5dee\uff0c\u96be\u4ee5\u5feb\u901f\u6784\u5efa\u751f\u6001\u3002<\/li><\/ul>\n\n\n\n\u7531\u4e8e\u8fd9\u4e9b\u75db\u70b9\u7684\u5b58\u5728\uff0c\u6211\u4eec\u51b3\u5b9a\u81ea\u7814\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n02<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u6574\u4f53\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n\u5728 2019 \u5e74\u4e2d\u65ec\uff0c\u6211\u4eec\u5f00\u59cb\u81ea\u7814\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf Kwaiflow\uff0c\u5e76\u5728\u4e0b\u534a\u5e74\u4e0a\u7ebf 1.0 \u7248\u672c\u3002<\/p>\n\n\n\nKwaiflow \u662f\u5feb\u624b\u901a\u7528\u3001\u9ad8\u6027\u80fd\u3001\u6613\u6269\u5c55\u7684\u5206\u5e03\u5f0f\u5de5\u4f5c\u6d41\u8c03\u5ea6\u7cfb\u7edf\u3002\u5176\u8bbe\u8ba1\u76ee\u6807\u4ece\u4e24\u65b9\u9762\u8003\u8651\u3002<\/p>\n\n\n\n\u5728\u529f\u80fd\u578b\u76ee\u6807\u65b9\u9762<\/strong>\uff1a<\/p>\n\n\n\n\u573a\u666f\u4e30\u5bcc\uff1a\u652f\u6301\u591a\u573a\u666f\u8c03\u5ea6\uff0c\u591a\u79cd\u73af\u5883\u6267\u884c\uff0c\u652f\u6301\u591a\u6837\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b<\/li>\u8fd0\u7ef4\u4fbf\u6377\uff1a\u53ef\u4ee5\u8fdb\u884c\u53ef\u89c6\u5316\u3001\u667a\u80fd\u3001\u4fbf\u6377\u5730\u8fd0\u7ef4<\/li>\u4fbf\u4e8e\u5f00\u653e\uff1a\u5177\u6709\u5f3a\u5927\u7684\u5f00\u653e\u80fd\u529b\uff0c\u6613\u4e8e\u7cfb\u7edf\u96c6\u6210\uff0c\u6784\u5efa\u7edf\u4e00\u751f\u6001<\/li><\/ul>\n\n\n\n\u5728\u975e\u529f\u80fd\u578b\u76ee\u6807\u65b9\u9762<\/strong>\uff1a<\/p>\n\n\n\n\u9ad8\u5bb9\u91cf\uff1a\u652f\u6301\u767e\u4e07\u7ea7\u4efb\u52a1\u5bb9\u91cf<\/li>\u9ad8\u6027\u80fd\uff1a\u79d2\u7ea7\u6216\u8005\u4e9a\u79d2\u7ea7\u8c03\u5ea6\u5ef6\u8fdf<\/li>\u9ad8\u53ef\u7528\uff1a\u53ef\u7528\u6027 99.99%\uff0c\u7ebf\u4e0a\u95ee\u9898\u5c11\uff0c\u51fa\u73b0\u65f6\u80fd\u53ca\u65f6\u53d1\u73b0\u5feb\u901f\u5e76\u5904\u7406<\/li><\/ul>\n\n\n\n\u5728\u5b9a\u4f4d\u4e0a\uff0cKwaiflow \u57fa\u4e8e\u5927\u6570\u636e\u4f53\u7cfb\u548c\u5176\u5b83\u57fa\u7840\u8bbe\u65bd\uff0c\u63d0\u4f9b\u8c03\u5ea6\u3001\u6267\u884c\u7b49\u6838\u5fc3\u80fd\u529b\uff0c\u540c\u65f6\u5177\u6709\u8fd0\u7ef4\u3001\u76d1\u63a7\u62a5\u8b66\u3001\u667a\u80fd\u8bca\u65ad\u3001\u5f00\u653e\u670d\u52a1\u7b49\u91cd\u8981\u80fd\u529b\uff0c\u6784\u5efa\u8c03\u5ea6\u751f\u6001\uff1b\u9762\u5411\u6570\u636e\u5904\u7406\u3001\u6d41\u7a0b\u7f16\u6392\u3001\u7b97\u6cd5\u8c03\u5ea6\u548c\u5206\u5e03\u5f0f\u8ba1\u7b97\u7b49\u573a\u666f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u8c03\u5ea6\u6a21\u578b\u4e0a\uff0cKwaiflow \u91c7\u7528\u4e86\u4e24\u5c42\u5b9e\u4f53\u7684\u8c03\u5ea6\u6a21\u578b\uff1a<\/p>\n\n\n\nTask\uff1a\u6267\u884c\u6a21\u677f\uff0c\u7528\u4e8e\u6267\u884c\u67d0\u4e00\u7c7b\u578b\u7684\u4ee3\u7801\uff1bTask \u6709\u5f88\u591a\u7c7b\u578b\uff0c\u4f8b\u5982 HiveTask \u7528\u4e8e\u6267\u884c Hive SQL\uff0cBashTask \u7528\u4e8e\u6267\u884c Bash \u811a\u672c\uff0cHivePartitionSensorTask \u7528\u4e8e\u63a2\u6d4b hive \u8868\u5206\u533a\u662f\u5426\u5b58\u5728\u3002<\/li>DAG\uff1a\u4e00\u7cfb\u5217 Task \u7684\u96c6\u5408\uff0c\u5177\u6709\u8c03\u5ea6\u5b9a\u65f6\u7b49\u5c5e\u6027\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f9d\u8d56\u5173\u7cfb\u65b9\u9762\uff0cDAG \u4e4b\u95f4\u53ef\u4ee5\u76f8\u4e92\u4f9d\u8d56\uff0c\u65e2\u53ef\u4ee5\u540c\u5468\u671f\u4f9d\u8d56\uff0c\u4e5f\u53ef\u4ee5\u8de8\u5468\u671f\u4f9d\u8d56\uff0c\u8fd8\u53ef\u4ee5\u6709\u4f9d\u8d56\u504f\u79fb\u3002DAG \u5185\u7684 Task \u4e4b\u95f4\u4e5f\u53ef\u4ee5\u4f9d\u8d56\uff0c\u7531\u4e8e\u4ed6\u4eec\u8c03\u5ea6\u5c5e\u6027\u4e00\u81f4\uff0c\u6240\u4ee5\u90fd\u4e3a\u540c\u5468\u671f\u4f9d\u8d56\u3002<\/p>\n\n\n\n\u4e00\u822c\u6765\u8bb2\uff0c\u5e38\u89c1\u7684\u8c03\u5ea6\u6a21\u578b\u9664\u4e86\u53cc\u5c42\u5b9e\u4f53\u6a21\u578b\u5916\uff0c\u8fd8\u6709\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u3002\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u6ca1\u6709 DAG \u7684\u6982\u5ff5\uff0c\u53ea\u6709 Task\uff0cTask \u5177\u6709\u8c03\u5ea6\u5c5e\u6027\uff0cTask \u4e4b\u95f4\u76f8\u4e92\u4f9d\u8d56\u3002\u4e24\u79cd\u6a21\u578b\u5404\u6709\u4f18\u52a3\u3002\u53cc\u5c42\u6a21\u578b\u66f4\u9002\u5408\u5feb\u624b\u7684\u60c5\u51b5\uff0c\u5177\u6709\u66f4\u5f3a\u7684\u8868\u8fbe\u529b\uff0c\u4f7f\u7528\u573a\u666f\u66f4\u5e7f\u6cdb\uff0c\u5f53\u7136\u4e5f\u5177\u6709\u4e00\u5b9a\u7684\u590d\u6742\u6027\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u7cfb\u7edf\u67b6\u6784\u4e0a\uff1a<\/p>\n\n\n\nAPI Server \u63d0\u4f9b\u5404\u5f0f\u5404\u6837\u7684\u63a5\u53e3\uff0c\u8d1f\u8d23\u7edf\u4e00\u63a5\u5165\u3002<\/li>Scheduler \u8d1f\u8d23\u8c03\u5ea6\uff0c\u4e0d\u540c\u7684\u8c03\u5ea6\u573a\u666f\u4f1a\u6709\u4e0d\u540c\u7c7b\u578b\u7684\u8c03\u5ea6\u5668\uff0c\u5305\u62ec\u4f8b\u884c\u3001\u89e6\u53d1\u5f0f\u3001\u8865\u6570\u636e\u3001\u963b\u65ad\u8c03\u5ea6\u5668\u3002\u5728\u4f8b\u884c\u8c03\u5ea6\u5668\u4e2d\uff0c\u4efb\u52a1\u5b9e\u4f8b\u751f\u6210\u540e\uff0c\u4f1a\u4f9d\u6b21\u7ecf\u8fc7\u5b9a\u65f6\u68c0\u6d4b\u3001\u4f9d\u8d56\u68c0\u6d4b\u548c\u8d44\u6e90\u68c0\u6d4b\u3002\u5982\u679c\u90fd\u901a\u8fc7\uff0c\u4f1a\u63d0\u4ea4\u5230 Queue Service \u4e2d\u3002<\/li>Queue Service \u4e3a\u5e26 ack \u673a\u5236\u7684\u6d88\u606f\u961f\u5217\u670d\u52a1\uff0c\u4f1a\u6709\u4e0d\u540c\u7684 channel\uff0c\u4ee5\u4fbf\u9694\u79bb\u4efb\u52a1\u3002<\/li>Worker \u8d1f\u8d23\u4efb\u52a1\u7684\u6267\u884c\uff0c\u4ece\u5c5e\u4e00\u4e2a worker \u5206\u7ec4\u3002\u4e0d\u540c\u5206\u7ec4\u7684 Worker \u6d88\u8d39 Queue Service \u4e2d\u4e0d\u540c Channel \u7684\u4efb\u52a1\uff0c\u6839\u636e\u4e0d\u540c\u7684\u4efb\u52a1\u7c7b\u578b\u8fdb\u884c\u6267\u884c\u3002\u6267\u884c\u5206\u4e3a\u672c\u5730\u6267\u884c\u548c\u5bb9\u5668\u5316\u6267\u884c\u4e24\u79cd\u65b9\u5f0f\uff0c\u672c\u5730\u6267\u884c\u662f\u6307\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u5185\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\uff1b\u5177\u6709\u542f\u52a8\u5feb\u7684\u7279\u70b9\uff1b\u5bb9\u5668\u5316\u6267\u884c\u662f\u6307\u5728 k8s \u8fdc\u7a0b\u6267\u884c\u7528\u6237\u4ee3\u7801\uff0c\u5177\u6709\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\u7684\u7279\u70b9\u3002<\/li><\/ul>\n\n\n\n\u9664\u6b64\u4e4b\u5916\uff0c\u8fd8\u6709\u5176\u5b83\u5173\u952e\u6a21\u5757\uff0c\u5305\u62ec\u65e5\u5fd7\u670d\u52a1\u3001\u62a5\u8b66\u670d\u52a1\u3001\u4e8b\u4ef6\u670d\u52a1\u3001\u5b9e\u4f8b\u8840\u7f18\u670d\u52a1\u7b49\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5173\u952e\u6280\u672f<\/strong><\/p>\n\n\n\n1. \u5173\u952e\u6280\u672f\uff1a\u4f4e\u8c03\u5ea6\u5ef6\u8fdf<\/h1>\n\n\n\n\u8c03\u5ea6\u5ef6\u8fdf\u662f\u6307\u7406\u8bba\u8d77\u8c03\u65f6\u523b\u5230\u5b9e\u9645\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\u7684\u65f6\u95f4\u5dee\u3002\u8c03\u5ea6\u5ef6\u8fdf\u662f\u8861\u91cf\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6027\u80fd\u7684\u91cd\u8981\u6307\u6807\u4e4b\u4e00\uff0c\u8be5\u6307\u6807\u8d8a\u5c0f\u8d8a\u597d\u3002<\/p>\n\n\n\n\u4efb\u52a1\u5b9e\u4f8b\u4ece\u751f\u6210\uff0c\u5230\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\uff0c\u9700\u8981\u7ecf\u8fc7\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\u3001\u7b49\u5f85\u4f9d\u8d56\u5c31\u7eea\u3001\u7b49\u5f85\u8d44\u6e90\u5c31\u7eea\u548c\u51c6\u5907\u8fd0\u884c\u73af\u5883\u56db\u4e2a\u9636\u6bb5\u3002\u8981\u6709\u8f83\u5c0f\u7684\u8c03\u5ea6\u5ef6\u8fdf\uff0c\u5c31\u9700\u8981\u51cf\u5c11\u5404\u4e2a\u9636\u6bb5\u7684\u7cfb\u7edf\u65f6\u95f4\u635f\u8017\u3002\u8c03\u5ea6\u5ef6\u8fdf\u7684\u4e3b\u8981\u56e0\u7d20\u4e0e\u5904\u7406\u65b9\u6848\u6709\uff1a<\/p>\n\n\n\n\u5b9a\u65f6\u5668<\/strong>\u3002\u5b9a\u65f6\u5668\u5728\u63a2\u6d4b\u65f6\u95f4\u5c31\u7eea\u73af\u8282\u8d77\u4f5c\u7528\uff0c\u4e00\u4e2a\u7cbe\u51c6\u7684\u3001\u652f\u6301\u767e\u4e07\u7ea7\u522b\u9ad8\u541e\u5410\u7684\u5b9a\u65f6\u5668\uff0c\u5bf9\u4f4e\u8c03\u5ea6\u5ef6\u8fdf\u81f3\u5173\u91cd\u8981\u3002\u4f18\u79c0\u7684\u5b9a\u65f6\u5668\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u6570\u636e\u5e93\u8bbf\u95ee<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d1\u751f\u53d8\u66f4\u540e\uff0c\u9700\u8981\u5bf9\u72b6\u6001\u8fdb\u884c\u6301\u4e45\u5316\u3002\u901a\u8fc7\u7d22\u5f15\u3001\u8bfb\u5199\u5206\u79bb\u3001\u5206\u5e93\u5206\u8868\u7b49\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5c06\u5355\u6b21\u6570\u636e\u5e93\u8bbf\u95ee\u8017\u65f6\u63a7\u5236\u5728 1 ~ 3ms\uff0c\u603b\u4f53\u8017\u65f6\u63a7\u5236\u5728 10ms \u5de6\u53f3 \u3002<\/li>\u72b6\u6001\u8f6c\u53d8<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u81ea\u751f\u6210\u5230\u8fd0\u884c\u7ed3\u675f\uff0c\u4f1a\u7ecf\u5386\u591a\u6b21\u72b6\u6001\u8f6c\u53d8\u3002\u72b6\u6001\u8f6c\u53d8\u9ad8\u6548\u4e0e\u5426\u662f\u8c03\u5ea6\u5ef6\u8fdf\u7684\u91cd\u8981\u56e0\u7d20\u3002\u4e00\u822c\u6765\u8bf4\u6709\u4e24\u79cd\u529e\u6cd5\uff1a\u8f6e\u8be2\u4e0e\u4e8b\u4ef6\u89e6\u53d1\u3002\u6211\u4eec\u91c7\u7528\u7684\u662f\u4e8b\u4ef6\u89e6\u53d1\u65b9\u5f0f\uff0c\u7b2c\u4e00\u65f6\u95f4\u611f\u77e5\u72b6\u6001\u8f6c\u53d8\u3002\u901a\u8fc7\u4e8b\u4ef6\u89e6\u53d1\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u8fd0\u884c\u73af\u5883\u51c6\u5907<\/strong>\u3002\u8fd9\u4e2a\u73af\u8282\u4e3b\u8981\u5de5\u4f5c\u5305\u62ec\u52a0\u8f7d\u955c\u50cf\u3001\u521d\u59cb\u5316\u8fd0\u884c\u73af\u5883\u7b49\u3002\u6211\u4eec\u4e3b\u8981\u91c7\u7528\u4e86\u9884\u52a0\u8f7d\u548c\u955c\u50cf\u9884\u70ed\u6280\u672f\u3002\u4e0d\u540c\u7684\u8fd0\u884c\u73af\u5883\uff0c\u65f6\u95f4\u635f\u8017\u4e0d\u4e00\u6837\uff0c\u4f1a\u5728\u4e9a\u79d2\u5230\u5206\u949f\u4e0d\u7b49\u3002<\/li><\/ul>\n\n\n\n\u8fd9\u56db\u4e2a\u56e0\u7d20\u4e2d\uff0c\u540e\u4e24\u8005\u76f8\u5bf9\u8f83\u590d\u6742\uff0c\u63a5\u4e0b\u6765\u7740\u91cd\u4ecb\u7ecd\u72b6\u6001\u8f6c\u53d8\u548c\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e24\u90e8\u5206\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u9996\u5148\u770b\u72b6\u6001\u8f6c\u53d8\u8fd9\u4e2a\u56e0\u7d20\u3002\u4efb\u52a1\u4ece\u53d1\u5e03\uff0c\u5230\u8c03\u5ea6\u6267\u884c\u5b8c\u6210\uff0c\u4f1a\u7ecf\u5386\u6570\u6b21\u6216\u8005\u5341\u6570\u6b21\u72b6\u6001\u53d8\u5316\u3002\u5982\u4f55\u8fdb\u884c\u5feb\u901f\u9ad8\u6548\u5730\u72b6\u6001\u8f6c\u53d8\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u95ee\u9898\u3002Kwaiflow \u7684\u89e3\u51b3\u529e\u6cd5\u662f\u91c7\u7528 Akka actor\u3002\u5145\u5206\u5229\u7528\u4e86 akka actor \u9ad8\u6027\u80fd\u7279\u70b9\u3002<\/p>\n\n\n\n\u5177\u4f53\u6765\u8bb2\uff1a<\/p>\n\n\n\n1. Kwaiflow \u7684\u4efb\u52a1\u4ece API Server \u53d1\u5e03\u540e\uff0c\u7ecf\u8fc7 Entry Actor \u52a0\u8f7d\u5230 DagLoader Actors \u4e2d\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\uff1b<\/p>\n\n\n\n2. \u5728\u65f6\u95f4\u5c31\u7eea\u540e\uff0c\u7531 Instance Generator Actors \u751f\u6210\u4efb\u52a1\u5b9e\u4f8b\uff0c\u7136\u540e\u8fdb\u5165 Dependency Detector Actor \u63a2\u6d4b\u4e0a\u6e38\u4f9d\u8d56\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n3. \u5728\u4f9d\u8d56\u5c31\u7eea\u540e\uff0c\u8fdb\u5165 Resource Detector Actor \u63a2\u6d4b\u8d44\u6e90\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n4. \u5728\u8d44\u6e90\u5c31\u7eea\u540e\uff0c\u4efb\u52a1\u5b9e\u4f8b\u901a\u8fc7 Queue Service \u4e0b\u53d1\u5230 worker \u4e2d\u3002<\/p>\n\n\n\n5. \u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u88ab\u63a5\u6536\u540e\uff0c\u5c06\u4f1a\u7531 Processor Actor \u6267\u884c\uff0c\u6267\u884c\u524d\u540e\u4f1a\u4f9d\u6b21\u7ecf\u5386\u4ee3\u7801\u6e32\u67d3\u3001Prehook\u3001\u4ee3\u7801\u6267\u884c\u3001Posthook \u56db\u4e2a\u6b65\u9aa4\u3002<\/p>\n\n\n\n6. \u5982\u679c\u6267\u884c\u6210\u529f\uff0c\u5219\u6d41\u7a0b\u7ec8\u6b62\uff1b\u5982\u679c\u6267\u884c\u5931\u8d25\uff0cPosthook \u4f1a\u5c06\u4fe1\u606f\u901a\u8fc7 Processor Actor\u3001ResultHandlerActor \u4f20\u9012\u7ed9 scheduler \u7684 RetryerActor \u8fdb\u884c\u91cd\u8bd5\u64cd\u4f5c\u3002<\/p>\n\n\n\n\u6574\u4e2a\u6d41\u7a0b\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u5168\u6d41\u7a0b\u4e8b\u4ef6\u89e6\u53d1<\/strong>\uff1a\u65e0\u8f6e\u8be2\uff0c\u4efb\u52a1\u53d1\u5e03\u3001\u8c03\u5ea6\u3001\u6267\u884c\u3001\u91cd\u8bd5\uff0c\u5747\u4e3a\u4e8b\u4ef6\u89e6\u53d1\u3002<\/li>\u9ad8\u541e\u5410<\/strong>\uff1a\u91c7\u7528\u5f02\u6b65\u5e76\u53d1\u7684\u65b9\u5f0f\uff0c\u80fd\u5feb\u901f\u8c03\u8d77\u5927\u91cf\u4efb\u52a1\u5b9e\u4f8b<\/li>\u7b80\u5355\u6613\u7528<\/strong>\uff1a\u65e0\u9700\u4f7f\u7528\u5e95\u5c42 API \u8fdb\u884c\u9501\u548c\u7ebf\u7a0b\u7ba1\u7406\uff0c\u4e13\u6ce8\u4e1a\u52a1\u5b9e\u73b0\u3002<\/li><\/ul>\n\n\n\n\u91c7\u7528 actor\uff0c\u72b6\u6001\u8f6c\u53d8\u5bfc\u81f4\u7684\u65f6\u95f4\u635f\u8017\u63a7\u5236\u5728\u6beb\u79d2\u7ea7\u522b\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u63a5\u4e0b\u6765\u6211\u4eec\u770b\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e2a\u56e0\u7d20\u3002\u8fd9\u548c\u6267\u884c\u573a\u666f\u6709\u5173\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e0d\u540c\u7684\u6267\u884c\u573a\u666f\uff0cKwaiflow \u63d0\u4f9b\u4e86\u4e24\u79cd\u6267\u884c\u65b9\u5f0f\uff1a\u5bb9\u5668\u5316\u6267\u884c\u548c\u672c\u5730\u6267\u884c\u3002<\/p>\n\n\n\n\u5bb9\u5668\u5316\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u6bcf\u6b21\u6267\u884c\u524d\uff0c\u5728 k8s \u6309\u9700\u7533\u8bf7\u5bb9\u5668\u8d44\u6e90\uff0c\u5728\u5bb9\u5668\u4e2d\u6267\u884c\u4efb\u52a1\u5b9e\u4f8b\uff0c\u6267\u884c\u5b8c\u540e\uff0c\u53ca\u65f6\u91ca\u653e\u5bb9\u5668\u8d44\u6e90\u3002\u4f18\u70b9\u662f\u5b9e\u73b0\u4e86\u6267\u884c\u65f6\u7684\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\uff1b\u7f3a\u70b9\u662f\u6bcf\u6b21\u90fd\u9700\u8981\u7533\u8bf7\u548c\u521d\u59cb\u5316\u5bb9\u5668\u8d44\u6e90\uff0c\u542f\u52a8\u8017\u65f6\u957f\u3002\u5bb9\u5668\u5316\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Bash \u4efb\u52a1\u3002\u4e3a\u4e86\u51cf\u5c11\u5bb9\u5668\u5316\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\uff0c\u6211\u4eec\u5c06\u955c\u50cf\u5206\u4e3a\u81ea\u5b9a\u4e49\u955c\u50cf\u548c\u901a\u7528\u955c\u50cf\uff0c\u5bf9\u901a\u7528\u955c\u50cf\u8fdb\u884c\u9884\u70ed\uff0c\u63d0\u524d\u5206\u53d1\u5230\u673a\u5668\u4e2d\uff0c\u51cf\u5c11\u955c\u50cf\u4e0b\u8f7d\u8017\u65f6\u3002\u901a\u8fc7\u955c\u50cf\u9884\u70ed\uff0c\u53ef\u4ee5\u5c06\u542f\u52a8\u8017\u65f6\u4ece\u5206\u949f\u7ea7\u964d\u4f4e\u5230\u79d2\u7ea7\u3002<\/li>\u672c\u5730\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u673a\u4e2d\uff0c\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\u3002\u540c\u4e00\u4e2a worker \u673a\u4e2d\u7684\u6240\u6709\u4efb\u52a1\u5b9e\u4f8b\u5171\u4eab\u8ba1\u7b97\u8d44\u6e90\u548c\u6267\u884c\u73af\u5883\u3002\u4f18\u70b9\u662f\u542f\u52a8\u8017\u65f6\u77ed\uff0coverhead \u5c0f\uff1b\u7f3a\u70b9\u662f\u8d44\u6e90\u548c\u73af\u5883\u4e0d\u9694\u79bb\uff0c\u4e00\u4e2a\u4efb\u52a1\u5b9e\u4f8b\u6267\u884c\u5f02\u5e38\u6709\u53ef\u80fd\u5bfc\u81f4\u6574\u4e2a worker \u673a crash\u3002\u672c\u5730\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u4e0d\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Hive \u548c Sensor \u4efb\u52a1\u3002\u672c\u5730\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\u4e00\u822c\u5728\u4e9a\u79d2\u7ea7\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n2. \u5173\u952e\u6280\u672f\uff1a\u9ad8\u53ef\u7528<\/h1>\n\n\n\n\u9ad8\u53ef\u7528\u5bf9\u8c03\u5ea6\u7cfb\u7edf\u6765\u8bf4\u975e\u5e38\u91cd\u8981\u3002\u4e3a\u4e86\u4fdd\u969c Kwaiflow \u7684\u9ad8\u53ef\u7528\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e24\u65b9\u9762\u8fdb\u884c\u8003\u8651\uff1a\u7cfb\u7edf\u8bbe\u8ba1\u548c\u6545\u969c\u53d1\u73b0\u5904\u7406\u3002\u5728\u7cfb\u7edf\u8bbe\u8ba1\u4e0a\uff0cKwaiflow \u53ef\u4ee5\u505a\u5230\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5373\u4efb\u52a1\u5b9e\u4f8b\u5728\u590d\u6742\u73af\u5883\u4e2d Exactly Once \u6267\u884c\uff0c\u505a\u5230\u4e0d\u6f0f\uff0c\u4e14\u5c3d\u91cf\u4e0d\u91cd\u3002<\/p>\n\n\n\n\u5bf9\u4e8e\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5e38\u89c1\u7684\u6545\u969c\u573a\u666f\u5305\u62ec\u7ec4\u4ef6\u6545\u969c\u6216\u8005\u7ec4\u4ef6\u5931\u8054\u3002\u4f8b\u5982 scheduler crash\u3001\u5bb9\u5668\u5316\u4efb\u52a1\u4e0e worker \u5931\u8054\u7b49\u3002<\/p>\n\n\n\n\u4e3a\u4e86\u8fbe\u5230\u9ad8\u53ef\u9760\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e09\u65b9\u9762\u8003\u8651\uff1a<\/p>\n\n\n\nFailover \u673a\u5236\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u548c\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\uff0c\u6765\u5b9e\u73b0\u7ec4\u4ef6\u7684\u81ea\u52a8\u5bb9\u9519\u3002\u4f8b\u5982 Kwaiflow \u91c7\u7528\u4e3b\u5907 Master\uff0c\u591a worker \u7684\u8bbe\u8ba1\u6765\u907f\u514d\u5355\u70b9\u95ee\u9898\uff1b\u5404\u4e2a\u7ec4\u4ef6\u4e4b\u95f4\u91c7\u7528\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\u6765\u907f\u514d\u5931\u8054\u95ee\u9898\u3002\u534f\u8bae\u5305\u62ec scheduler Executor \u901a\u4fe1\u534f\u8bae\u3001Executor Runner \u901a\u4fe1\u534f\u8bae\u3001External Job \u901a\u4fe1\u534f\u8bae\u3002\u53f3\u56fe\u5c55\u793a\u4e86 Executor Runner \u901a\u4fe1\u534f\u8bae\u7684\u4e3b\u8981\u6d41\u7a0b\uff0c\u534f\u8bae\u89c4\u5b9a\u4e86\u4efb\u52a1\u63d0\u4ea4\u3001\u6b63\u5e38\u6267\u884c\u3001\u5f02\u5e38\u6267\u884c\u3001\u901a\u4fe1\u5931\u8054\u7684\u5904\u7406\u529e\u6cd5\uff0c\u4e0d\u4f9d\u8d56\u5916\u90e8\u7cfb\u7edf\u7684\u72b6\u6001\u3002<\/li>\u907f\u514d\u9057\u6f0f\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u6d88\u606f ack \u673a\u5236\uff0c\u4fdd\u969c\u6d88\u606f\u4e0d\u4e22\u5931\uff1b\u540c\u65f6\u901a\u8fc7\u5b9a\u671f\u515c\u5e95\u5de1\u68c0\uff0c\u4fdd\u969c\u4efb\u52a1\u5b9e\u4f8b\u4e0d\u9057\u6f0f\u3002<\/li>\u907f\u514d\u91cd\u590d\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u72b6\u6001\u673a\u8f6c\u79fb\u56fe\uff0c\u907f\u514d\u4e0d\u5408\u7406\u72b6\u6001\u8f6c\u53d8\uff1b\u540c\u65f6\u901a\u8fc7\u91cd\u8bd5\u524d\u6e05\u7406\u524d\u4e00\u4e2a\u5b9e\u4f8b\uff0c\u907f\u514d\u91cd\u590d\u6267\u884c\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u9ad8\u53ef\u7528\u65b9\u9762\uff0c\u8fd8\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u7cfb\u7edf\u8bbe\u8ba1\u662f\u5206\u7ea7\u4fdd\u969c\u3002\u5feb\u624b\u5728\u8fdb\u884c\u5927\u578b\u6d3b\u52a8\u4f8b\u5982\u6625\u8282\u3001\u5965\u8fd0\u65f6\uff0c\u6574\u4f53\u6570\u636e\u91cf\u5927\u5e45\u5ea6\u589e\u957f\uff0c\u5c40\u90e8\u6570\u636e\u5448\u6570\u500d\u589e\u957f\u3002\u4f46\u8ba1\u7b97\u8d44\u6e90\u662f\u6709\u9650\u7684\uff0c\u8ba1\u7b97\u8d44\u6e90\u7684\u589e\u957f\u5f80\u5f80\u4e0d\u80fd\u5339\u914d\u6570\u636e\u91cf\u7684\u589e\u957f\uff0c\u4e0d\u80fd\u8ba9\u6240\u6709\u7684\u4efb\u52a1\u548c\u5f80\u5e38\u4e00\u6837\u6309\u65f6\u4ea7\u51fa\u3002\u8fd9\u65f6\u5019\u6211\u4eec\u5c31\u9700\u8981\u8fdb\u884c\u5206\u7ea7\u4fdd\u969c\u3002<\/p>\n\n\n\n\u6240\u8c13\u5206\u7ea7\u4fdd\u969c\uff0c\u5c31\u662f\u5728\u8d44\u6e90\u6709\u9650\u7684\u60c5\u51b5\u4e0b\uff0c\u8ba9\u9ad8\u4f18\u4efb\u52a1\u5f97\u5230\u7279\u6743\uff0c\u4f18\u5148\u5f97\u5230\u6267\u884c\uff0c\u4f18\u5148\u83b7\u5f97\u5145\u8db3\u7684\u4f18\u8d28\u8d44\u6e90\uff0c\u4fdd\u969c\u4ea7\u51fa\u65f6\u95f4\uff1b\u800c\u4f4e\u4f18\u4efb\u52a1\u5219\u4f1a\u88ab\u5ef6\u8fdf\u8c03\u5ea6\u6267\u884c\uff0c\u5206\u914d\u66f4\u5c11\u7684\u8d44\u6e90\u3002<\/p>\n\n\n\n\u5728\u5feb\u624b\uff0c\u6574\u4e2a\u79bb\u7ebf\u4f53\u7cfb\uff0c\u5305\u62ec Kwaiflow\u3001Hive\u3001Yarn\u3001HDFS \u7b49\uff0c\u90fd\u5177\u6709\u5206\u7ea7\u4fdd\u969c\u7684\u80fd\u529b\u3002\u8fd9\u91cc\u4ecb\u7ecd Kwaiflow \u7684\u5206\u7ea7\u4fdd\u969c\u80fd\u529b\uff0c\u5305\u62ec\u4e09\u65b9\u9762\uff1a<\/p>\n\n\n\nKwaiflow \u8c03\u5ea6\u5668\u5177\u6709\u5206\u7ea7\u8c03\u5ea6\u7684\u80fd\u529b<\/strong>\u3002Kwaiflow \u8c03\u5ea6\u5668\u80fd\u611f\u77e5\u5230\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u7684\u72b6\u6001\uff0c\u5728\u8d44\u6e90\u4e0d\u8db3\u65f6\uff0cKwaiflow \u4efb\u52a1\u4f1a\u5728\u8c03\u5ea6\u5668\u6392\u961f\uff0c\u9ad8\u4f18\u4efb\u52a1\u6392\u5728\u524d\u9762\uff0c\u4f4e\u4f18\u4efb\u52a1\u6392\u5728\u540e\u9762\uff1b\u5f53\u8d44\u6e90\u5f97\u5230\u91ca\u653e\u65f6\uff0c\u9ad8\u4f18\u4efb\u52a1\u4f18\u5148\u88ab\u8c03\u5ea6\u3002<\/li>Kwaiflow \u7684\u6267\u884c\u5668\u6309\u7167\u4e0d\u540c\u4f18\u5148\u7ea7\u8fdb\u884c\u5206\u7ec4<\/strong>\u3002\u5305\u62ec\u4e09\u7ec4\uff1aP0 \u6267\u884c\u5668\u7ec4\u3001P1 \u6267\u884c\u5668\u7ec4\u4ee5\u53ca P2 P3 \u6267\u884c\u5668\u7ec4\u3002P0 \u6267\u884c\u5668\u7528\u4e8e\u6267\u884c\u6700\u9ad8\u4f18\u5148\u7ea7\u7684 P0 \u4efb\u52a1\uff0c\u5177\u6709\u5145\u8db3\u7684 worker\uff0cP0 \u4efb\u52a1\u5b9e\u4f8b\u57fa\u672c\u4e0d\u4f1a\u5728\u6267\u884c\u5668\u5c42\u88ab\u9650\u5236\u3002\u5bf9\u4e8e P2 P3 \u5206\u7ec4\uff0c\u5728\u8c03\u5ea6\u9ad8\u5cf0\u671f\uff0c\u4efb\u52a1\u5b9e\u4f8b\u5f88\u591a\u65f6\uff0c\u53ef\u80fd\u5b58\u5728\u6392\u961f\u6267\u884c\u7684\u60c5\u51b5\u3002<\/li>Kwaiflow \u5177\u6709\u8f83\u5f3a\u7684\u4eba\u5de5\u7ba1\u63a7\u80fd\u529b<\/strong>\uff0c\u53ef\u4ee5\u4eba\u4e3a\u5730\u5141\u8bb8\u6216\u8005\u963b\u65ad\u67d0\u4e9b\u4efb\u52a1\u7684\u8c03\u5ea6\u3002\u5178\u578b\u4f7f\u7528\u573a\u666f\u662f\u5728\u5927\u578b\u6d3b\u52a8\u671f\u95f4\uff0c\u53ef\u4ee5\u6839\u636e\u9884\u6848\uff0c\u5bf9\u4f4e\u4f18\u5148\u7ea7\u7684\u4efb\u52a1\u4eba\u4e3a\u8fdb\u884c\u5ef6\u8fdf\u8c03\u5ea6\uff0c\u4fdd\u969c\u8d44\u6e90\u5206\u914d\u7ed9\u9ad8\u4f18\u4efb\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u524d\u9762\u4e3b\u8981\u4ece\u7cfb\u7edf\u8bbe\u8ba1\u65b9\u9762\u4ecb\u7ecd\u4e86\u7ebf\u4e0a\u6545\u969c\u7684\u81ea\u52a8\u89c4\u907f\u3002Kwaiflow \u9ad8\u53ef\u7528\u7684\u7b2c\u4e8c\u4e2a\u65b9\u9762\u662f\u6545\u969c\u7684\u53d1\u73b0\u548c\u5904\u7406\u3002\u5982\u679c\u6545\u969c\u53d1\u73b0\u4e0d\u53ca\u65f6\u3001\u5904\u7406\u4e0d\u8fc5\u901f\uff0c\u4f1a\u51fa\u73b0\u5927\u89c4\u6a21\u7684\u8c03\u5ea6\u9519\u8bef\u6216\u8005\u8c03\u5ea6\u5ef6\u8fdf\u6545\u969c\u3002\u5728\u5feb\u624b\u8c03\u5ea6\u7cfb\u7edf\u53d1\u5c55\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u78b0\u5230\u8fc7\u8fd9\u6837\u7684\u5927\u6545\u969c\uff0c\u4e3a\u4e86\u907f\u514d\u518d\u6b21\u53d1\u751f\uff0c\u6211\u4eec\u5efa\u7acb\u4e86\u5b8c\u5907\u7684\u76d1\u63a7\u9884\u6848\u4f53\u7cfb\u3002<\/p>\n\n\n\n\u5728\u76d1\u63a7\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5206\u6210\u4f7f\u7528\u5c42\u3001\u670d\u52a1\u5c42\u3001\u4f9d\u8d56\u5c42\u4e09\u4e2a\u5c42\u6b21\uff0c\u5e76\u5212\u5206\u76d1\u63a7\u4f18\u5148\u7ea7\uff0c\u91c7\u7528\u4e0d\u540c\u7684\u54cd\u5e94\u65b9\u5f0f\u3002<\/li>\u5728\u6545\u969c\u9884\u6848\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u6709\u4e24\u7c7b\u9884\u6848\uff1a\u7cfb\u7edf\u6545\u969c\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u8c03\u5ea6\u7cfb\u7edf\u81ea\u8eab\u95ee\u9898\uff1b\u6570\u636e\u5f02\u5e38\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u94fe\u8def\u6570\u636e\u4e0d\u6b63\u786e\u7684\u95ee\u9898\u3002\u6211\u4eec\u6c89\u6dc0\u4e86\u591a\u573a\u666f\u7684\u963b\u65ad\u6062\u590d\u548c\u8865\u6570\u636e\u5de5\u5177\uff0c\u80fd\u591f\u5728\u6570\u5206\u949f\u5185\u542f\u52a8\u6570\u636e\u6062\u590d\u3002<\/li>\u5728\u6f14\u7ec3\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5b9a\u671f\u5bf9\u9884\u6848\u8fdb\u884c\u6f14\u7ec3\uff0c\u4fdd\u8bc1\u9884\u6848\u7684\u53ef\u7528\u6027\uff0c\u64cd\u4f5c\u7684\u719f\u7ec3\u6027\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n3. \u5173\u952e\u6280\u672f\uff1a\u5f00\u653e\u80fd\u529b<\/h1>\n\n\n\n\u5f00\u653e\u662f\u6570\u636e\u4e2d\u53f0\u7684\u6838\u5fc3\u7ade\u4e89\u529b\u3002\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u7ed9\u4e88\u4f7f\u7528\u8005\u81ea\u7531\u7684\u53d1\u6325\u7a7a\u95f4\uff0c\u6ee1\u8db3\u66f4\u591a\u4f7f\u7528\u573a\u666f\uff1b\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u6784\u5efa\u6570\u636e\u751f\u6001\uff0c\u63d0\u4f9b\u66f4\u4e30\u5bcc\u7684\u80fd\u529b\u3002Kwaiflow \u63d0\u4f9b\u4e86\u591a\u79cd\u5f00\u653e\u80fd\u529b\uff1a<\/p>\n\n\n\nKwaiflow \u5177\u6709\u5f00\u653e\u7684 API\uff0c\u652f\u6301\u591a\u8bed\u8a00 SDK\uff0c\u63d0\u4f9b\u4e86\u6807\u51c6\u5316\u7684\u63a5\u5165\u6d41\u7a0b\u3001\u4f7f\u7528\u624b\u518c\u548c\u63a5\u5165 demo\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u6807\u51c6\u7684\u4e8b\u4ef6\u3002\u5305\u62ec\u4efb\u52a1\u64cd\u4f5c\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d8\u66f4\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u8bca\u65ad\u4e8b\u4ef6\u7b49\u3002\u6839\u636e\u8fd9\u4e9b\u4e8b\u4ef6\uff0c\u53ef\u4ee5\u5b8c\u6574\u590d\u73b0\u51fa\u4efb\u52a1\u548c\u4efb\u52a1\u5b9e\u4f8b\u7684\u5168\u751f\u547d\u5468\u671f\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u63d2\u4ef6\u5316\u4efb\u52a1\u7c7b\u578b\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5b9a\u4e49\u548c\u5f00\u53d1\u81ea\u5b9a\u4e49\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u5e76\u8fdb\u884c\u7075\u6d3b\u6d4b\u8bd5\u3001\u7070\u5ea6\u4e0a\u7ebf\u548c\u7ba1\u7406\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86 Hook\uff0c\u53ef\u4ee5\u5728\u7528\u6237\u4ee3\u7801\u8fd0\u884c\u524d\u540e\u6267\u884c\u3002\u5305\u62ec\u6267\u884c\u524d\u7684 Prehook \u548c\u6267\u884c\u540e\u7684 Posthook\u3002\u5e38\u89c1\u573a\u666f\u5305\u62ec\u7528\u4e8e\u4ee3\u7801\u6e32\u67d3\u3001\u524d\u7f6e\u68c0\u67e5\u7684 Prehook\uff0c\u4ee5\u53ca\u7528\u4e8e\u6267\u884c\u540e\u6570\u636e\u8d28\u91cf\u68c0\u6d4b\u7684 Posthook\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u4e0e\u6210\u679c<\/strong><\/p>\n\n\n\n\u5982\u679c\u628a\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6bd4\u4f5c\u5927\u697c\u7684\u9aa8\u67b6\uff0c\u90a3\u4e48\u57fa\u4e8e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u5c31\u662f\u88c5\u4fee\u5b8c\u5584\u3001\u9002\u4e8e\u4eba\u5de5\u4f5c\u751f\u6d3b\u7684\u5927\u53a6\u3002\u901a\u8fc7\u5e94\u7528\uff0c\u80fd\u66f4\u597d\u5730\u4f53\u73b0\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4ef7\u503c\u3002\u5728\u5feb\u624b\uff0c\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4e00\u4e2a\u5178\u578b\u5e94\u7528\u3002<\/p>\n\n\n\n\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u5feb\u624b\u7684\u4e00\u7ad9\u5f0f\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u4f7f\u7528 kwaiflow \u4f5c\u4e3a\u7edf\u4e00\u7684\u7f16\u6392\u4e0e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u6784\u5efa\u4e86\u5404\u7c7b\u7684\u6570\u636e\u5f00\u53d1\u8fd0\u7ef4\u7b49\u670d\u52a1\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u67e5\u8be2\u3001\u540c\u6b65\u3001\u5f00\u53d1\u3001\u670d\u52a1\u5316\u3001\u8fd0\u7ef4\u3001\u7ba1\u7406\u7b49\u80fd\u529b\u3002<\/p>\n\n\n\n\u8be5\u5e73\u53f0\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u4e00\u7ad9\u5f0f<\/strong>\uff1a\u5e73\u53f0\u6db5\u76d6\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u7684\u5404\u73af\u8282\uff0c\u5305\u62ec\u6570\u636e\u63a5\u5165\u3001\u6570\u636e\u52a0\u5de5\u3001\u6570\u636e\u5206\u53d1\u548c\u6570\u636e\u670d\u52a1\u5316\u3002\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u6e90\u7ba1\u7406\uff0c\u521b\u5efa\u6570\u636e\u63a5\u5165\u4efb\u52a1\u5c06\u5404\u79cd\u6570\u636e\u6e90\u5bfc\u5165\u5230\u5927\u6570\u636e\u7cfb\u7edf\u4e2d\uff1b\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u667a\u80fd IDE \u7f16\u5199\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03 ETL \u4efb\u52a1\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5de5\u5904\u7406\uff0c\u4ea7\u751f\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b\u7528\u6237\u8fd8\u53ef\u4ee5\u521b\u5efa\u6570\u636e\u5206\u53d1\u4efb\u52a1\uff0c\u5c06\u9ad8\u4ef7\u503c\u6570\u636e\u5206\u53d1\u5230\u5176\u5b83\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u4f8b\u5982\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u975e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u7f13\u5b58\u7cfb\u7edf\u3001OLAP \u5f15\u64ce\u7b49\u3002\u7528\u6237\u4e5f\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u914d\u7f6e\u7684\u65b9\u5f0f\u521b\u5efa\u670d\u52a1\u5316 API\uff0c\u4e3a\u7ebf\u4e0a\u7cfb\u7edf\u63d0\u4f9b\u670d\u52a1\u3002<\/li>\u901a\u7528<\/strong>\uff1a\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u80fd\u7edf\u4e00\u8fd0\u7ef4 Kwaiflow \u6240\u6709\u4efb\u52a1\uff0c\u5305\u62ec\u4efb\u52a1\u8fd0\u7ef4\u3001\u5b9e\u4f8b\u8fd0\u7ef4\u3001\u94fe\u8def\u8fd0\u7ef4\u7b49\u65b9\u5f0f\uff0c\u9002\u5408\u6570\u636e\u5f00\u53d1\u3001\u5b9a\u65f6\u8c03\u5ea6\u3001\u89e6\u53d1\u5f0f\u8c03\u5ea6\u7b49\u573a\u666f\u3002<\/li>\u667a\u80fd<\/strong>\uff1a\u5728\u5f00\u53d1\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd IDE\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4ee3\u7801\u95ee\u9898\uff1b\u5728\u8fd0\u7ef4\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd\u76d1\u63a7\u3001\u667a\u80fd\u8bca\u65ad\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4efb\u52a1\u548c\u94fe\u8def\u95ee\u9898\uff0c\u5e76\u8f85\u52a9\u5b9a\u4f4d\u95ee\u9898\u539f\u56e0\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8981\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u4e0d\u4ec5\u8981\u6709\u5f3a\u5927\u7684\u81ea\u8eab\u80fd\u529b\uff0c\u66f4\u8981\u6709\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\u3002\u5728\u5feb\u624b\uff0cKwaiflow \u548c\u5927\u6570\u636e\u7684\u5176\u5b83\u7cfb\u7edf\u6df1\u5ea6\u96c6\u6210\uff0c\u63a5\u5165\u4e86 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u4fbf\u6377\u5730\u4f7f\u7528\u5176\u5b83\u5927\u6570\u636e\u7cfb\u7edf\u7684\u80fd\u529b\u3002\u53ef\u4ee5\u8bf4\uff0c\u81ea\u8eab\u80fd\u529b\u548c\u751f\u6001\u4f53\u7cfb\u5bf9 Kwaiflow \u6765\u8bf4\u540c\u7b49\u91cd\u8981\u3002<\/p>\n\n\n\n\u9996\u5148\uff0c\u5c31\u81ea\u8eab\u800c\u8a00\uff0cKwaiflow \u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u6267\u884c\u80fd\u529b\u3002\u5305\u62ec\u591a\u573a\u666f\u8c03\u5ea6\u80fd\u529b\u3001\u591a\u6837\u5316\u7684\u6267\u884c\u80fd\u529b\u3001\u6613\u7528\u7684\u8fd0\u7ef4\u80fd\u529b\u548c\u9ad8\u53ef\u7528\u7684\u7279\u6027\u3002<\/p>\n\n\n\n\u5176\u6b21\uff0cKwaiflow \u5177\u6709\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\u3002\u63a5\u5165 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u65b9\u4fbf\u5730\u4f7f\u7528\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\u3002<\/p>\n\n\n\n\u6700\u540e\uff0cKwaiflow \u65e0\u7f1d\u96c6\u6210\u4e86\u5176\u5b83\u4e2d\u53f0\u80fd\u529b\u3002\u5305\u62ec\u6570\u636e\u8d28\u91cf\u3001\u6570\u636e\u5b89\u5168\u4f53\u7cfb\u3001\u5b8c\u6574\u51c6\u786e\u7684\u4efb\u52a1\u5b9e\u4f8b\u8840\u7f18\u3001\u94fe\u8def\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5c06\u4ece\u6027\u80fd\u3001\u529f\u80fd\u548c\u4f7f\u7528\u60c5\u51b5\u4e09\u4e2a\u65b9\u9762\u4ecb\u7ecd Kwaiflow \u7684\u6210\u679c\u3002<\/p>\n\n\n\n\u5728\u6027\u80fd\u65b9\u9762<\/strong>\uff0c\u548c Airflow \u76f8\u6bd4\uff0c\u6709\u6781\u5927\u7684\u63d0\u5347\uff1a<\/p>\n\n\n\n\u5728\u89c4\u6a21\u4e0a\uff0cKwaiflow \u521d\u7248\u8bbe\u8ba1\u5bb9\u91cf\u4e3a\u767e\u4e07\u7ea7\u522b\u4efb\u52a1\uff0c\u5f53\u524d\u5df2\u6709\u6570\u5341\u4e07\u7684\u4efb\u52a1\u6570\uff0c\u548c Airflow \u5355\u96c6\u7fa4\u4e0d\u8d85\u8fc7 1 \u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\u3002<\/li>\u5728\u6027\u80fd\u4e0a\uff0cKwaiflow \u8c03\u5ea6\u9ad8\u5cf0\u671f\u7684\u8c03\u5ea6\u5ef6\u8fdf P99 \u5c0f\u4e8e 5 \u79d2\uff0c\u548c Airflow 5 \u5206\u949f\u76f8\u6bd4\uff0c\u6709\u6570\u91cf\u7ea7\u7684\u63d0\u5347\uff1bKwaiflow \u8d77\u8c03\u901f\u7387\u5341\u6570\u4e07\u6bcf\u5206\u949f\uff0c\u548c Airflow \u6570\u5343\u6bcf\u5206\u949f\u5bf9\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\uff1bKwaiflow \u8fd0\u884c\u7684\u5e76\u53d1\u5b9e\u4f8b\u6570\u5341\u6570\u4e07\u4e07\uff0c\u548c Airflow \u5c0f\u4e8e1\u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u5341\u6570\u500d\u3002<\/li>\u5728\u7a33\u5b9a\u6027\u4e0a\uff0cKwaiflow \u53ef\u7528\u6027\u4e3a 99.99%\uff0c Airflow \u5219\u4e3a 99.5%\uff1bKwaiflow \u5e74\u6545\u969c\u6570\u7ea6 1 \u4e2a\uff0c\u800c Airflow \u5e74\u5747\u4e3a 8 \u4e2a\u3002<\/li><\/ul>\n\n\n\n\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5728\u5feb\u624b\uff0c\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6311\u6218\u4e3b\u8981\u5305\u62ec\u4e09\u90e8\u5206\uff1a<\/p>\n\n\n\n
\u4e0e\u8fd9\u4e9b\u6311\u6218\u5bf9\u5e94\uff0c\u76ee\u6807\u4e5f\u5305\u62ec\u4e09\u90e8\u5206\uff1a<\/p>\n\n\n\n
\u7eb5\u89c2\u5feb\u624b\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u53d1\u5c55\u5386\u7a0b\uff0c\u53ef\u4ee5\u5206\u4e3a\u56db\u4e2a\u9636\u6bb5\u3002<\/p>\n\n\n\n
1. \u5728 2016 \u5e74\uff0c\u6574\u4f53\u89c4\u6a21\u8f83\u5c0f\uff0c\u91c7\u7528\u5f53\u65f6\u4e3b\u6d41 Airflow \u4f5c\u4e3a\u4efb\u52a1\u8c03\u5ea6\u5f15\u64ce\u3002\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\uff0c\u5feb\u624b\u7684\u4e1a\u52a1\u84ec\u52c3\u53d1\u5c55\uff0c\u4efb\u52a1\u89c4\u6a21\u4e5f\u6025\u901f\u589e\u957f\uff0cAirflow \u6027\u80fd\u548c\u7a33\u5b9a\u6027\u4e0d\u518d\u80fd\u6ee1\u8db3\u8981\u6c42\u3002<\/p>\n\n\n\n
2. \u5728 2019 \u5e74\uff0c\u4e3a\u4e86\u89e3\u51b3 Airflow \u7684\u95ee\u9898\uff0c\u6211\u4eec\u81ea\u7814\u4e86\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf Kwaiflow\uff0c\u65e8\u5728\u652f\u6301\u767e\u4e07\u7ea7\u522b\u7684\u4efb\u52a1\u89c4\u6a21\u3002<\/p>\n\n\n\n
3. \u5728 2020 \u5e74\uff0c\u6211\u4eec\u5347\u7ea7 Kwaiflow \u5230 2.0 \u7248\u672c\uff0c\u652f\u6301\u4f8b\u884c\u3001\u89e6\u53d1\u5f0f\u3001\u8865\u6570\u636e\u3001\u963b\u65ad\u591a\u4e2a\u573a\u666f\uff0c\u878d\u5408\u8d28\u91cf\u3001\u5b89\u5168\u7b49\u6570\u636e\u5168\u751f\u6001\u3002<\/p>\n\n\n\n
4. \u5728 2021 \u4e0b\u534a\u5e74\uff0c\u6211\u4eec\u5f00\u59cb\u6253\u9020\u65b0\u4e00\u4ee3\u8c03\u5ea6\u7cfb\u7edf Kwaiflow 3.0\uff0c\u4ee5\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u4efb\u52a1\u89c4\u6a21\u3002<\/p>\n\n\n\n
\u5728\u8fc7\u53bb\u7684\u4e94\u516d\u5e74\uff0c\u5feb\u624b\u7684\u4efb\u52a1\u6570\u6bcf\u5e74\u6210\u500d\u6570\u589e\u957f\uff0c\u4ece\u6570\u5343\u4e2a\u589e\u957f\u5230\u5f53\u524d\u7684\u6570\u5341\u4e07\u4e2a\uff0c\u63a5\u5165\u7684\u5e73\u53f0\u6570\u4ece 0 \u589e\u957f\u5230\u6570\u5341\u4e2a\uff0c\u7528\u6237\u5f53\u524d\u5df2\u8986\u76d6\u516c\u53f8\u51e0\u4e4e\u6240\u6709\u7684\u4e1a\u52a1\u65b9\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u521d\u671f\uff0c\u5feb\u624b\u4f7f\u7528 Airflow \u5f53\u4f5c\u4efb\u52a1\u8c03\u5ea6\u5f15\u64ce\uff0c\u4f46\u540e\u6765\u53c8\u653e\u5f03\u4e86\u3002\u6211\u4eec\u4e3a\u4ec0\u4e48\u4f1a\u505a\u51fa\u8fd9\u6837\u7684\u9009\u62e9\u5462\uff1f\u8fd9\u5c31\u9700\u8981\u5206\u6790 Airflow \u7684\u4f18\u70b9\u548c\u75db\u70b9\u3002Airflow \u662f\u4ee5\u7f16\u7a0b\u65b9\u5f0f\u521b\u5efa\u3001\u8c03\u5ea6\u548c\u76d1\u63a7\u5de5\u4f5c\u6d41\u7684\u5f00\u6e90\u7cfb\u7edf\u3002Airflow \u5177\u6709\u5f88\u591a\u4f18\u70b9\uff0c\u5305\u62ec\uff1a<\/p>\n\n\n\n\u80fd\u529b\u4e30\u5bcc<\/strong>\uff0c\u5177\u6709\u4e30\u5bcc\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u6613\u7528\u7684\u6d41\u7a0b\u63a7\u5236\uff1b<\/li>UI \u6613\u7528<\/strong>\uff0c\u8f83\u4e3a\u65b9\u4fbf\u5730\u8fdb\u884c\u53ef\u89c6\u5316\u8fd0\u7ef4\uff1b<\/li>\u7ec4\u4ef6\u5c11\u6613\u90e8\u7f72\uff0c\u4e0a\u624b\u96be\u5ea6\u4e0d\u5927<\/strong>\u3002<\/li><\/ul>\n\n\n\n\u8fd9\u4e9b\u4f18\u70b9\u662f\u6211\u4eec\u9009\u62e9 Airflow \u7684\u539f\u56e0\u3002<\/p>\n\n\n\n\u4f46\u968f\u7740\u4efb\u52a1\u89c4\u6a21\u589e\u5927\uff0cAirflow \u7684\u75db\u70b9\u4e5f\u5f88\u660e\u663e\uff1a<\/p>\n\n\n\n\u6027\u80fd\u8f83\u5dee<\/strong>\uff1a\u6211\u4eec\u53d1\u73b0\uff0c\u5f53 Airflow \u5355\u96c6\u7fa4 Dag \u6570\u8fd1 1 \u4e07\u65f6\uff0c\u5355\u4efb\u52a1\u8c03\u5ea6\u5ef6\u8fdf P99 \u9ad8\u8fbe 5min\uff0c\u94fe\u8def\u8c03\u5ea6\u5ef6\u8fdf\u9ad8\u8fbe\u6570\u5341\u5206\u949f\uff0c\u94fe\u8def\u65f6\u6548\u6027\u96be\u4ee5\u4fdd\u969c\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e1a\u52a1\u589e\u957f\uff0c\u6211\u4eec\u642d\u5efa\u4e86\u591a\u4e2a\u96c6\u7fa4\uff0c\u8fd0\u7ef4\u6210\u672c\u500d\u589e\u3002<\/li>\u7a33\u5b9a\u6027\u4e0d\u8db3<\/strong>\uff1a\u5f53\u65f6 Airflow Scheduler \u6ca1\u6709 HA\uff0c\u4efb\u52a1\u6267\u884c\u65f6\u73af\u5883\u548c\u8d44\u6e90\u4e0d\u9694\u79bb\uff0c\u5bb9\u6613 OOM\uff0c\u5bfc\u81f4\u8c03\u5ea6\u6545\u969c\u6bd4\u8f83\u591a\uff0c\u5e74\u5747\u6545\u969c\u6570\u7ea6 8 \u4e2a\u3002<\/li>\u96c6\u6210\u5ea6\u4f4e<\/strong>\uff1a\u4e8c\u6b21\u5f00\u53d1\u6210\u672c\u5927\uff0c\u548c\u5468\u8fb9\u7cfb\u7edf\u96c6\u6210\u5ea6\u4f4e\uff0c\u5f00\u653e\u80fd\u529b\u5dee\uff0c\u96be\u4ee5\u5feb\u901f\u6784\u5efa\u751f\u6001\u3002<\/li><\/ul>\n\n\n\n\u7531\u4e8e\u8fd9\u4e9b\u75db\u70b9\u7684\u5b58\u5728\uff0c\u6211\u4eec\u51b3\u5b9a\u81ea\u7814\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n02<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u6574\u4f53\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n\u5728 2019 \u5e74\u4e2d\u65ec\uff0c\u6211\u4eec\u5f00\u59cb\u81ea\u7814\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf Kwaiflow\uff0c\u5e76\u5728\u4e0b\u534a\u5e74\u4e0a\u7ebf 1.0 \u7248\u672c\u3002<\/p>\n\n\n\nKwaiflow \u662f\u5feb\u624b\u901a\u7528\u3001\u9ad8\u6027\u80fd\u3001\u6613\u6269\u5c55\u7684\u5206\u5e03\u5f0f\u5de5\u4f5c\u6d41\u8c03\u5ea6\u7cfb\u7edf\u3002\u5176\u8bbe\u8ba1\u76ee\u6807\u4ece\u4e24\u65b9\u9762\u8003\u8651\u3002<\/p>\n\n\n\n\u5728\u529f\u80fd\u578b\u76ee\u6807\u65b9\u9762<\/strong>\uff1a<\/p>\n\n\n\n\u573a\u666f\u4e30\u5bcc\uff1a\u652f\u6301\u591a\u573a\u666f\u8c03\u5ea6\uff0c\u591a\u79cd\u73af\u5883\u6267\u884c\uff0c\u652f\u6301\u591a\u6837\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b<\/li>\u8fd0\u7ef4\u4fbf\u6377\uff1a\u53ef\u4ee5\u8fdb\u884c\u53ef\u89c6\u5316\u3001\u667a\u80fd\u3001\u4fbf\u6377\u5730\u8fd0\u7ef4<\/li>\u4fbf\u4e8e\u5f00\u653e\uff1a\u5177\u6709\u5f3a\u5927\u7684\u5f00\u653e\u80fd\u529b\uff0c\u6613\u4e8e\u7cfb\u7edf\u96c6\u6210\uff0c\u6784\u5efa\u7edf\u4e00\u751f\u6001<\/li><\/ul>\n\n\n\n\u5728\u975e\u529f\u80fd\u578b\u76ee\u6807\u65b9\u9762<\/strong>\uff1a<\/p>\n\n\n\n\u9ad8\u5bb9\u91cf\uff1a\u652f\u6301\u767e\u4e07\u7ea7\u4efb\u52a1\u5bb9\u91cf<\/li>\u9ad8\u6027\u80fd\uff1a\u79d2\u7ea7\u6216\u8005\u4e9a\u79d2\u7ea7\u8c03\u5ea6\u5ef6\u8fdf<\/li>\u9ad8\u53ef\u7528\uff1a\u53ef\u7528\u6027 99.99%\uff0c\u7ebf\u4e0a\u95ee\u9898\u5c11\uff0c\u51fa\u73b0\u65f6\u80fd\u53ca\u65f6\u53d1\u73b0\u5feb\u901f\u5e76\u5904\u7406<\/li><\/ul>\n\n\n\n\u5728\u5b9a\u4f4d\u4e0a\uff0cKwaiflow \u57fa\u4e8e\u5927\u6570\u636e\u4f53\u7cfb\u548c\u5176\u5b83\u57fa\u7840\u8bbe\u65bd\uff0c\u63d0\u4f9b\u8c03\u5ea6\u3001\u6267\u884c\u7b49\u6838\u5fc3\u80fd\u529b\uff0c\u540c\u65f6\u5177\u6709\u8fd0\u7ef4\u3001\u76d1\u63a7\u62a5\u8b66\u3001\u667a\u80fd\u8bca\u65ad\u3001\u5f00\u653e\u670d\u52a1\u7b49\u91cd\u8981\u80fd\u529b\uff0c\u6784\u5efa\u8c03\u5ea6\u751f\u6001\uff1b\u9762\u5411\u6570\u636e\u5904\u7406\u3001\u6d41\u7a0b\u7f16\u6392\u3001\u7b97\u6cd5\u8c03\u5ea6\u548c\u5206\u5e03\u5f0f\u8ba1\u7b97\u7b49\u573a\u666f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u8c03\u5ea6\u6a21\u578b\u4e0a\uff0cKwaiflow \u91c7\u7528\u4e86\u4e24\u5c42\u5b9e\u4f53\u7684\u8c03\u5ea6\u6a21\u578b\uff1a<\/p>\n\n\n\nTask\uff1a\u6267\u884c\u6a21\u677f\uff0c\u7528\u4e8e\u6267\u884c\u67d0\u4e00\u7c7b\u578b\u7684\u4ee3\u7801\uff1bTask \u6709\u5f88\u591a\u7c7b\u578b\uff0c\u4f8b\u5982 HiveTask \u7528\u4e8e\u6267\u884c Hive SQL\uff0cBashTask \u7528\u4e8e\u6267\u884c Bash \u811a\u672c\uff0cHivePartitionSensorTask \u7528\u4e8e\u63a2\u6d4b hive \u8868\u5206\u533a\u662f\u5426\u5b58\u5728\u3002<\/li>DAG\uff1a\u4e00\u7cfb\u5217 Task \u7684\u96c6\u5408\uff0c\u5177\u6709\u8c03\u5ea6\u5b9a\u65f6\u7b49\u5c5e\u6027\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f9d\u8d56\u5173\u7cfb\u65b9\u9762\uff0cDAG \u4e4b\u95f4\u53ef\u4ee5\u76f8\u4e92\u4f9d\u8d56\uff0c\u65e2\u53ef\u4ee5\u540c\u5468\u671f\u4f9d\u8d56\uff0c\u4e5f\u53ef\u4ee5\u8de8\u5468\u671f\u4f9d\u8d56\uff0c\u8fd8\u53ef\u4ee5\u6709\u4f9d\u8d56\u504f\u79fb\u3002DAG \u5185\u7684 Task \u4e4b\u95f4\u4e5f\u53ef\u4ee5\u4f9d\u8d56\uff0c\u7531\u4e8e\u4ed6\u4eec\u8c03\u5ea6\u5c5e\u6027\u4e00\u81f4\uff0c\u6240\u4ee5\u90fd\u4e3a\u540c\u5468\u671f\u4f9d\u8d56\u3002<\/p>\n\n\n\n\u4e00\u822c\u6765\u8bb2\uff0c\u5e38\u89c1\u7684\u8c03\u5ea6\u6a21\u578b\u9664\u4e86\u53cc\u5c42\u5b9e\u4f53\u6a21\u578b\u5916\uff0c\u8fd8\u6709\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u3002\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u6ca1\u6709 DAG \u7684\u6982\u5ff5\uff0c\u53ea\u6709 Task\uff0cTask \u5177\u6709\u8c03\u5ea6\u5c5e\u6027\uff0cTask \u4e4b\u95f4\u76f8\u4e92\u4f9d\u8d56\u3002\u4e24\u79cd\u6a21\u578b\u5404\u6709\u4f18\u52a3\u3002\u53cc\u5c42\u6a21\u578b\u66f4\u9002\u5408\u5feb\u624b\u7684\u60c5\u51b5\uff0c\u5177\u6709\u66f4\u5f3a\u7684\u8868\u8fbe\u529b\uff0c\u4f7f\u7528\u573a\u666f\u66f4\u5e7f\u6cdb\uff0c\u5f53\u7136\u4e5f\u5177\u6709\u4e00\u5b9a\u7684\u590d\u6742\u6027\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u7cfb\u7edf\u67b6\u6784\u4e0a\uff1a<\/p>\n\n\n\nAPI Server \u63d0\u4f9b\u5404\u5f0f\u5404\u6837\u7684\u63a5\u53e3\uff0c\u8d1f\u8d23\u7edf\u4e00\u63a5\u5165\u3002<\/li>Scheduler \u8d1f\u8d23\u8c03\u5ea6\uff0c\u4e0d\u540c\u7684\u8c03\u5ea6\u573a\u666f\u4f1a\u6709\u4e0d\u540c\u7c7b\u578b\u7684\u8c03\u5ea6\u5668\uff0c\u5305\u62ec\u4f8b\u884c\u3001\u89e6\u53d1\u5f0f\u3001\u8865\u6570\u636e\u3001\u963b\u65ad\u8c03\u5ea6\u5668\u3002\u5728\u4f8b\u884c\u8c03\u5ea6\u5668\u4e2d\uff0c\u4efb\u52a1\u5b9e\u4f8b\u751f\u6210\u540e\uff0c\u4f1a\u4f9d\u6b21\u7ecf\u8fc7\u5b9a\u65f6\u68c0\u6d4b\u3001\u4f9d\u8d56\u68c0\u6d4b\u548c\u8d44\u6e90\u68c0\u6d4b\u3002\u5982\u679c\u90fd\u901a\u8fc7\uff0c\u4f1a\u63d0\u4ea4\u5230 Queue Service \u4e2d\u3002<\/li>Queue Service \u4e3a\u5e26 ack \u673a\u5236\u7684\u6d88\u606f\u961f\u5217\u670d\u52a1\uff0c\u4f1a\u6709\u4e0d\u540c\u7684 channel\uff0c\u4ee5\u4fbf\u9694\u79bb\u4efb\u52a1\u3002<\/li>Worker \u8d1f\u8d23\u4efb\u52a1\u7684\u6267\u884c\uff0c\u4ece\u5c5e\u4e00\u4e2a worker \u5206\u7ec4\u3002\u4e0d\u540c\u5206\u7ec4\u7684 Worker \u6d88\u8d39 Queue Service \u4e2d\u4e0d\u540c Channel \u7684\u4efb\u52a1\uff0c\u6839\u636e\u4e0d\u540c\u7684\u4efb\u52a1\u7c7b\u578b\u8fdb\u884c\u6267\u884c\u3002\u6267\u884c\u5206\u4e3a\u672c\u5730\u6267\u884c\u548c\u5bb9\u5668\u5316\u6267\u884c\u4e24\u79cd\u65b9\u5f0f\uff0c\u672c\u5730\u6267\u884c\u662f\u6307\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u5185\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\uff1b\u5177\u6709\u542f\u52a8\u5feb\u7684\u7279\u70b9\uff1b\u5bb9\u5668\u5316\u6267\u884c\u662f\u6307\u5728 k8s \u8fdc\u7a0b\u6267\u884c\u7528\u6237\u4ee3\u7801\uff0c\u5177\u6709\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\u7684\u7279\u70b9\u3002<\/li><\/ul>\n\n\n\n\u9664\u6b64\u4e4b\u5916\uff0c\u8fd8\u6709\u5176\u5b83\u5173\u952e\u6a21\u5757\uff0c\u5305\u62ec\u65e5\u5fd7\u670d\u52a1\u3001\u62a5\u8b66\u670d\u52a1\u3001\u4e8b\u4ef6\u670d\u52a1\u3001\u5b9e\u4f8b\u8840\u7f18\u670d\u52a1\u7b49\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5173\u952e\u6280\u672f<\/strong><\/p>\n\n\n\n1. \u5173\u952e\u6280\u672f\uff1a\u4f4e\u8c03\u5ea6\u5ef6\u8fdf<\/h1>\n\n\n\n\u8c03\u5ea6\u5ef6\u8fdf\u662f\u6307\u7406\u8bba\u8d77\u8c03\u65f6\u523b\u5230\u5b9e\u9645\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\u7684\u65f6\u95f4\u5dee\u3002\u8c03\u5ea6\u5ef6\u8fdf\u662f\u8861\u91cf\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6027\u80fd\u7684\u91cd\u8981\u6307\u6807\u4e4b\u4e00\uff0c\u8be5\u6307\u6807\u8d8a\u5c0f\u8d8a\u597d\u3002<\/p>\n\n\n\n\u4efb\u52a1\u5b9e\u4f8b\u4ece\u751f\u6210\uff0c\u5230\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\uff0c\u9700\u8981\u7ecf\u8fc7\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\u3001\u7b49\u5f85\u4f9d\u8d56\u5c31\u7eea\u3001\u7b49\u5f85\u8d44\u6e90\u5c31\u7eea\u548c\u51c6\u5907\u8fd0\u884c\u73af\u5883\u56db\u4e2a\u9636\u6bb5\u3002\u8981\u6709\u8f83\u5c0f\u7684\u8c03\u5ea6\u5ef6\u8fdf\uff0c\u5c31\u9700\u8981\u51cf\u5c11\u5404\u4e2a\u9636\u6bb5\u7684\u7cfb\u7edf\u65f6\u95f4\u635f\u8017\u3002\u8c03\u5ea6\u5ef6\u8fdf\u7684\u4e3b\u8981\u56e0\u7d20\u4e0e\u5904\u7406\u65b9\u6848\u6709\uff1a<\/p>\n\n\n\n\u5b9a\u65f6\u5668<\/strong>\u3002\u5b9a\u65f6\u5668\u5728\u63a2\u6d4b\u65f6\u95f4\u5c31\u7eea\u73af\u8282\u8d77\u4f5c\u7528\uff0c\u4e00\u4e2a\u7cbe\u51c6\u7684\u3001\u652f\u6301\u767e\u4e07\u7ea7\u522b\u9ad8\u541e\u5410\u7684\u5b9a\u65f6\u5668\uff0c\u5bf9\u4f4e\u8c03\u5ea6\u5ef6\u8fdf\u81f3\u5173\u91cd\u8981\u3002\u4f18\u79c0\u7684\u5b9a\u65f6\u5668\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u6570\u636e\u5e93\u8bbf\u95ee<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d1\u751f\u53d8\u66f4\u540e\uff0c\u9700\u8981\u5bf9\u72b6\u6001\u8fdb\u884c\u6301\u4e45\u5316\u3002\u901a\u8fc7\u7d22\u5f15\u3001\u8bfb\u5199\u5206\u79bb\u3001\u5206\u5e93\u5206\u8868\u7b49\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5c06\u5355\u6b21\u6570\u636e\u5e93\u8bbf\u95ee\u8017\u65f6\u63a7\u5236\u5728 1 ~ 3ms\uff0c\u603b\u4f53\u8017\u65f6\u63a7\u5236\u5728 10ms \u5de6\u53f3 \u3002<\/li>\u72b6\u6001\u8f6c\u53d8<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u81ea\u751f\u6210\u5230\u8fd0\u884c\u7ed3\u675f\uff0c\u4f1a\u7ecf\u5386\u591a\u6b21\u72b6\u6001\u8f6c\u53d8\u3002\u72b6\u6001\u8f6c\u53d8\u9ad8\u6548\u4e0e\u5426\u662f\u8c03\u5ea6\u5ef6\u8fdf\u7684\u91cd\u8981\u56e0\u7d20\u3002\u4e00\u822c\u6765\u8bf4\u6709\u4e24\u79cd\u529e\u6cd5\uff1a\u8f6e\u8be2\u4e0e\u4e8b\u4ef6\u89e6\u53d1\u3002\u6211\u4eec\u91c7\u7528\u7684\u662f\u4e8b\u4ef6\u89e6\u53d1\u65b9\u5f0f\uff0c\u7b2c\u4e00\u65f6\u95f4\u611f\u77e5\u72b6\u6001\u8f6c\u53d8\u3002\u901a\u8fc7\u4e8b\u4ef6\u89e6\u53d1\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u8fd0\u884c\u73af\u5883\u51c6\u5907<\/strong>\u3002\u8fd9\u4e2a\u73af\u8282\u4e3b\u8981\u5de5\u4f5c\u5305\u62ec\u52a0\u8f7d\u955c\u50cf\u3001\u521d\u59cb\u5316\u8fd0\u884c\u73af\u5883\u7b49\u3002\u6211\u4eec\u4e3b\u8981\u91c7\u7528\u4e86\u9884\u52a0\u8f7d\u548c\u955c\u50cf\u9884\u70ed\u6280\u672f\u3002\u4e0d\u540c\u7684\u8fd0\u884c\u73af\u5883\uff0c\u65f6\u95f4\u635f\u8017\u4e0d\u4e00\u6837\uff0c\u4f1a\u5728\u4e9a\u79d2\u5230\u5206\u949f\u4e0d\u7b49\u3002<\/li><\/ul>\n\n\n\n\u8fd9\u56db\u4e2a\u56e0\u7d20\u4e2d\uff0c\u540e\u4e24\u8005\u76f8\u5bf9\u8f83\u590d\u6742\uff0c\u63a5\u4e0b\u6765\u7740\u91cd\u4ecb\u7ecd\u72b6\u6001\u8f6c\u53d8\u548c\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e24\u90e8\u5206\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u9996\u5148\u770b\u72b6\u6001\u8f6c\u53d8\u8fd9\u4e2a\u56e0\u7d20\u3002\u4efb\u52a1\u4ece\u53d1\u5e03\uff0c\u5230\u8c03\u5ea6\u6267\u884c\u5b8c\u6210\uff0c\u4f1a\u7ecf\u5386\u6570\u6b21\u6216\u8005\u5341\u6570\u6b21\u72b6\u6001\u53d8\u5316\u3002\u5982\u4f55\u8fdb\u884c\u5feb\u901f\u9ad8\u6548\u5730\u72b6\u6001\u8f6c\u53d8\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u95ee\u9898\u3002Kwaiflow \u7684\u89e3\u51b3\u529e\u6cd5\u662f\u91c7\u7528 Akka actor\u3002\u5145\u5206\u5229\u7528\u4e86 akka actor \u9ad8\u6027\u80fd\u7279\u70b9\u3002<\/p>\n\n\n\n\u5177\u4f53\u6765\u8bb2\uff1a<\/p>\n\n\n\n1. Kwaiflow \u7684\u4efb\u52a1\u4ece API Server \u53d1\u5e03\u540e\uff0c\u7ecf\u8fc7 Entry Actor \u52a0\u8f7d\u5230 DagLoader Actors \u4e2d\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\uff1b<\/p>\n\n\n\n2. \u5728\u65f6\u95f4\u5c31\u7eea\u540e\uff0c\u7531 Instance Generator Actors \u751f\u6210\u4efb\u52a1\u5b9e\u4f8b\uff0c\u7136\u540e\u8fdb\u5165 Dependency Detector Actor \u63a2\u6d4b\u4e0a\u6e38\u4f9d\u8d56\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n3. \u5728\u4f9d\u8d56\u5c31\u7eea\u540e\uff0c\u8fdb\u5165 Resource Detector Actor \u63a2\u6d4b\u8d44\u6e90\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n4. \u5728\u8d44\u6e90\u5c31\u7eea\u540e\uff0c\u4efb\u52a1\u5b9e\u4f8b\u901a\u8fc7 Queue Service \u4e0b\u53d1\u5230 worker \u4e2d\u3002<\/p>\n\n\n\n5. \u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u88ab\u63a5\u6536\u540e\uff0c\u5c06\u4f1a\u7531 Processor Actor \u6267\u884c\uff0c\u6267\u884c\u524d\u540e\u4f1a\u4f9d\u6b21\u7ecf\u5386\u4ee3\u7801\u6e32\u67d3\u3001Prehook\u3001\u4ee3\u7801\u6267\u884c\u3001Posthook \u56db\u4e2a\u6b65\u9aa4\u3002<\/p>\n\n\n\n6. \u5982\u679c\u6267\u884c\u6210\u529f\uff0c\u5219\u6d41\u7a0b\u7ec8\u6b62\uff1b\u5982\u679c\u6267\u884c\u5931\u8d25\uff0cPosthook \u4f1a\u5c06\u4fe1\u606f\u901a\u8fc7 Processor Actor\u3001ResultHandlerActor \u4f20\u9012\u7ed9 scheduler \u7684 RetryerActor \u8fdb\u884c\u91cd\u8bd5\u64cd\u4f5c\u3002<\/p>\n\n\n\n\u6574\u4e2a\u6d41\u7a0b\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u5168\u6d41\u7a0b\u4e8b\u4ef6\u89e6\u53d1<\/strong>\uff1a\u65e0\u8f6e\u8be2\uff0c\u4efb\u52a1\u53d1\u5e03\u3001\u8c03\u5ea6\u3001\u6267\u884c\u3001\u91cd\u8bd5\uff0c\u5747\u4e3a\u4e8b\u4ef6\u89e6\u53d1\u3002<\/li>\u9ad8\u541e\u5410<\/strong>\uff1a\u91c7\u7528\u5f02\u6b65\u5e76\u53d1\u7684\u65b9\u5f0f\uff0c\u80fd\u5feb\u901f\u8c03\u8d77\u5927\u91cf\u4efb\u52a1\u5b9e\u4f8b<\/li>\u7b80\u5355\u6613\u7528<\/strong>\uff1a\u65e0\u9700\u4f7f\u7528\u5e95\u5c42 API \u8fdb\u884c\u9501\u548c\u7ebf\u7a0b\u7ba1\u7406\uff0c\u4e13\u6ce8\u4e1a\u52a1\u5b9e\u73b0\u3002<\/li><\/ul>\n\n\n\n\u91c7\u7528 actor\uff0c\u72b6\u6001\u8f6c\u53d8\u5bfc\u81f4\u7684\u65f6\u95f4\u635f\u8017\u63a7\u5236\u5728\u6beb\u79d2\u7ea7\u522b\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u63a5\u4e0b\u6765\u6211\u4eec\u770b\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e2a\u56e0\u7d20\u3002\u8fd9\u548c\u6267\u884c\u573a\u666f\u6709\u5173\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e0d\u540c\u7684\u6267\u884c\u573a\u666f\uff0cKwaiflow \u63d0\u4f9b\u4e86\u4e24\u79cd\u6267\u884c\u65b9\u5f0f\uff1a\u5bb9\u5668\u5316\u6267\u884c\u548c\u672c\u5730\u6267\u884c\u3002<\/p>\n\n\n\n\u5bb9\u5668\u5316\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u6bcf\u6b21\u6267\u884c\u524d\uff0c\u5728 k8s \u6309\u9700\u7533\u8bf7\u5bb9\u5668\u8d44\u6e90\uff0c\u5728\u5bb9\u5668\u4e2d\u6267\u884c\u4efb\u52a1\u5b9e\u4f8b\uff0c\u6267\u884c\u5b8c\u540e\uff0c\u53ca\u65f6\u91ca\u653e\u5bb9\u5668\u8d44\u6e90\u3002\u4f18\u70b9\u662f\u5b9e\u73b0\u4e86\u6267\u884c\u65f6\u7684\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\uff1b\u7f3a\u70b9\u662f\u6bcf\u6b21\u90fd\u9700\u8981\u7533\u8bf7\u548c\u521d\u59cb\u5316\u5bb9\u5668\u8d44\u6e90\uff0c\u542f\u52a8\u8017\u65f6\u957f\u3002\u5bb9\u5668\u5316\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Bash \u4efb\u52a1\u3002\u4e3a\u4e86\u51cf\u5c11\u5bb9\u5668\u5316\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\uff0c\u6211\u4eec\u5c06\u955c\u50cf\u5206\u4e3a\u81ea\u5b9a\u4e49\u955c\u50cf\u548c\u901a\u7528\u955c\u50cf\uff0c\u5bf9\u901a\u7528\u955c\u50cf\u8fdb\u884c\u9884\u70ed\uff0c\u63d0\u524d\u5206\u53d1\u5230\u673a\u5668\u4e2d\uff0c\u51cf\u5c11\u955c\u50cf\u4e0b\u8f7d\u8017\u65f6\u3002\u901a\u8fc7\u955c\u50cf\u9884\u70ed\uff0c\u53ef\u4ee5\u5c06\u542f\u52a8\u8017\u65f6\u4ece\u5206\u949f\u7ea7\u964d\u4f4e\u5230\u79d2\u7ea7\u3002<\/li>\u672c\u5730\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u673a\u4e2d\uff0c\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\u3002\u540c\u4e00\u4e2a worker \u673a\u4e2d\u7684\u6240\u6709\u4efb\u52a1\u5b9e\u4f8b\u5171\u4eab\u8ba1\u7b97\u8d44\u6e90\u548c\u6267\u884c\u73af\u5883\u3002\u4f18\u70b9\u662f\u542f\u52a8\u8017\u65f6\u77ed\uff0coverhead \u5c0f\uff1b\u7f3a\u70b9\u662f\u8d44\u6e90\u548c\u73af\u5883\u4e0d\u9694\u79bb\uff0c\u4e00\u4e2a\u4efb\u52a1\u5b9e\u4f8b\u6267\u884c\u5f02\u5e38\u6709\u53ef\u80fd\u5bfc\u81f4\u6574\u4e2a worker \u673a crash\u3002\u672c\u5730\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u4e0d\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Hive \u548c Sensor \u4efb\u52a1\u3002\u672c\u5730\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\u4e00\u822c\u5728\u4e9a\u79d2\u7ea7\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n2. \u5173\u952e\u6280\u672f\uff1a\u9ad8\u53ef\u7528<\/h1>\n\n\n\n\u9ad8\u53ef\u7528\u5bf9\u8c03\u5ea6\u7cfb\u7edf\u6765\u8bf4\u975e\u5e38\u91cd\u8981\u3002\u4e3a\u4e86\u4fdd\u969c Kwaiflow \u7684\u9ad8\u53ef\u7528\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e24\u65b9\u9762\u8fdb\u884c\u8003\u8651\uff1a\u7cfb\u7edf\u8bbe\u8ba1\u548c\u6545\u969c\u53d1\u73b0\u5904\u7406\u3002\u5728\u7cfb\u7edf\u8bbe\u8ba1\u4e0a\uff0cKwaiflow \u53ef\u4ee5\u505a\u5230\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5373\u4efb\u52a1\u5b9e\u4f8b\u5728\u590d\u6742\u73af\u5883\u4e2d Exactly Once \u6267\u884c\uff0c\u505a\u5230\u4e0d\u6f0f\uff0c\u4e14\u5c3d\u91cf\u4e0d\u91cd\u3002<\/p>\n\n\n\n\u5bf9\u4e8e\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5e38\u89c1\u7684\u6545\u969c\u573a\u666f\u5305\u62ec\u7ec4\u4ef6\u6545\u969c\u6216\u8005\u7ec4\u4ef6\u5931\u8054\u3002\u4f8b\u5982 scheduler crash\u3001\u5bb9\u5668\u5316\u4efb\u52a1\u4e0e worker \u5931\u8054\u7b49\u3002<\/p>\n\n\n\n\u4e3a\u4e86\u8fbe\u5230\u9ad8\u53ef\u9760\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e09\u65b9\u9762\u8003\u8651\uff1a<\/p>\n\n\n\nFailover \u673a\u5236\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u548c\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\uff0c\u6765\u5b9e\u73b0\u7ec4\u4ef6\u7684\u81ea\u52a8\u5bb9\u9519\u3002\u4f8b\u5982 Kwaiflow \u91c7\u7528\u4e3b\u5907 Master\uff0c\u591a worker \u7684\u8bbe\u8ba1\u6765\u907f\u514d\u5355\u70b9\u95ee\u9898\uff1b\u5404\u4e2a\u7ec4\u4ef6\u4e4b\u95f4\u91c7\u7528\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\u6765\u907f\u514d\u5931\u8054\u95ee\u9898\u3002\u534f\u8bae\u5305\u62ec scheduler Executor \u901a\u4fe1\u534f\u8bae\u3001Executor Runner \u901a\u4fe1\u534f\u8bae\u3001External Job \u901a\u4fe1\u534f\u8bae\u3002\u53f3\u56fe\u5c55\u793a\u4e86 Executor Runner \u901a\u4fe1\u534f\u8bae\u7684\u4e3b\u8981\u6d41\u7a0b\uff0c\u534f\u8bae\u89c4\u5b9a\u4e86\u4efb\u52a1\u63d0\u4ea4\u3001\u6b63\u5e38\u6267\u884c\u3001\u5f02\u5e38\u6267\u884c\u3001\u901a\u4fe1\u5931\u8054\u7684\u5904\u7406\u529e\u6cd5\uff0c\u4e0d\u4f9d\u8d56\u5916\u90e8\u7cfb\u7edf\u7684\u72b6\u6001\u3002<\/li>\u907f\u514d\u9057\u6f0f\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u6d88\u606f ack \u673a\u5236\uff0c\u4fdd\u969c\u6d88\u606f\u4e0d\u4e22\u5931\uff1b\u540c\u65f6\u901a\u8fc7\u5b9a\u671f\u515c\u5e95\u5de1\u68c0\uff0c\u4fdd\u969c\u4efb\u52a1\u5b9e\u4f8b\u4e0d\u9057\u6f0f\u3002<\/li>\u907f\u514d\u91cd\u590d\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u72b6\u6001\u673a\u8f6c\u79fb\u56fe\uff0c\u907f\u514d\u4e0d\u5408\u7406\u72b6\u6001\u8f6c\u53d8\uff1b\u540c\u65f6\u901a\u8fc7\u91cd\u8bd5\u524d\u6e05\u7406\u524d\u4e00\u4e2a\u5b9e\u4f8b\uff0c\u907f\u514d\u91cd\u590d\u6267\u884c\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u9ad8\u53ef\u7528\u65b9\u9762\uff0c\u8fd8\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u7cfb\u7edf\u8bbe\u8ba1\u662f\u5206\u7ea7\u4fdd\u969c\u3002\u5feb\u624b\u5728\u8fdb\u884c\u5927\u578b\u6d3b\u52a8\u4f8b\u5982\u6625\u8282\u3001\u5965\u8fd0\u65f6\uff0c\u6574\u4f53\u6570\u636e\u91cf\u5927\u5e45\u5ea6\u589e\u957f\uff0c\u5c40\u90e8\u6570\u636e\u5448\u6570\u500d\u589e\u957f\u3002\u4f46\u8ba1\u7b97\u8d44\u6e90\u662f\u6709\u9650\u7684\uff0c\u8ba1\u7b97\u8d44\u6e90\u7684\u589e\u957f\u5f80\u5f80\u4e0d\u80fd\u5339\u914d\u6570\u636e\u91cf\u7684\u589e\u957f\uff0c\u4e0d\u80fd\u8ba9\u6240\u6709\u7684\u4efb\u52a1\u548c\u5f80\u5e38\u4e00\u6837\u6309\u65f6\u4ea7\u51fa\u3002\u8fd9\u65f6\u5019\u6211\u4eec\u5c31\u9700\u8981\u8fdb\u884c\u5206\u7ea7\u4fdd\u969c\u3002<\/p>\n\n\n\n\u6240\u8c13\u5206\u7ea7\u4fdd\u969c\uff0c\u5c31\u662f\u5728\u8d44\u6e90\u6709\u9650\u7684\u60c5\u51b5\u4e0b\uff0c\u8ba9\u9ad8\u4f18\u4efb\u52a1\u5f97\u5230\u7279\u6743\uff0c\u4f18\u5148\u5f97\u5230\u6267\u884c\uff0c\u4f18\u5148\u83b7\u5f97\u5145\u8db3\u7684\u4f18\u8d28\u8d44\u6e90\uff0c\u4fdd\u969c\u4ea7\u51fa\u65f6\u95f4\uff1b\u800c\u4f4e\u4f18\u4efb\u52a1\u5219\u4f1a\u88ab\u5ef6\u8fdf\u8c03\u5ea6\u6267\u884c\uff0c\u5206\u914d\u66f4\u5c11\u7684\u8d44\u6e90\u3002<\/p>\n\n\n\n\u5728\u5feb\u624b\uff0c\u6574\u4e2a\u79bb\u7ebf\u4f53\u7cfb\uff0c\u5305\u62ec Kwaiflow\u3001Hive\u3001Yarn\u3001HDFS \u7b49\uff0c\u90fd\u5177\u6709\u5206\u7ea7\u4fdd\u969c\u7684\u80fd\u529b\u3002\u8fd9\u91cc\u4ecb\u7ecd Kwaiflow \u7684\u5206\u7ea7\u4fdd\u969c\u80fd\u529b\uff0c\u5305\u62ec\u4e09\u65b9\u9762\uff1a<\/p>\n\n\n\nKwaiflow \u8c03\u5ea6\u5668\u5177\u6709\u5206\u7ea7\u8c03\u5ea6\u7684\u80fd\u529b<\/strong>\u3002Kwaiflow \u8c03\u5ea6\u5668\u80fd\u611f\u77e5\u5230\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u7684\u72b6\u6001\uff0c\u5728\u8d44\u6e90\u4e0d\u8db3\u65f6\uff0cKwaiflow \u4efb\u52a1\u4f1a\u5728\u8c03\u5ea6\u5668\u6392\u961f\uff0c\u9ad8\u4f18\u4efb\u52a1\u6392\u5728\u524d\u9762\uff0c\u4f4e\u4f18\u4efb\u52a1\u6392\u5728\u540e\u9762\uff1b\u5f53\u8d44\u6e90\u5f97\u5230\u91ca\u653e\u65f6\uff0c\u9ad8\u4f18\u4efb\u52a1\u4f18\u5148\u88ab\u8c03\u5ea6\u3002<\/li>Kwaiflow \u7684\u6267\u884c\u5668\u6309\u7167\u4e0d\u540c\u4f18\u5148\u7ea7\u8fdb\u884c\u5206\u7ec4<\/strong>\u3002\u5305\u62ec\u4e09\u7ec4\uff1aP0 \u6267\u884c\u5668\u7ec4\u3001P1 \u6267\u884c\u5668\u7ec4\u4ee5\u53ca P2 P3 \u6267\u884c\u5668\u7ec4\u3002P0 \u6267\u884c\u5668\u7528\u4e8e\u6267\u884c\u6700\u9ad8\u4f18\u5148\u7ea7\u7684 P0 \u4efb\u52a1\uff0c\u5177\u6709\u5145\u8db3\u7684 worker\uff0cP0 \u4efb\u52a1\u5b9e\u4f8b\u57fa\u672c\u4e0d\u4f1a\u5728\u6267\u884c\u5668\u5c42\u88ab\u9650\u5236\u3002\u5bf9\u4e8e P2 P3 \u5206\u7ec4\uff0c\u5728\u8c03\u5ea6\u9ad8\u5cf0\u671f\uff0c\u4efb\u52a1\u5b9e\u4f8b\u5f88\u591a\u65f6\uff0c\u53ef\u80fd\u5b58\u5728\u6392\u961f\u6267\u884c\u7684\u60c5\u51b5\u3002<\/li>Kwaiflow \u5177\u6709\u8f83\u5f3a\u7684\u4eba\u5de5\u7ba1\u63a7\u80fd\u529b<\/strong>\uff0c\u53ef\u4ee5\u4eba\u4e3a\u5730\u5141\u8bb8\u6216\u8005\u963b\u65ad\u67d0\u4e9b\u4efb\u52a1\u7684\u8c03\u5ea6\u3002\u5178\u578b\u4f7f\u7528\u573a\u666f\u662f\u5728\u5927\u578b\u6d3b\u52a8\u671f\u95f4\uff0c\u53ef\u4ee5\u6839\u636e\u9884\u6848\uff0c\u5bf9\u4f4e\u4f18\u5148\u7ea7\u7684\u4efb\u52a1\u4eba\u4e3a\u8fdb\u884c\u5ef6\u8fdf\u8c03\u5ea6\uff0c\u4fdd\u969c\u8d44\u6e90\u5206\u914d\u7ed9\u9ad8\u4f18\u4efb\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u524d\u9762\u4e3b\u8981\u4ece\u7cfb\u7edf\u8bbe\u8ba1\u65b9\u9762\u4ecb\u7ecd\u4e86\u7ebf\u4e0a\u6545\u969c\u7684\u81ea\u52a8\u89c4\u907f\u3002Kwaiflow \u9ad8\u53ef\u7528\u7684\u7b2c\u4e8c\u4e2a\u65b9\u9762\u662f\u6545\u969c\u7684\u53d1\u73b0\u548c\u5904\u7406\u3002\u5982\u679c\u6545\u969c\u53d1\u73b0\u4e0d\u53ca\u65f6\u3001\u5904\u7406\u4e0d\u8fc5\u901f\uff0c\u4f1a\u51fa\u73b0\u5927\u89c4\u6a21\u7684\u8c03\u5ea6\u9519\u8bef\u6216\u8005\u8c03\u5ea6\u5ef6\u8fdf\u6545\u969c\u3002\u5728\u5feb\u624b\u8c03\u5ea6\u7cfb\u7edf\u53d1\u5c55\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u78b0\u5230\u8fc7\u8fd9\u6837\u7684\u5927\u6545\u969c\uff0c\u4e3a\u4e86\u907f\u514d\u518d\u6b21\u53d1\u751f\uff0c\u6211\u4eec\u5efa\u7acb\u4e86\u5b8c\u5907\u7684\u76d1\u63a7\u9884\u6848\u4f53\u7cfb\u3002<\/p>\n\n\n\n\u5728\u76d1\u63a7\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5206\u6210\u4f7f\u7528\u5c42\u3001\u670d\u52a1\u5c42\u3001\u4f9d\u8d56\u5c42\u4e09\u4e2a\u5c42\u6b21\uff0c\u5e76\u5212\u5206\u76d1\u63a7\u4f18\u5148\u7ea7\uff0c\u91c7\u7528\u4e0d\u540c\u7684\u54cd\u5e94\u65b9\u5f0f\u3002<\/li>\u5728\u6545\u969c\u9884\u6848\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u6709\u4e24\u7c7b\u9884\u6848\uff1a\u7cfb\u7edf\u6545\u969c\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u8c03\u5ea6\u7cfb\u7edf\u81ea\u8eab\u95ee\u9898\uff1b\u6570\u636e\u5f02\u5e38\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u94fe\u8def\u6570\u636e\u4e0d\u6b63\u786e\u7684\u95ee\u9898\u3002\u6211\u4eec\u6c89\u6dc0\u4e86\u591a\u573a\u666f\u7684\u963b\u65ad\u6062\u590d\u548c\u8865\u6570\u636e\u5de5\u5177\uff0c\u80fd\u591f\u5728\u6570\u5206\u949f\u5185\u542f\u52a8\u6570\u636e\u6062\u590d\u3002<\/li>\u5728\u6f14\u7ec3\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5b9a\u671f\u5bf9\u9884\u6848\u8fdb\u884c\u6f14\u7ec3\uff0c\u4fdd\u8bc1\u9884\u6848\u7684\u53ef\u7528\u6027\uff0c\u64cd\u4f5c\u7684\u719f\u7ec3\u6027\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n3. \u5173\u952e\u6280\u672f\uff1a\u5f00\u653e\u80fd\u529b<\/h1>\n\n\n\n\u5f00\u653e\u662f\u6570\u636e\u4e2d\u53f0\u7684\u6838\u5fc3\u7ade\u4e89\u529b\u3002\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u7ed9\u4e88\u4f7f\u7528\u8005\u81ea\u7531\u7684\u53d1\u6325\u7a7a\u95f4\uff0c\u6ee1\u8db3\u66f4\u591a\u4f7f\u7528\u573a\u666f\uff1b\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u6784\u5efa\u6570\u636e\u751f\u6001\uff0c\u63d0\u4f9b\u66f4\u4e30\u5bcc\u7684\u80fd\u529b\u3002Kwaiflow \u63d0\u4f9b\u4e86\u591a\u79cd\u5f00\u653e\u80fd\u529b\uff1a<\/p>\n\n\n\nKwaiflow \u5177\u6709\u5f00\u653e\u7684 API\uff0c\u652f\u6301\u591a\u8bed\u8a00 SDK\uff0c\u63d0\u4f9b\u4e86\u6807\u51c6\u5316\u7684\u63a5\u5165\u6d41\u7a0b\u3001\u4f7f\u7528\u624b\u518c\u548c\u63a5\u5165 demo\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u6807\u51c6\u7684\u4e8b\u4ef6\u3002\u5305\u62ec\u4efb\u52a1\u64cd\u4f5c\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d8\u66f4\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u8bca\u65ad\u4e8b\u4ef6\u7b49\u3002\u6839\u636e\u8fd9\u4e9b\u4e8b\u4ef6\uff0c\u53ef\u4ee5\u5b8c\u6574\u590d\u73b0\u51fa\u4efb\u52a1\u548c\u4efb\u52a1\u5b9e\u4f8b\u7684\u5168\u751f\u547d\u5468\u671f\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u63d2\u4ef6\u5316\u4efb\u52a1\u7c7b\u578b\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5b9a\u4e49\u548c\u5f00\u53d1\u81ea\u5b9a\u4e49\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u5e76\u8fdb\u884c\u7075\u6d3b\u6d4b\u8bd5\u3001\u7070\u5ea6\u4e0a\u7ebf\u548c\u7ba1\u7406\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86 Hook\uff0c\u53ef\u4ee5\u5728\u7528\u6237\u4ee3\u7801\u8fd0\u884c\u524d\u540e\u6267\u884c\u3002\u5305\u62ec\u6267\u884c\u524d\u7684 Prehook \u548c\u6267\u884c\u540e\u7684 Posthook\u3002\u5e38\u89c1\u573a\u666f\u5305\u62ec\u7528\u4e8e\u4ee3\u7801\u6e32\u67d3\u3001\u524d\u7f6e\u68c0\u67e5\u7684 Prehook\uff0c\u4ee5\u53ca\u7528\u4e8e\u6267\u884c\u540e\u6570\u636e\u8d28\u91cf\u68c0\u6d4b\u7684 Posthook\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u4e0e\u6210\u679c<\/strong><\/p>\n\n\n\n\u5982\u679c\u628a\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6bd4\u4f5c\u5927\u697c\u7684\u9aa8\u67b6\uff0c\u90a3\u4e48\u57fa\u4e8e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u5c31\u662f\u88c5\u4fee\u5b8c\u5584\u3001\u9002\u4e8e\u4eba\u5de5\u4f5c\u751f\u6d3b\u7684\u5927\u53a6\u3002\u901a\u8fc7\u5e94\u7528\uff0c\u80fd\u66f4\u597d\u5730\u4f53\u73b0\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4ef7\u503c\u3002\u5728\u5feb\u624b\uff0c\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4e00\u4e2a\u5178\u578b\u5e94\u7528\u3002<\/p>\n\n\n\n\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u5feb\u624b\u7684\u4e00\u7ad9\u5f0f\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u4f7f\u7528 kwaiflow \u4f5c\u4e3a\u7edf\u4e00\u7684\u7f16\u6392\u4e0e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u6784\u5efa\u4e86\u5404\u7c7b\u7684\u6570\u636e\u5f00\u53d1\u8fd0\u7ef4\u7b49\u670d\u52a1\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u67e5\u8be2\u3001\u540c\u6b65\u3001\u5f00\u53d1\u3001\u670d\u52a1\u5316\u3001\u8fd0\u7ef4\u3001\u7ba1\u7406\u7b49\u80fd\u529b\u3002<\/p>\n\n\n\n\u8be5\u5e73\u53f0\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u4e00\u7ad9\u5f0f<\/strong>\uff1a\u5e73\u53f0\u6db5\u76d6\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u7684\u5404\u73af\u8282\uff0c\u5305\u62ec\u6570\u636e\u63a5\u5165\u3001\u6570\u636e\u52a0\u5de5\u3001\u6570\u636e\u5206\u53d1\u548c\u6570\u636e\u670d\u52a1\u5316\u3002\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u6e90\u7ba1\u7406\uff0c\u521b\u5efa\u6570\u636e\u63a5\u5165\u4efb\u52a1\u5c06\u5404\u79cd\u6570\u636e\u6e90\u5bfc\u5165\u5230\u5927\u6570\u636e\u7cfb\u7edf\u4e2d\uff1b\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u667a\u80fd IDE \u7f16\u5199\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03 ETL \u4efb\u52a1\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5de5\u5904\u7406\uff0c\u4ea7\u751f\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b\u7528\u6237\u8fd8\u53ef\u4ee5\u521b\u5efa\u6570\u636e\u5206\u53d1\u4efb\u52a1\uff0c\u5c06\u9ad8\u4ef7\u503c\u6570\u636e\u5206\u53d1\u5230\u5176\u5b83\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u4f8b\u5982\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u975e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u7f13\u5b58\u7cfb\u7edf\u3001OLAP \u5f15\u64ce\u7b49\u3002\u7528\u6237\u4e5f\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u914d\u7f6e\u7684\u65b9\u5f0f\u521b\u5efa\u670d\u52a1\u5316 API\uff0c\u4e3a\u7ebf\u4e0a\u7cfb\u7edf\u63d0\u4f9b\u670d\u52a1\u3002<\/li>\u901a\u7528<\/strong>\uff1a\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u80fd\u7edf\u4e00\u8fd0\u7ef4 Kwaiflow \u6240\u6709\u4efb\u52a1\uff0c\u5305\u62ec\u4efb\u52a1\u8fd0\u7ef4\u3001\u5b9e\u4f8b\u8fd0\u7ef4\u3001\u94fe\u8def\u8fd0\u7ef4\u7b49\u65b9\u5f0f\uff0c\u9002\u5408\u6570\u636e\u5f00\u53d1\u3001\u5b9a\u65f6\u8c03\u5ea6\u3001\u89e6\u53d1\u5f0f\u8c03\u5ea6\u7b49\u573a\u666f\u3002<\/li>\u667a\u80fd<\/strong>\uff1a\u5728\u5f00\u53d1\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd IDE\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4ee3\u7801\u95ee\u9898\uff1b\u5728\u8fd0\u7ef4\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd\u76d1\u63a7\u3001\u667a\u80fd\u8bca\u65ad\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4efb\u52a1\u548c\u94fe\u8def\u95ee\u9898\uff0c\u5e76\u8f85\u52a9\u5b9a\u4f4d\u95ee\u9898\u539f\u56e0\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8981\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u4e0d\u4ec5\u8981\u6709\u5f3a\u5927\u7684\u81ea\u8eab\u80fd\u529b\uff0c\u66f4\u8981\u6709\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\u3002\u5728\u5feb\u624b\uff0cKwaiflow \u548c\u5927\u6570\u636e\u7684\u5176\u5b83\u7cfb\u7edf\u6df1\u5ea6\u96c6\u6210\uff0c\u63a5\u5165\u4e86 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u4fbf\u6377\u5730\u4f7f\u7528\u5176\u5b83\u5927\u6570\u636e\u7cfb\u7edf\u7684\u80fd\u529b\u3002\u53ef\u4ee5\u8bf4\uff0c\u81ea\u8eab\u80fd\u529b\u548c\u751f\u6001\u4f53\u7cfb\u5bf9 Kwaiflow \u6765\u8bf4\u540c\u7b49\u91cd\u8981\u3002<\/p>\n\n\n\n\u9996\u5148\uff0c\u5c31\u81ea\u8eab\u800c\u8a00\uff0cKwaiflow \u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u6267\u884c\u80fd\u529b\u3002\u5305\u62ec\u591a\u573a\u666f\u8c03\u5ea6\u80fd\u529b\u3001\u591a\u6837\u5316\u7684\u6267\u884c\u80fd\u529b\u3001\u6613\u7528\u7684\u8fd0\u7ef4\u80fd\u529b\u548c\u9ad8\u53ef\u7528\u7684\u7279\u6027\u3002<\/p>\n\n\n\n\u5176\u6b21\uff0cKwaiflow \u5177\u6709\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\u3002\u63a5\u5165 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u65b9\u4fbf\u5730\u4f7f\u7528\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\u3002<\/p>\n\n\n\n\u6700\u540e\uff0cKwaiflow \u65e0\u7f1d\u96c6\u6210\u4e86\u5176\u5b83\u4e2d\u53f0\u80fd\u529b\u3002\u5305\u62ec\u6570\u636e\u8d28\u91cf\u3001\u6570\u636e\u5b89\u5168\u4f53\u7cfb\u3001\u5b8c\u6574\u51c6\u786e\u7684\u4efb\u52a1\u5b9e\u4f8b\u8840\u7f18\u3001\u94fe\u8def\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5c06\u4ece\u6027\u80fd\u3001\u529f\u80fd\u548c\u4f7f\u7528\u60c5\u51b5\u4e09\u4e2a\u65b9\u9762\u4ecb\u7ecd Kwaiflow \u7684\u6210\u679c\u3002<\/p>\n\n\n\n\u5728\u6027\u80fd\u65b9\u9762<\/strong>\uff0c\u548c Airflow \u76f8\u6bd4\uff0c\u6709\u6781\u5927\u7684\u63d0\u5347\uff1a<\/p>\n\n\n\n\u5728\u89c4\u6a21\u4e0a\uff0cKwaiflow \u521d\u7248\u8bbe\u8ba1\u5bb9\u91cf\u4e3a\u767e\u4e07\u7ea7\u522b\u4efb\u52a1\uff0c\u5f53\u524d\u5df2\u6709\u6570\u5341\u4e07\u7684\u4efb\u52a1\u6570\uff0c\u548c Airflow \u5355\u96c6\u7fa4\u4e0d\u8d85\u8fc7 1 \u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\u3002<\/li>\u5728\u6027\u80fd\u4e0a\uff0cKwaiflow \u8c03\u5ea6\u9ad8\u5cf0\u671f\u7684\u8c03\u5ea6\u5ef6\u8fdf P99 \u5c0f\u4e8e 5 \u79d2\uff0c\u548c Airflow 5 \u5206\u949f\u76f8\u6bd4\uff0c\u6709\u6570\u91cf\u7ea7\u7684\u63d0\u5347\uff1bKwaiflow \u8d77\u8c03\u901f\u7387\u5341\u6570\u4e07\u6bcf\u5206\u949f\uff0c\u548c Airflow \u6570\u5343\u6bcf\u5206\u949f\u5bf9\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\uff1bKwaiflow \u8fd0\u884c\u7684\u5e76\u53d1\u5b9e\u4f8b\u6570\u5341\u6570\u4e07\u4e07\uff0c\u548c Airflow \u5c0f\u4e8e1\u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u5341\u6570\u500d\u3002<\/li>\u5728\u7a33\u5b9a\u6027\u4e0a\uff0cKwaiflow \u53ef\u7528\u6027\u4e3a 99.99%\uff0c Airflow \u5219\u4e3a 99.5%\uff1bKwaiflow \u5e74\u6545\u969c\u6570\u7ea6 1 \u4e2a\uff0c\u800c Airflow \u5e74\u5747\u4e3a 8 \u4e2a\u3002<\/li><\/ul>\n\n\n\n\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5728\u521d\u671f\uff0c\u5feb\u624b\u4f7f\u7528 Airflow \u5f53\u4f5c\u4efb\u52a1\u8c03\u5ea6\u5f15\u64ce\uff0c\u4f46\u540e\u6765\u53c8\u653e\u5f03\u4e86\u3002\u6211\u4eec\u4e3a\u4ec0\u4e48\u4f1a\u505a\u51fa\u8fd9\u6837\u7684\u9009\u62e9\u5462\uff1f\u8fd9\u5c31\u9700\u8981\u5206\u6790 Airflow \u7684\u4f18\u70b9\u548c\u75db\u70b9\u3002Airflow \u662f\u4ee5\u7f16\u7a0b\u65b9\u5f0f\u521b\u5efa\u3001\u8c03\u5ea6\u548c\u76d1\u63a7\u5de5\u4f5c\u6d41\u7684\u5f00\u6e90\u7cfb\u7edf\u3002Airflow \u5177\u6709\u5f88\u591a\u4f18\u70b9\uff0c\u5305\u62ec\uff1a<\/p>\n\n\n\n
\u8fd9\u4e9b\u4f18\u70b9\u662f\u6211\u4eec\u9009\u62e9 Airflow \u7684\u539f\u56e0\u3002<\/p>\n\n\n\n
\u4f46\u968f\u7740\u4efb\u52a1\u89c4\u6a21\u589e\u5927\uff0cAirflow \u7684\u75db\u70b9\u4e5f\u5f88\u660e\u663e\uff1a<\/p>\n\n\n\n
\u7531\u4e8e\u8fd9\u4e9b\u75db\u70b9\u7684\u5b58\u5728\uff0c\u6211\u4eec\u51b3\u5b9a\u81ea\u7814\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n02<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u6574\u4f53\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n\u5728 2019 \u5e74\u4e2d\u65ec\uff0c\u6211\u4eec\u5f00\u59cb\u81ea\u7814\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf Kwaiflow\uff0c\u5e76\u5728\u4e0b\u534a\u5e74\u4e0a\u7ebf 1.0 \u7248\u672c\u3002<\/p>\n\n\n\nKwaiflow \u662f\u5feb\u624b\u901a\u7528\u3001\u9ad8\u6027\u80fd\u3001\u6613\u6269\u5c55\u7684\u5206\u5e03\u5f0f\u5de5\u4f5c\u6d41\u8c03\u5ea6\u7cfb\u7edf\u3002\u5176\u8bbe\u8ba1\u76ee\u6807\u4ece\u4e24\u65b9\u9762\u8003\u8651\u3002<\/p>\n\n\n\n\u5728\u529f\u80fd\u578b\u76ee\u6807\u65b9\u9762<\/strong>\uff1a<\/p>\n\n\n\n\u573a\u666f\u4e30\u5bcc\uff1a\u652f\u6301\u591a\u573a\u666f\u8c03\u5ea6\uff0c\u591a\u79cd\u73af\u5883\u6267\u884c\uff0c\u652f\u6301\u591a\u6837\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b<\/li>\u8fd0\u7ef4\u4fbf\u6377\uff1a\u53ef\u4ee5\u8fdb\u884c\u53ef\u89c6\u5316\u3001\u667a\u80fd\u3001\u4fbf\u6377\u5730\u8fd0\u7ef4<\/li>\u4fbf\u4e8e\u5f00\u653e\uff1a\u5177\u6709\u5f3a\u5927\u7684\u5f00\u653e\u80fd\u529b\uff0c\u6613\u4e8e\u7cfb\u7edf\u96c6\u6210\uff0c\u6784\u5efa\u7edf\u4e00\u751f\u6001<\/li><\/ul>\n\n\n\n\u5728\u975e\u529f\u80fd\u578b\u76ee\u6807\u65b9\u9762<\/strong>\uff1a<\/p>\n\n\n\n\u9ad8\u5bb9\u91cf\uff1a\u652f\u6301\u767e\u4e07\u7ea7\u4efb\u52a1\u5bb9\u91cf<\/li>\u9ad8\u6027\u80fd\uff1a\u79d2\u7ea7\u6216\u8005\u4e9a\u79d2\u7ea7\u8c03\u5ea6\u5ef6\u8fdf<\/li>\u9ad8\u53ef\u7528\uff1a\u53ef\u7528\u6027 99.99%\uff0c\u7ebf\u4e0a\u95ee\u9898\u5c11\uff0c\u51fa\u73b0\u65f6\u80fd\u53ca\u65f6\u53d1\u73b0\u5feb\u901f\u5e76\u5904\u7406<\/li><\/ul>\n\n\n\n\u5728\u5b9a\u4f4d\u4e0a\uff0cKwaiflow \u57fa\u4e8e\u5927\u6570\u636e\u4f53\u7cfb\u548c\u5176\u5b83\u57fa\u7840\u8bbe\u65bd\uff0c\u63d0\u4f9b\u8c03\u5ea6\u3001\u6267\u884c\u7b49\u6838\u5fc3\u80fd\u529b\uff0c\u540c\u65f6\u5177\u6709\u8fd0\u7ef4\u3001\u76d1\u63a7\u62a5\u8b66\u3001\u667a\u80fd\u8bca\u65ad\u3001\u5f00\u653e\u670d\u52a1\u7b49\u91cd\u8981\u80fd\u529b\uff0c\u6784\u5efa\u8c03\u5ea6\u751f\u6001\uff1b\u9762\u5411\u6570\u636e\u5904\u7406\u3001\u6d41\u7a0b\u7f16\u6392\u3001\u7b97\u6cd5\u8c03\u5ea6\u548c\u5206\u5e03\u5f0f\u8ba1\u7b97\u7b49\u573a\u666f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u8c03\u5ea6\u6a21\u578b\u4e0a\uff0cKwaiflow \u91c7\u7528\u4e86\u4e24\u5c42\u5b9e\u4f53\u7684\u8c03\u5ea6\u6a21\u578b\uff1a<\/p>\n\n\n\nTask\uff1a\u6267\u884c\u6a21\u677f\uff0c\u7528\u4e8e\u6267\u884c\u67d0\u4e00\u7c7b\u578b\u7684\u4ee3\u7801\uff1bTask \u6709\u5f88\u591a\u7c7b\u578b\uff0c\u4f8b\u5982 HiveTask \u7528\u4e8e\u6267\u884c Hive SQL\uff0cBashTask \u7528\u4e8e\u6267\u884c Bash \u811a\u672c\uff0cHivePartitionSensorTask \u7528\u4e8e\u63a2\u6d4b hive \u8868\u5206\u533a\u662f\u5426\u5b58\u5728\u3002<\/li>DAG\uff1a\u4e00\u7cfb\u5217 Task \u7684\u96c6\u5408\uff0c\u5177\u6709\u8c03\u5ea6\u5b9a\u65f6\u7b49\u5c5e\u6027\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f9d\u8d56\u5173\u7cfb\u65b9\u9762\uff0cDAG \u4e4b\u95f4\u53ef\u4ee5\u76f8\u4e92\u4f9d\u8d56\uff0c\u65e2\u53ef\u4ee5\u540c\u5468\u671f\u4f9d\u8d56\uff0c\u4e5f\u53ef\u4ee5\u8de8\u5468\u671f\u4f9d\u8d56\uff0c\u8fd8\u53ef\u4ee5\u6709\u4f9d\u8d56\u504f\u79fb\u3002DAG \u5185\u7684 Task \u4e4b\u95f4\u4e5f\u53ef\u4ee5\u4f9d\u8d56\uff0c\u7531\u4e8e\u4ed6\u4eec\u8c03\u5ea6\u5c5e\u6027\u4e00\u81f4\uff0c\u6240\u4ee5\u90fd\u4e3a\u540c\u5468\u671f\u4f9d\u8d56\u3002<\/p>\n\n\n\n\u4e00\u822c\u6765\u8bb2\uff0c\u5e38\u89c1\u7684\u8c03\u5ea6\u6a21\u578b\u9664\u4e86\u53cc\u5c42\u5b9e\u4f53\u6a21\u578b\u5916\uff0c\u8fd8\u6709\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u3002\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u6ca1\u6709 DAG \u7684\u6982\u5ff5\uff0c\u53ea\u6709 Task\uff0cTask \u5177\u6709\u8c03\u5ea6\u5c5e\u6027\uff0cTask \u4e4b\u95f4\u76f8\u4e92\u4f9d\u8d56\u3002\u4e24\u79cd\u6a21\u578b\u5404\u6709\u4f18\u52a3\u3002\u53cc\u5c42\u6a21\u578b\u66f4\u9002\u5408\u5feb\u624b\u7684\u60c5\u51b5\uff0c\u5177\u6709\u66f4\u5f3a\u7684\u8868\u8fbe\u529b\uff0c\u4f7f\u7528\u573a\u666f\u66f4\u5e7f\u6cdb\uff0c\u5f53\u7136\u4e5f\u5177\u6709\u4e00\u5b9a\u7684\u590d\u6742\u6027\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u7cfb\u7edf\u67b6\u6784\u4e0a\uff1a<\/p>\n\n\n\nAPI Server \u63d0\u4f9b\u5404\u5f0f\u5404\u6837\u7684\u63a5\u53e3\uff0c\u8d1f\u8d23\u7edf\u4e00\u63a5\u5165\u3002<\/li>Scheduler \u8d1f\u8d23\u8c03\u5ea6\uff0c\u4e0d\u540c\u7684\u8c03\u5ea6\u573a\u666f\u4f1a\u6709\u4e0d\u540c\u7c7b\u578b\u7684\u8c03\u5ea6\u5668\uff0c\u5305\u62ec\u4f8b\u884c\u3001\u89e6\u53d1\u5f0f\u3001\u8865\u6570\u636e\u3001\u963b\u65ad\u8c03\u5ea6\u5668\u3002\u5728\u4f8b\u884c\u8c03\u5ea6\u5668\u4e2d\uff0c\u4efb\u52a1\u5b9e\u4f8b\u751f\u6210\u540e\uff0c\u4f1a\u4f9d\u6b21\u7ecf\u8fc7\u5b9a\u65f6\u68c0\u6d4b\u3001\u4f9d\u8d56\u68c0\u6d4b\u548c\u8d44\u6e90\u68c0\u6d4b\u3002\u5982\u679c\u90fd\u901a\u8fc7\uff0c\u4f1a\u63d0\u4ea4\u5230 Queue Service \u4e2d\u3002<\/li>Queue Service \u4e3a\u5e26 ack \u673a\u5236\u7684\u6d88\u606f\u961f\u5217\u670d\u52a1\uff0c\u4f1a\u6709\u4e0d\u540c\u7684 channel\uff0c\u4ee5\u4fbf\u9694\u79bb\u4efb\u52a1\u3002<\/li>Worker \u8d1f\u8d23\u4efb\u52a1\u7684\u6267\u884c\uff0c\u4ece\u5c5e\u4e00\u4e2a worker \u5206\u7ec4\u3002\u4e0d\u540c\u5206\u7ec4\u7684 Worker \u6d88\u8d39 Queue Service \u4e2d\u4e0d\u540c Channel \u7684\u4efb\u52a1\uff0c\u6839\u636e\u4e0d\u540c\u7684\u4efb\u52a1\u7c7b\u578b\u8fdb\u884c\u6267\u884c\u3002\u6267\u884c\u5206\u4e3a\u672c\u5730\u6267\u884c\u548c\u5bb9\u5668\u5316\u6267\u884c\u4e24\u79cd\u65b9\u5f0f\uff0c\u672c\u5730\u6267\u884c\u662f\u6307\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u5185\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\uff1b\u5177\u6709\u542f\u52a8\u5feb\u7684\u7279\u70b9\uff1b\u5bb9\u5668\u5316\u6267\u884c\u662f\u6307\u5728 k8s \u8fdc\u7a0b\u6267\u884c\u7528\u6237\u4ee3\u7801\uff0c\u5177\u6709\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\u7684\u7279\u70b9\u3002<\/li><\/ul>\n\n\n\n\u9664\u6b64\u4e4b\u5916\uff0c\u8fd8\u6709\u5176\u5b83\u5173\u952e\u6a21\u5757\uff0c\u5305\u62ec\u65e5\u5fd7\u670d\u52a1\u3001\u62a5\u8b66\u670d\u52a1\u3001\u4e8b\u4ef6\u670d\u52a1\u3001\u5b9e\u4f8b\u8840\u7f18\u670d\u52a1\u7b49\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5173\u952e\u6280\u672f<\/strong><\/p>\n\n\n\n1. \u5173\u952e\u6280\u672f\uff1a\u4f4e\u8c03\u5ea6\u5ef6\u8fdf<\/h1>\n\n\n\n\u8c03\u5ea6\u5ef6\u8fdf\u662f\u6307\u7406\u8bba\u8d77\u8c03\u65f6\u523b\u5230\u5b9e\u9645\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\u7684\u65f6\u95f4\u5dee\u3002\u8c03\u5ea6\u5ef6\u8fdf\u662f\u8861\u91cf\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6027\u80fd\u7684\u91cd\u8981\u6307\u6807\u4e4b\u4e00\uff0c\u8be5\u6307\u6807\u8d8a\u5c0f\u8d8a\u597d\u3002<\/p>\n\n\n\n\u4efb\u52a1\u5b9e\u4f8b\u4ece\u751f\u6210\uff0c\u5230\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\uff0c\u9700\u8981\u7ecf\u8fc7\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\u3001\u7b49\u5f85\u4f9d\u8d56\u5c31\u7eea\u3001\u7b49\u5f85\u8d44\u6e90\u5c31\u7eea\u548c\u51c6\u5907\u8fd0\u884c\u73af\u5883\u56db\u4e2a\u9636\u6bb5\u3002\u8981\u6709\u8f83\u5c0f\u7684\u8c03\u5ea6\u5ef6\u8fdf\uff0c\u5c31\u9700\u8981\u51cf\u5c11\u5404\u4e2a\u9636\u6bb5\u7684\u7cfb\u7edf\u65f6\u95f4\u635f\u8017\u3002\u8c03\u5ea6\u5ef6\u8fdf\u7684\u4e3b\u8981\u56e0\u7d20\u4e0e\u5904\u7406\u65b9\u6848\u6709\uff1a<\/p>\n\n\n\n\u5b9a\u65f6\u5668<\/strong>\u3002\u5b9a\u65f6\u5668\u5728\u63a2\u6d4b\u65f6\u95f4\u5c31\u7eea\u73af\u8282\u8d77\u4f5c\u7528\uff0c\u4e00\u4e2a\u7cbe\u51c6\u7684\u3001\u652f\u6301\u767e\u4e07\u7ea7\u522b\u9ad8\u541e\u5410\u7684\u5b9a\u65f6\u5668\uff0c\u5bf9\u4f4e\u8c03\u5ea6\u5ef6\u8fdf\u81f3\u5173\u91cd\u8981\u3002\u4f18\u79c0\u7684\u5b9a\u65f6\u5668\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u6570\u636e\u5e93\u8bbf\u95ee<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d1\u751f\u53d8\u66f4\u540e\uff0c\u9700\u8981\u5bf9\u72b6\u6001\u8fdb\u884c\u6301\u4e45\u5316\u3002\u901a\u8fc7\u7d22\u5f15\u3001\u8bfb\u5199\u5206\u79bb\u3001\u5206\u5e93\u5206\u8868\u7b49\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5c06\u5355\u6b21\u6570\u636e\u5e93\u8bbf\u95ee\u8017\u65f6\u63a7\u5236\u5728 1 ~ 3ms\uff0c\u603b\u4f53\u8017\u65f6\u63a7\u5236\u5728 10ms \u5de6\u53f3 \u3002<\/li>\u72b6\u6001\u8f6c\u53d8<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u81ea\u751f\u6210\u5230\u8fd0\u884c\u7ed3\u675f\uff0c\u4f1a\u7ecf\u5386\u591a\u6b21\u72b6\u6001\u8f6c\u53d8\u3002\u72b6\u6001\u8f6c\u53d8\u9ad8\u6548\u4e0e\u5426\u662f\u8c03\u5ea6\u5ef6\u8fdf\u7684\u91cd\u8981\u56e0\u7d20\u3002\u4e00\u822c\u6765\u8bf4\u6709\u4e24\u79cd\u529e\u6cd5\uff1a\u8f6e\u8be2\u4e0e\u4e8b\u4ef6\u89e6\u53d1\u3002\u6211\u4eec\u91c7\u7528\u7684\u662f\u4e8b\u4ef6\u89e6\u53d1\u65b9\u5f0f\uff0c\u7b2c\u4e00\u65f6\u95f4\u611f\u77e5\u72b6\u6001\u8f6c\u53d8\u3002\u901a\u8fc7\u4e8b\u4ef6\u89e6\u53d1\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u8fd0\u884c\u73af\u5883\u51c6\u5907<\/strong>\u3002\u8fd9\u4e2a\u73af\u8282\u4e3b\u8981\u5de5\u4f5c\u5305\u62ec\u52a0\u8f7d\u955c\u50cf\u3001\u521d\u59cb\u5316\u8fd0\u884c\u73af\u5883\u7b49\u3002\u6211\u4eec\u4e3b\u8981\u91c7\u7528\u4e86\u9884\u52a0\u8f7d\u548c\u955c\u50cf\u9884\u70ed\u6280\u672f\u3002\u4e0d\u540c\u7684\u8fd0\u884c\u73af\u5883\uff0c\u65f6\u95f4\u635f\u8017\u4e0d\u4e00\u6837\uff0c\u4f1a\u5728\u4e9a\u79d2\u5230\u5206\u949f\u4e0d\u7b49\u3002<\/li><\/ul>\n\n\n\n\u8fd9\u56db\u4e2a\u56e0\u7d20\u4e2d\uff0c\u540e\u4e24\u8005\u76f8\u5bf9\u8f83\u590d\u6742\uff0c\u63a5\u4e0b\u6765\u7740\u91cd\u4ecb\u7ecd\u72b6\u6001\u8f6c\u53d8\u548c\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e24\u90e8\u5206\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u9996\u5148\u770b\u72b6\u6001\u8f6c\u53d8\u8fd9\u4e2a\u56e0\u7d20\u3002\u4efb\u52a1\u4ece\u53d1\u5e03\uff0c\u5230\u8c03\u5ea6\u6267\u884c\u5b8c\u6210\uff0c\u4f1a\u7ecf\u5386\u6570\u6b21\u6216\u8005\u5341\u6570\u6b21\u72b6\u6001\u53d8\u5316\u3002\u5982\u4f55\u8fdb\u884c\u5feb\u901f\u9ad8\u6548\u5730\u72b6\u6001\u8f6c\u53d8\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u95ee\u9898\u3002Kwaiflow \u7684\u89e3\u51b3\u529e\u6cd5\u662f\u91c7\u7528 Akka actor\u3002\u5145\u5206\u5229\u7528\u4e86 akka actor \u9ad8\u6027\u80fd\u7279\u70b9\u3002<\/p>\n\n\n\n\u5177\u4f53\u6765\u8bb2\uff1a<\/p>\n\n\n\n1. Kwaiflow \u7684\u4efb\u52a1\u4ece API Server \u53d1\u5e03\u540e\uff0c\u7ecf\u8fc7 Entry Actor \u52a0\u8f7d\u5230 DagLoader Actors \u4e2d\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\uff1b<\/p>\n\n\n\n2. \u5728\u65f6\u95f4\u5c31\u7eea\u540e\uff0c\u7531 Instance Generator Actors \u751f\u6210\u4efb\u52a1\u5b9e\u4f8b\uff0c\u7136\u540e\u8fdb\u5165 Dependency Detector Actor \u63a2\u6d4b\u4e0a\u6e38\u4f9d\u8d56\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n3. \u5728\u4f9d\u8d56\u5c31\u7eea\u540e\uff0c\u8fdb\u5165 Resource Detector Actor \u63a2\u6d4b\u8d44\u6e90\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n4. \u5728\u8d44\u6e90\u5c31\u7eea\u540e\uff0c\u4efb\u52a1\u5b9e\u4f8b\u901a\u8fc7 Queue Service \u4e0b\u53d1\u5230 worker \u4e2d\u3002<\/p>\n\n\n\n5. \u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u88ab\u63a5\u6536\u540e\uff0c\u5c06\u4f1a\u7531 Processor Actor \u6267\u884c\uff0c\u6267\u884c\u524d\u540e\u4f1a\u4f9d\u6b21\u7ecf\u5386\u4ee3\u7801\u6e32\u67d3\u3001Prehook\u3001\u4ee3\u7801\u6267\u884c\u3001Posthook \u56db\u4e2a\u6b65\u9aa4\u3002<\/p>\n\n\n\n6. \u5982\u679c\u6267\u884c\u6210\u529f\uff0c\u5219\u6d41\u7a0b\u7ec8\u6b62\uff1b\u5982\u679c\u6267\u884c\u5931\u8d25\uff0cPosthook \u4f1a\u5c06\u4fe1\u606f\u901a\u8fc7 Processor Actor\u3001ResultHandlerActor \u4f20\u9012\u7ed9 scheduler \u7684 RetryerActor \u8fdb\u884c\u91cd\u8bd5\u64cd\u4f5c\u3002<\/p>\n\n\n\n\u6574\u4e2a\u6d41\u7a0b\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u5168\u6d41\u7a0b\u4e8b\u4ef6\u89e6\u53d1<\/strong>\uff1a\u65e0\u8f6e\u8be2\uff0c\u4efb\u52a1\u53d1\u5e03\u3001\u8c03\u5ea6\u3001\u6267\u884c\u3001\u91cd\u8bd5\uff0c\u5747\u4e3a\u4e8b\u4ef6\u89e6\u53d1\u3002<\/li>\u9ad8\u541e\u5410<\/strong>\uff1a\u91c7\u7528\u5f02\u6b65\u5e76\u53d1\u7684\u65b9\u5f0f\uff0c\u80fd\u5feb\u901f\u8c03\u8d77\u5927\u91cf\u4efb\u52a1\u5b9e\u4f8b<\/li>\u7b80\u5355\u6613\u7528<\/strong>\uff1a\u65e0\u9700\u4f7f\u7528\u5e95\u5c42 API \u8fdb\u884c\u9501\u548c\u7ebf\u7a0b\u7ba1\u7406\uff0c\u4e13\u6ce8\u4e1a\u52a1\u5b9e\u73b0\u3002<\/li><\/ul>\n\n\n\n\u91c7\u7528 actor\uff0c\u72b6\u6001\u8f6c\u53d8\u5bfc\u81f4\u7684\u65f6\u95f4\u635f\u8017\u63a7\u5236\u5728\u6beb\u79d2\u7ea7\u522b\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u63a5\u4e0b\u6765\u6211\u4eec\u770b\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e2a\u56e0\u7d20\u3002\u8fd9\u548c\u6267\u884c\u573a\u666f\u6709\u5173\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e0d\u540c\u7684\u6267\u884c\u573a\u666f\uff0cKwaiflow \u63d0\u4f9b\u4e86\u4e24\u79cd\u6267\u884c\u65b9\u5f0f\uff1a\u5bb9\u5668\u5316\u6267\u884c\u548c\u672c\u5730\u6267\u884c\u3002<\/p>\n\n\n\n\u5bb9\u5668\u5316\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u6bcf\u6b21\u6267\u884c\u524d\uff0c\u5728 k8s \u6309\u9700\u7533\u8bf7\u5bb9\u5668\u8d44\u6e90\uff0c\u5728\u5bb9\u5668\u4e2d\u6267\u884c\u4efb\u52a1\u5b9e\u4f8b\uff0c\u6267\u884c\u5b8c\u540e\uff0c\u53ca\u65f6\u91ca\u653e\u5bb9\u5668\u8d44\u6e90\u3002\u4f18\u70b9\u662f\u5b9e\u73b0\u4e86\u6267\u884c\u65f6\u7684\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\uff1b\u7f3a\u70b9\u662f\u6bcf\u6b21\u90fd\u9700\u8981\u7533\u8bf7\u548c\u521d\u59cb\u5316\u5bb9\u5668\u8d44\u6e90\uff0c\u542f\u52a8\u8017\u65f6\u957f\u3002\u5bb9\u5668\u5316\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Bash \u4efb\u52a1\u3002\u4e3a\u4e86\u51cf\u5c11\u5bb9\u5668\u5316\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\uff0c\u6211\u4eec\u5c06\u955c\u50cf\u5206\u4e3a\u81ea\u5b9a\u4e49\u955c\u50cf\u548c\u901a\u7528\u955c\u50cf\uff0c\u5bf9\u901a\u7528\u955c\u50cf\u8fdb\u884c\u9884\u70ed\uff0c\u63d0\u524d\u5206\u53d1\u5230\u673a\u5668\u4e2d\uff0c\u51cf\u5c11\u955c\u50cf\u4e0b\u8f7d\u8017\u65f6\u3002\u901a\u8fc7\u955c\u50cf\u9884\u70ed\uff0c\u53ef\u4ee5\u5c06\u542f\u52a8\u8017\u65f6\u4ece\u5206\u949f\u7ea7\u964d\u4f4e\u5230\u79d2\u7ea7\u3002<\/li>\u672c\u5730\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u673a\u4e2d\uff0c\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\u3002\u540c\u4e00\u4e2a worker \u673a\u4e2d\u7684\u6240\u6709\u4efb\u52a1\u5b9e\u4f8b\u5171\u4eab\u8ba1\u7b97\u8d44\u6e90\u548c\u6267\u884c\u73af\u5883\u3002\u4f18\u70b9\u662f\u542f\u52a8\u8017\u65f6\u77ed\uff0coverhead \u5c0f\uff1b\u7f3a\u70b9\u662f\u8d44\u6e90\u548c\u73af\u5883\u4e0d\u9694\u79bb\uff0c\u4e00\u4e2a\u4efb\u52a1\u5b9e\u4f8b\u6267\u884c\u5f02\u5e38\u6709\u53ef\u80fd\u5bfc\u81f4\u6574\u4e2a worker \u673a crash\u3002\u672c\u5730\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u4e0d\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Hive \u548c Sensor \u4efb\u52a1\u3002\u672c\u5730\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\u4e00\u822c\u5728\u4e9a\u79d2\u7ea7\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n2. \u5173\u952e\u6280\u672f\uff1a\u9ad8\u53ef\u7528<\/h1>\n\n\n\n\u9ad8\u53ef\u7528\u5bf9\u8c03\u5ea6\u7cfb\u7edf\u6765\u8bf4\u975e\u5e38\u91cd\u8981\u3002\u4e3a\u4e86\u4fdd\u969c Kwaiflow \u7684\u9ad8\u53ef\u7528\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e24\u65b9\u9762\u8fdb\u884c\u8003\u8651\uff1a\u7cfb\u7edf\u8bbe\u8ba1\u548c\u6545\u969c\u53d1\u73b0\u5904\u7406\u3002\u5728\u7cfb\u7edf\u8bbe\u8ba1\u4e0a\uff0cKwaiflow \u53ef\u4ee5\u505a\u5230\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5373\u4efb\u52a1\u5b9e\u4f8b\u5728\u590d\u6742\u73af\u5883\u4e2d Exactly Once \u6267\u884c\uff0c\u505a\u5230\u4e0d\u6f0f\uff0c\u4e14\u5c3d\u91cf\u4e0d\u91cd\u3002<\/p>\n\n\n\n\u5bf9\u4e8e\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5e38\u89c1\u7684\u6545\u969c\u573a\u666f\u5305\u62ec\u7ec4\u4ef6\u6545\u969c\u6216\u8005\u7ec4\u4ef6\u5931\u8054\u3002\u4f8b\u5982 scheduler crash\u3001\u5bb9\u5668\u5316\u4efb\u52a1\u4e0e worker \u5931\u8054\u7b49\u3002<\/p>\n\n\n\n\u4e3a\u4e86\u8fbe\u5230\u9ad8\u53ef\u9760\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e09\u65b9\u9762\u8003\u8651\uff1a<\/p>\n\n\n\nFailover \u673a\u5236\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u548c\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\uff0c\u6765\u5b9e\u73b0\u7ec4\u4ef6\u7684\u81ea\u52a8\u5bb9\u9519\u3002\u4f8b\u5982 Kwaiflow \u91c7\u7528\u4e3b\u5907 Master\uff0c\u591a worker \u7684\u8bbe\u8ba1\u6765\u907f\u514d\u5355\u70b9\u95ee\u9898\uff1b\u5404\u4e2a\u7ec4\u4ef6\u4e4b\u95f4\u91c7\u7528\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\u6765\u907f\u514d\u5931\u8054\u95ee\u9898\u3002\u534f\u8bae\u5305\u62ec scheduler Executor \u901a\u4fe1\u534f\u8bae\u3001Executor Runner \u901a\u4fe1\u534f\u8bae\u3001External Job \u901a\u4fe1\u534f\u8bae\u3002\u53f3\u56fe\u5c55\u793a\u4e86 Executor Runner \u901a\u4fe1\u534f\u8bae\u7684\u4e3b\u8981\u6d41\u7a0b\uff0c\u534f\u8bae\u89c4\u5b9a\u4e86\u4efb\u52a1\u63d0\u4ea4\u3001\u6b63\u5e38\u6267\u884c\u3001\u5f02\u5e38\u6267\u884c\u3001\u901a\u4fe1\u5931\u8054\u7684\u5904\u7406\u529e\u6cd5\uff0c\u4e0d\u4f9d\u8d56\u5916\u90e8\u7cfb\u7edf\u7684\u72b6\u6001\u3002<\/li>\u907f\u514d\u9057\u6f0f\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u6d88\u606f ack \u673a\u5236\uff0c\u4fdd\u969c\u6d88\u606f\u4e0d\u4e22\u5931\uff1b\u540c\u65f6\u901a\u8fc7\u5b9a\u671f\u515c\u5e95\u5de1\u68c0\uff0c\u4fdd\u969c\u4efb\u52a1\u5b9e\u4f8b\u4e0d\u9057\u6f0f\u3002<\/li>\u907f\u514d\u91cd\u590d\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u72b6\u6001\u673a\u8f6c\u79fb\u56fe\uff0c\u907f\u514d\u4e0d\u5408\u7406\u72b6\u6001\u8f6c\u53d8\uff1b\u540c\u65f6\u901a\u8fc7\u91cd\u8bd5\u524d\u6e05\u7406\u524d\u4e00\u4e2a\u5b9e\u4f8b\uff0c\u907f\u514d\u91cd\u590d\u6267\u884c\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u9ad8\u53ef\u7528\u65b9\u9762\uff0c\u8fd8\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u7cfb\u7edf\u8bbe\u8ba1\u662f\u5206\u7ea7\u4fdd\u969c\u3002\u5feb\u624b\u5728\u8fdb\u884c\u5927\u578b\u6d3b\u52a8\u4f8b\u5982\u6625\u8282\u3001\u5965\u8fd0\u65f6\uff0c\u6574\u4f53\u6570\u636e\u91cf\u5927\u5e45\u5ea6\u589e\u957f\uff0c\u5c40\u90e8\u6570\u636e\u5448\u6570\u500d\u589e\u957f\u3002\u4f46\u8ba1\u7b97\u8d44\u6e90\u662f\u6709\u9650\u7684\uff0c\u8ba1\u7b97\u8d44\u6e90\u7684\u589e\u957f\u5f80\u5f80\u4e0d\u80fd\u5339\u914d\u6570\u636e\u91cf\u7684\u589e\u957f\uff0c\u4e0d\u80fd\u8ba9\u6240\u6709\u7684\u4efb\u52a1\u548c\u5f80\u5e38\u4e00\u6837\u6309\u65f6\u4ea7\u51fa\u3002\u8fd9\u65f6\u5019\u6211\u4eec\u5c31\u9700\u8981\u8fdb\u884c\u5206\u7ea7\u4fdd\u969c\u3002<\/p>\n\n\n\n\u6240\u8c13\u5206\u7ea7\u4fdd\u969c\uff0c\u5c31\u662f\u5728\u8d44\u6e90\u6709\u9650\u7684\u60c5\u51b5\u4e0b\uff0c\u8ba9\u9ad8\u4f18\u4efb\u52a1\u5f97\u5230\u7279\u6743\uff0c\u4f18\u5148\u5f97\u5230\u6267\u884c\uff0c\u4f18\u5148\u83b7\u5f97\u5145\u8db3\u7684\u4f18\u8d28\u8d44\u6e90\uff0c\u4fdd\u969c\u4ea7\u51fa\u65f6\u95f4\uff1b\u800c\u4f4e\u4f18\u4efb\u52a1\u5219\u4f1a\u88ab\u5ef6\u8fdf\u8c03\u5ea6\u6267\u884c\uff0c\u5206\u914d\u66f4\u5c11\u7684\u8d44\u6e90\u3002<\/p>\n\n\n\n\u5728\u5feb\u624b\uff0c\u6574\u4e2a\u79bb\u7ebf\u4f53\u7cfb\uff0c\u5305\u62ec Kwaiflow\u3001Hive\u3001Yarn\u3001HDFS \u7b49\uff0c\u90fd\u5177\u6709\u5206\u7ea7\u4fdd\u969c\u7684\u80fd\u529b\u3002\u8fd9\u91cc\u4ecb\u7ecd Kwaiflow \u7684\u5206\u7ea7\u4fdd\u969c\u80fd\u529b\uff0c\u5305\u62ec\u4e09\u65b9\u9762\uff1a<\/p>\n\n\n\nKwaiflow \u8c03\u5ea6\u5668\u5177\u6709\u5206\u7ea7\u8c03\u5ea6\u7684\u80fd\u529b<\/strong>\u3002Kwaiflow \u8c03\u5ea6\u5668\u80fd\u611f\u77e5\u5230\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u7684\u72b6\u6001\uff0c\u5728\u8d44\u6e90\u4e0d\u8db3\u65f6\uff0cKwaiflow \u4efb\u52a1\u4f1a\u5728\u8c03\u5ea6\u5668\u6392\u961f\uff0c\u9ad8\u4f18\u4efb\u52a1\u6392\u5728\u524d\u9762\uff0c\u4f4e\u4f18\u4efb\u52a1\u6392\u5728\u540e\u9762\uff1b\u5f53\u8d44\u6e90\u5f97\u5230\u91ca\u653e\u65f6\uff0c\u9ad8\u4f18\u4efb\u52a1\u4f18\u5148\u88ab\u8c03\u5ea6\u3002<\/li>Kwaiflow \u7684\u6267\u884c\u5668\u6309\u7167\u4e0d\u540c\u4f18\u5148\u7ea7\u8fdb\u884c\u5206\u7ec4<\/strong>\u3002\u5305\u62ec\u4e09\u7ec4\uff1aP0 \u6267\u884c\u5668\u7ec4\u3001P1 \u6267\u884c\u5668\u7ec4\u4ee5\u53ca P2 P3 \u6267\u884c\u5668\u7ec4\u3002P0 \u6267\u884c\u5668\u7528\u4e8e\u6267\u884c\u6700\u9ad8\u4f18\u5148\u7ea7\u7684 P0 \u4efb\u52a1\uff0c\u5177\u6709\u5145\u8db3\u7684 worker\uff0cP0 \u4efb\u52a1\u5b9e\u4f8b\u57fa\u672c\u4e0d\u4f1a\u5728\u6267\u884c\u5668\u5c42\u88ab\u9650\u5236\u3002\u5bf9\u4e8e P2 P3 \u5206\u7ec4\uff0c\u5728\u8c03\u5ea6\u9ad8\u5cf0\u671f\uff0c\u4efb\u52a1\u5b9e\u4f8b\u5f88\u591a\u65f6\uff0c\u53ef\u80fd\u5b58\u5728\u6392\u961f\u6267\u884c\u7684\u60c5\u51b5\u3002<\/li>Kwaiflow \u5177\u6709\u8f83\u5f3a\u7684\u4eba\u5de5\u7ba1\u63a7\u80fd\u529b<\/strong>\uff0c\u53ef\u4ee5\u4eba\u4e3a\u5730\u5141\u8bb8\u6216\u8005\u963b\u65ad\u67d0\u4e9b\u4efb\u52a1\u7684\u8c03\u5ea6\u3002\u5178\u578b\u4f7f\u7528\u573a\u666f\u662f\u5728\u5927\u578b\u6d3b\u52a8\u671f\u95f4\uff0c\u53ef\u4ee5\u6839\u636e\u9884\u6848\uff0c\u5bf9\u4f4e\u4f18\u5148\u7ea7\u7684\u4efb\u52a1\u4eba\u4e3a\u8fdb\u884c\u5ef6\u8fdf\u8c03\u5ea6\uff0c\u4fdd\u969c\u8d44\u6e90\u5206\u914d\u7ed9\u9ad8\u4f18\u4efb\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u524d\u9762\u4e3b\u8981\u4ece\u7cfb\u7edf\u8bbe\u8ba1\u65b9\u9762\u4ecb\u7ecd\u4e86\u7ebf\u4e0a\u6545\u969c\u7684\u81ea\u52a8\u89c4\u907f\u3002Kwaiflow \u9ad8\u53ef\u7528\u7684\u7b2c\u4e8c\u4e2a\u65b9\u9762\u662f\u6545\u969c\u7684\u53d1\u73b0\u548c\u5904\u7406\u3002\u5982\u679c\u6545\u969c\u53d1\u73b0\u4e0d\u53ca\u65f6\u3001\u5904\u7406\u4e0d\u8fc5\u901f\uff0c\u4f1a\u51fa\u73b0\u5927\u89c4\u6a21\u7684\u8c03\u5ea6\u9519\u8bef\u6216\u8005\u8c03\u5ea6\u5ef6\u8fdf\u6545\u969c\u3002\u5728\u5feb\u624b\u8c03\u5ea6\u7cfb\u7edf\u53d1\u5c55\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u78b0\u5230\u8fc7\u8fd9\u6837\u7684\u5927\u6545\u969c\uff0c\u4e3a\u4e86\u907f\u514d\u518d\u6b21\u53d1\u751f\uff0c\u6211\u4eec\u5efa\u7acb\u4e86\u5b8c\u5907\u7684\u76d1\u63a7\u9884\u6848\u4f53\u7cfb\u3002<\/p>\n\n\n\n\u5728\u76d1\u63a7\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5206\u6210\u4f7f\u7528\u5c42\u3001\u670d\u52a1\u5c42\u3001\u4f9d\u8d56\u5c42\u4e09\u4e2a\u5c42\u6b21\uff0c\u5e76\u5212\u5206\u76d1\u63a7\u4f18\u5148\u7ea7\uff0c\u91c7\u7528\u4e0d\u540c\u7684\u54cd\u5e94\u65b9\u5f0f\u3002<\/li>\u5728\u6545\u969c\u9884\u6848\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u6709\u4e24\u7c7b\u9884\u6848\uff1a\u7cfb\u7edf\u6545\u969c\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u8c03\u5ea6\u7cfb\u7edf\u81ea\u8eab\u95ee\u9898\uff1b\u6570\u636e\u5f02\u5e38\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u94fe\u8def\u6570\u636e\u4e0d\u6b63\u786e\u7684\u95ee\u9898\u3002\u6211\u4eec\u6c89\u6dc0\u4e86\u591a\u573a\u666f\u7684\u963b\u65ad\u6062\u590d\u548c\u8865\u6570\u636e\u5de5\u5177\uff0c\u80fd\u591f\u5728\u6570\u5206\u949f\u5185\u542f\u52a8\u6570\u636e\u6062\u590d\u3002<\/li>\u5728\u6f14\u7ec3\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5b9a\u671f\u5bf9\u9884\u6848\u8fdb\u884c\u6f14\u7ec3\uff0c\u4fdd\u8bc1\u9884\u6848\u7684\u53ef\u7528\u6027\uff0c\u64cd\u4f5c\u7684\u719f\u7ec3\u6027\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n3. \u5173\u952e\u6280\u672f\uff1a\u5f00\u653e\u80fd\u529b<\/h1>\n\n\n\n\u5f00\u653e\u662f\u6570\u636e\u4e2d\u53f0\u7684\u6838\u5fc3\u7ade\u4e89\u529b\u3002\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u7ed9\u4e88\u4f7f\u7528\u8005\u81ea\u7531\u7684\u53d1\u6325\u7a7a\u95f4\uff0c\u6ee1\u8db3\u66f4\u591a\u4f7f\u7528\u573a\u666f\uff1b\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u6784\u5efa\u6570\u636e\u751f\u6001\uff0c\u63d0\u4f9b\u66f4\u4e30\u5bcc\u7684\u80fd\u529b\u3002Kwaiflow \u63d0\u4f9b\u4e86\u591a\u79cd\u5f00\u653e\u80fd\u529b\uff1a<\/p>\n\n\n\nKwaiflow \u5177\u6709\u5f00\u653e\u7684 API\uff0c\u652f\u6301\u591a\u8bed\u8a00 SDK\uff0c\u63d0\u4f9b\u4e86\u6807\u51c6\u5316\u7684\u63a5\u5165\u6d41\u7a0b\u3001\u4f7f\u7528\u624b\u518c\u548c\u63a5\u5165 demo\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u6807\u51c6\u7684\u4e8b\u4ef6\u3002\u5305\u62ec\u4efb\u52a1\u64cd\u4f5c\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d8\u66f4\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u8bca\u65ad\u4e8b\u4ef6\u7b49\u3002\u6839\u636e\u8fd9\u4e9b\u4e8b\u4ef6\uff0c\u53ef\u4ee5\u5b8c\u6574\u590d\u73b0\u51fa\u4efb\u52a1\u548c\u4efb\u52a1\u5b9e\u4f8b\u7684\u5168\u751f\u547d\u5468\u671f\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u63d2\u4ef6\u5316\u4efb\u52a1\u7c7b\u578b\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5b9a\u4e49\u548c\u5f00\u53d1\u81ea\u5b9a\u4e49\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u5e76\u8fdb\u884c\u7075\u6d3b\u6d4b\u8bd5\u3001\u7070\u5ea6\u4e0a\u7ebf\u548c\u7ba1\u7406\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86 Hook\uff0c\u53ef\u4ee5\u5728\u7528\u6237\u4ee3\u7801\u8fd0\u884c\u524d\u540e\u6267\u884c\u3002\u5305\u62ec\u6267\u884c\u524d\u7684 Prehook \u548c\u6267\u884c\u540e\u7684 Posthook\u3002\u5e38\u89c1\u573a\u666f\u5305\u62ec\u7528\u4e8e\u4ee3\u7801\u6e32\u67d3\u3001\u524d\u7f6e\u68c0\u67e5\u7684 Prehook\uff0c\u4ee5\u53ca\u7528\u4e8e\u6267\u884c\u540e\u6570\u636e\u8d28\u91cf\u68c0\u6d4b\u7684 Posthook\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u4e0e\u6210\u679c<\/strong><\/p>\n\n\n\n\u5982\u679c\u628a\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6bd4\u4f5c\u5927\u697c\u7684\u9aa8\u67b6\uff0c\u90a3\u4e48\u57fa\u4e8e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u5c31\u662f\u88c5\u4fee\u5b8c\u5584\u3001\u9002\u4e8e\u4eba\u5de5\u4f5c\u751f\u6d3b\u7684\u5927\u53a6\u3002\u901a\u8fc7\u5e94\u7528\uff0c\u80fd\u66f4\u597d\u5730\u4f53\u73b0\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4ef7\u503c\u3002\u5728\u5feb\u624b\uff0c\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4e00\u4e2a\u5178\u578b\u5e94\u7528\u3002<\/p>\n\n\n\n\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u5feb\u624b\u7684\u4e00\u7ad9\u5f0f\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u4f7f\u7528 kwaiflow \u4f5c\u4e3a\u7edf\u4e00\u7684\u7f16\u6392\u4e0e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u6784\u5efa\u4e86\u5404\u7c7b\u7684\u6570\u636e\u5f00\u53d1\u8fd0\u7ef4\u7b49\u670d\u52a1\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u67e5\u8be2\u3001\u540c\u6b65\u3001\u5f00\u53d1\u3001\u670d\u52a1\u5316\u3001\u8fd0\u7ef4\u3001\u7ba1\u7406\u7b49\u80fd\u529b\u3002<\/p>\n\n\n\n\u8be5\u5e73\u53f0\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u4e00\u7ad9\u5f0f<\/strong>\uff1a\u5e73\u53f0\u6db5\u76d6\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u7684\u5404\u73af\u8282\uff0c\u5305\u62ec\u6570\u636e\u63a5\u5165\u3001\u6570\u636e\u52a0\u5de5\u3001\u6570\u636e\u5206\u53d1\u548c\u6570\u636e\u670d\u52a1\u5316\u3002\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u6e90\u7ba1\u7406\uff0c\u521b\u5efa\u6570\u636e\u63a5\u5165\u4efb\u52a1\u5c06\u5404\u79cd\u6570\u636e\u6e90\u5bfc\u5165\u5230\u5927\u6570\u636e\u7cfb\u7edf\u4e2d\uff1b\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u667a\u80fd IDE \u7f16\u5199\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03 ETL \u4efb\u52a1\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5de5\u5904\u7406\uff0c\u4ea7\u751f\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b\u7528\u6237\u8fd8\u53ef\u4ee5\u521b\u5efa\u6570\u636e\u5206\u53d1\u4efb\u52a1\uff0c\u5c06\u9ad8\u4ef7\u503c\u6570\u636e\u5206\u53d1\u5230\u5176\u5b83\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u4f8b\u5982\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u975e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u7f13\u5b58\u7cfb\u7edf\u3001OLAP \u5f15\u64ce\u7b49\u3002\u7528\u6237\u4e5f\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u914d\u7f6e\u7684\u65b9\u5f0f\u521b\u5efa\u670d\u52a1\u5316 API\uff0c\u4e3a\u7ebf\u4e0a\u7cfb\u7edf\u63d0\u4f9b\u670d\u52a1\u3002<\/li>\u901a\u7528<\/strong>\uff1a\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u80fd\u7edf\u4e00\u8fd0\u7ef4 Kwaiflow \u6240\u6709\u4efb\u52a1\uff0c\u5305\u62ec\u4efb\u52a1\u8fd0\u7ef4\u3001\u5b9e\u4f8b\u8fd0\u7ef4\u3001\u94fe\u8def\u8fd0\u7ef4\u7b49\u65b9\u5f0f\uff0c\u9002\u5408\u6570\u636e\u5f00\u53d1\u3001\u5b9a\u65f6\u8c03\u5ea6\u3001\u89e6\u53d1\u5f0f\u8c03\u5ea6\u7b49\u573a\u666f\u3002<\/li>\u667a\u80fd<\/strong>\uff1a\u5728\u5f00\u53d1\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd IDE\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4ee3\u7801\u95ee\u9898\uff1b\u5728\u8fd0\u7ef4\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd\u76d1\u63a7\u3001\u667a\u80fd\u8bca\u65ad\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4efb\u52a1\u548c\u94fe\u8def\u95ee\u9898\uff0c\u5e76\u8f85\u52a9\u5b9a\u4f4d\u95ee\u9898\u539f\u56e0\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8981\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u4e0d\u4ec5\u8981\u6709\u5f3a\u5927\u7684\u81ea\u8eab\u80fd\u529b\uff0c\u66f4\u8981\u6709\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\u3002\u5728\u5feb\u624b\uff0cKwaiflow \u548c\u5927\u6570\u636e\u7684\u5176\u5b83\u7cfb\u7edf\u6df1\u5ea6\u96c6\u6210\uff0c\u63a5\u5165\u4e86 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u4fbf\u6377\u5730\u4f7f\u7528\u5176\u5b83\u5927\u6570\u636e\u7cfb\u7edf\u7684\u80fd\u529b\u3002\u53ef\u4ee5\u8bf4\uff0c\u81ea\u8eab\u80fd\u529b\u548c\u751f\u6001\u4f53\u7cfb\u5bf9 Kwaiflow \u6765\u8bf4\u540c\u7b49\u91cd\u8981\u3002<\/p>\n\n\n\n\u9996\u5148\uff0c\u5c31\u81ea\u8eab\u800c\u8a00\uff0cKwaiflow \u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u6267\u884c\u80fd\u529b\u3002\u5305\u62ec\u591a\u573a\u666f\u8c03\u5ea6\u80fd\u529b\u3001\u591a\u6837\u5316\u7684\u6267\u884c\u80fd\u529b\u3001\u6613\u7528\u7684\u8fd0\u7ef4\u80fd\u529b\u548c\u9ad8\u53ef\u7528\u7684\u7279\u6027\u3002<\/p>\n\n\n\n\u5176\u6b21\uff0cKwaiflow \u5177\u6709\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\u3002\u63a5\u5165 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u65b9\u4fbf\u5730\u4f7f\u7528\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\u3002<\/p>\n\n\n\n\u6700\u540e\uff0cKwaiflow \u65e0\u7f1d\u96c6\u6210\u4e86\u5176\u5b83\u4e2d\u53f0\u80fd\u529b\u3002\u5305\u62ec\u6570\u636e\u8d28\u91cf\u3001\u6570\u636e\u5b89\u5168\u4f53\u7cfb\u3001\u5b8c\u6574\u51c6\u786e\u7684\u4efb\u52a1\u5b9e\u4f8b\u8840\u7f18\u3001\u94fe\u8def\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5c06\u4ece\u6027\u80fd\u3001\u529f\u80fd\u548c\u4f7f\u7528\u60c5\u51b5\u4e09\u4e2a\u65b9\u9762\u4ecb\u7ecd Kwaiflow \u7684\u6210\u679c\u3002<\/p>\n\n\n\n\u5728\u6027\u80fd\u65b9\u9762<\/strong>\uff0c\u548c Airflow \u76f8\u6bd4\uff0c\u6709\u6781\u5927\u7684\u63d0\u5347\uff1a<\/p>\n\n\n\n\u5728\u89c4\u6a21\u4e0a\uff0cKwaiflow \u521d\u7248\u8bbe\u8ba1\u5bb9\u91cf\u4e3a\u767e\u4e07\u7ea7\u522b\u4efb\u52a1\uff0c\u5f53\u524d\u5df2\u6709\u6570\u5341\u4e07\u7684\u4efb\u52a1\u6570\uff0c\u548c Airflow \u5355\u96c6\u7fa4\u4e0d\u8d85\u8fc7 1 \u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\u3002<\/li>\u5728\u6027\u80fd\u4e0a\uff0cKwaiflow \u8c03\u5ea6\u9ad8\u5cf0\u671f\u7684\u8c03\u5ea6\u5ef6\u8fdf P99 \u5c0f\u4e8e 5 \u79d2\uff0c\u548c Airflow 5 \u5206\u949f\u76f8\u6bd4\uff0c\u6709\u6570\u91cf\u7ea7\u7684\u63d0\u5347\uff1bKwaiflow \u8d77\u8c03\u901f\u7387\u5341\u6570\u4e07\u6bcf\u5206\u949f\uff0c\u548c Airflow \u6570\u5343\u6bcf\u5206\u949f\u5bf9\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\uff1bKwaiflow \u8fd0\u884c\u7684\u5e76\u53d1\u5b9e\u4f8b\u6570\u5341\u6570\u4e07\u4e07\uff0c\u548c Airflow \u5c0f\u4e8e1\u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u5341\u6570\u500d\u3002<\/li>\u5728\u7a33\u5b9a\u6027\u4e0a\uff0cKwaiflow \u53ef\u7528\u6027\u4e3a 99.99%\uff0c Airflow \u5219\u4e3a 99.5%\uff1bKwaiflow \u5e74\u6545\u969c\u6570\u7ea6 1 \u4e2a\uff0c\u800c Airflow \u5e74\u5747\u4e3a 8 \u4e2a\u3002<\/li><\/ul>\n\n\n\n\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
02<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u6574\u4f53\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n\u5728 2019 \u5e74\u4e2d\u65ec\uff0c\u6211\u4eec\u5f00\u59cb\u81ea\u7814\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf Kwaiflow\uff0c\u5e76\u5728\u4e0b\u534a\u5e74\u4e0a\u7ebf 1.0 \u7248\u672c\u3002<\/p>\n\n\n\nKwaiflow \u662f\u5feb\u624b\u901a\u7528\u3001\u9ad8\u6027\u80fd\u3001\u6613\u6269\u5c55\u7684\u5206\u5e03\u5f0f\u5de5\u4f5c\u6d41\u8c03\u5ea6\u7cfb\u7edf\u3002\u5176\u8bbe\u8ba1\u76ee\u6807\u4ece\u4e24\u65b9\u9762\u8003\u8651\u3002<\/p>\n\n\n\n\u5728\u529f\u80fd\u578b\u76ee\u6807\u65b9\u9762<\/strong>\uff1a<\/p>\n\n\n\n\u573a\u666f\u4e30\u5bcc\uff1a\u652f\u6301\u591a\u573a\u666f\u8c03\u5ea6\uff0c\u591a\u79cd\u73af\u5883\u6267\u884c\uff0c\u652f\u6301\u591a\u6837\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b<\/li>\u8fd0\u7ef4\u4fbf\u6377\uff1a\u53ef\u4ee5\u8fdb\u884c\u53ef\u89c6\u5316\u3001\u667a\u80fd\u3001\u4fbf\u6377\u5730\u8fd0\u7ef4<\/li>\u4fbf\u4e8e\u5f00\u653e\uff1a\u5177\u6709\u5f3a\u5927\u7684\u5f00\u653e\u80fd\u529b\uff0c\u6613\u4e8e\u7cfb\u7edf\u96c6\u6210\uff0c\u6784\u5efa\u7edf\u4e00\u751f\u6001<\/li><\/ul>\n\n\n\n\u5728\u975e\u529f\u80fd\u578b\u76ee\u6807\u65b9\u9762<\/strong>\uff1a<\/p>\n\n\n\n\u9ad8\u5bb9\u91cf\uff1a\u652f\u6301\u767e\u4e07\u7ea7\u4efb\u52a1\u5bb9\u91cf<\/li>\u9ad8\u6027\u80fd\uff1a\u79d2\u7ea7\u6216\u8005\u4e9a\u79d2\u7ea7\u8c03\u5ea6\u5ef6\u8fdf<\/li>\u9ad8\u53ef\u7528\uff1a\u53ef\u7528\u6027 99.99%\uff0c\u7ebf\u4e0a\u95ee\u9898\u5c11\uff0c\u51fa\u73b0\u65f6\u80fd\u53ca\u65f6\u53d1\u73b0\u5feb\u901f\u5e76\u5904\u7406<\/li><\/ul>\n\n\n\n\u5728\u5b9a\u4f4d\u4e0a\uff0cKwaiflow \u57fa\u4e8e\u5927\u6570\u636e\u4f53\u7cfb\u548c\u5176\u5b83\u57fa\u7840\u8bbe\u65bd\uff0c\u63d0\u4f9b\u8c03\u5ea6\u3001\u6267\u884c\u7b49\u6838\u5fc3\u80fd\u529b\uff0c\u540c\u65f6\u5177\u6709\u8fd0\u7ef4\u3001\u76d1\u63a7\u62a5\u8b66\u3001\u667a\u80fd\u8bca\u65ad\u3001\u5f00\u653e\u670d\u52a1\u7b49\u91cd\u8981\u80fd\u529b\uff0c\u6784\u5efa\u8c03\u5ea6\u751f\u6001\uff1b\u9762\u5411\u6570\u636e\u5904\u7406\u3001\u6d41\u7a0b\u7f16\u6392\u3001\u7b97\u6cd5\u8c03\u5ea6\u548c\u5206\u5e03\u5f0f\u8ba1\u7b97\u7b49\u573a\u666f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u8c03\u5ea6\u6a21\u578b\u4e0a\uff0cKwaiflow \u91c7\u7528\u4e86\u4e24\u5c42\u5b9e\u4f53\u7684\u8c03\u5ea6\u6a21\u578b\uff1a<\/p>\n\n\n\nTask\uff1a\u6267\u884c\u6a21\u677f\uff0c\u7528\u4e8e\u6267\u884c\u67d0\u4e00\u7c7b\u578b\u7684\u4ee3\u7801\uff1bTask \u6709\u5f88\u591a\u7c7b\u578b\uff0c\u4f8b\u5982 HiveTask \u7528\u4e8e\u6267\u884c Hive SQL\uff0cBashTask \u7528\u4e8e\u6267\u884c Bash \u811a\u672c\uff0cHivePartitionSensorTask \u7528\u4e8e\u63a2\u6d4b hive \u8868\u5206\u533a\u662f\u5426\u5b58\u5728\u3002<\/li>DAG\uff1a\u4e00\u7cfb\u5217 Task \u7684\u96c6\u5408\uff0c\u5177\u6709\u8c03\u5ea6\u5b9a\u65f6\u7b49\u5c5e\u6027\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f9d\u8d56\u5173\u7cfb\u65b9\u9762\uff0cDAG \u4e4b\u95f4\u53ef\u4ee5\u76f8\u4e92\u4f9d\u8d56\uff0c\u65e2\u53ef\u4ee5\u540c\u5468\u671f\u4f9d\u8d56\uff0c\u4e5f\u53ef\u4ee5\u8de8\u5468\u671f\u4f9d\u8d56\uff0c\u8fd8\u53ef\u4ee5\u6709\u4f9d\u8d56\u504f\u79fb\u3002DAG \u5185\u7684 Task \u4e4b\u95f4\u4e5f\u53ef\u4ee5\u4f9d\u8d56\uff0c\u7531\u4e8e\u4ed6\u4eec\u8c03\u5ea6\u5c5e\u6027\u4e00\u81f4\uff0c\u6240\u4ee5\u90fd\u4e3a\u540c\u5468\u671f\u4f9d\u8d56\u3002<\/p>\n\n\n\n\u4e00\u822c\u6765\u8bb2\uff0c\u5e38\u89c1\u7684\u8c03\u5ea6\u6a21\u578b\u9664\u4e86\u53cc\u5c42\u5b9e\u4f53\u6a21\u578b\u5916\uff0c\u8fd8\u6709\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u3002\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u6ca1\u6709 DAG \u7684\u6982\u5ff5\uff0c\u53ea\u6709 Task\uff0cTask \u5177\u6709\u8c03\u5ea6\u5c5e\u6027\uff0cTask \u4e4b\u95f4\u76f8\u4e92\u4f9d\u8d56\u3002\u4e24\u79cd\u6a21\u578b\u5404\u6709\u4f18\u52a3\u3002\u53cc\u5c42\u6a21\u578b\u66f4\u9002\u5408\u5feb\u624b\u7684\u60c5\u51b5\uff0c\u5177\u6709\u66f4\u5f3a\u7684\u8868\u8fbe\u529b\uff0c\u4f7f\u7528\u573a\u666f\u66f4\u5e7f\u6cdb\uff0c\u5f53\u7136\u4e5f\u5177\u6709\u4e00\u5b9a\u7684\u590d\u6742\u6027\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u7cfb\u7edf\u67b6\u6784\u4e0a\uff1a<\/p>\n\n\n\nAPI Server \u63d0\u4f9b\u5404\u5f0f\u5404\u6837\u7684\u63a5\u53e3\uff0c\u8d1f\u8d23\u7edf\u4e00\u63a5\u5165\u3002<\/li>Scheduler \u8d1f\u8d23\u8c03\u5ea6\uff0c\u4e0d\u540c\u7684\u8c03\u5ea6\u573a\u666f\u4f1a\u6709\u4e0d\u540c\u7c7b\u578b\u7684\u8c03\u5ea6\u5668\uff0c\u5305\u62ec\u4f8b\u884c\u3001\u89e6\u53d1\u5f0f\u3001\u8865\u6570\u636e\u3001\u963b\u65ad\u8c03\u5ea6\u5668\u3002\u5728\u4f8b\u884c\u8c03\u5ea6\u5668\u4e2d\uff0c\u4efb\u52a1\u5b9e\u4f8b\u751f\u6210\u540e\uff0c\u4f1a\u4f9d\u6b21\u7ecf\u8fc7\u5b9a\u65f6\u68c0\u6d4b\u3001\u4f9d\u8d56\u68c0\u6d4b\u548c\u8d44\u6e90\u68c0\u6d4b\u3002\u5982\u679c\u90fd\u901a\u8fc7\uff0c\u4f1a\u63d0\u4ea4\u5230 Queue Service \u4e2d\u3002<\/li>Queue Service \u4e3a\u5e26 ack \u673a\u5236\u7684\u6d88\u606f\u961f\u5217\u670d\u52a1\uff0c\u4f1a\u6709\u4e0d\u540c\u7684 channel\uff0c\u4ee5\u4fbf\u9694\u79bb\u4efb\u52a1\u3002<\/li>Worker \u8d1f\u8d23\u4efb\u52a1\u7684\u6267\u884c\uff0c\u4ece\u5c5e\u4e00\u4e2a worker \u5206\u7ec4\u3002\u4e0d\u540c\u5206\u7ec4\u7684 Worker \u6d88\u8d39 Queue Service \u4e2d\u4e0d\u540c Channel \u7684\u4efb\u52a1\uff0c\u6839\u636e\u4e0d\u540c\u7684\u4efb\u52a1\u7c7b\u578b\u8fdb\u884c\u6267\u884c\u3002\u6267\u884c\u5206\u4e3a\u672c\u5730\u6267\u884c\u548c\u5bb9\u5668\u5316\u6267\u884c\u4e24\u79cd\u65b9\u5f0f\uff0c\u672c\u5730\u6267\u884c\u662f\u6307\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u5185\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\uff1b\u5177\u6709\u542f\u52a8\u5feb\u7684\u7279\u70b9\uff1b\u5bb9\u5668\u5316\u6267\u884c\u662f\u6307\u5728 k8s \u8fdc\u7a0b\u6267\u884c\u7528\u6237\u4ee3\u7801\uff0c\u5177\u6709\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\u7684\u7279\u70b9\u3002<\/li><\/ul>\n\n\n\n\u9664\u6b64\u4e4b\u5916\uff0c\u8fd8\u6709\u5176\u5b83\u5173\u952e\u6a21\u5757\uff0c\u5305\u62ec\u65e5\u5fd7\u670d\u52a1\u3001\u62a5\u8b66\u670d\u52a1\u3001\u4e8b\u4ef6\u670d\u52a1\u3001\u5b9e\u4f8b\u8840\u7f18\u670d\u52a1\u7b49\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5173\u952e\u6280\u672f<\/strong><\/p>\n\n\n\n1. \u5173\u952e\u6280\u672f\uff1a\u4f4e\u8c03\u5ea6\u5ef6\u8fdf<\/h1>\n\n\n\n\u8c03\u5ea6\u5ef6\u8fdf\u662f\u6307\u7406\u8bba\u8d77\u8c03\u65f6\u523b\u5230\u5b9e\u9645\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\u7684\u65f6\u95f4\u5dee\u3002\u8c03\u5ea6\u5ef6\u8fdf\u662f\u8861\u91cf\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6027\u80fd\u7684\u91cd\u8981\u6307\u6807\u4e4b\u4e00\uff0c\u8be5\u6307\u6807\u8d8a\u5c0f\u8d8a\u597d\u3002<\/p>\n\n\n\n\u4efb\u52a1\u5b9e\u4f8b\u4ece\u751f\u6210\uff0c\u5230\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\uff0c\u9700\u8981\u7ecf\u8fc7\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\u3001\u7b49\u5f85\u4f9d\u8d56\u5c31\u7eea\u3001\u7b49\u5f85\u8d44\u6e90\u5c31\u7eea\u548c\u51c6\u5907\u8fd0\u884c\u73af\u5883\u56db\u4e2a\u9636\u6bb5\u3002\u8981\u6709\u8f83\u5c0f\u7684\u8c03\u5ea6\u5ef6\u8fdf\uff0c\u5c31\u9700\u8981\u51cf\u5c11\u5404\u4e2a\u9636\u6bb5\u7684\u7cfb\u7edf\u65f6\u95f4\u635f\u8017\u3002\u8c03\u5ea6\u5ef6\u8fdf\u7684\u4e3b\u8981\u56e0\u7d20\u4e0e\u5904\u7406\u65b9\u6848\u6709\uff1a<\/p>\n\n\n\n\u5b9a\u65f6\u5668<\/strong>\u3002\u5b9a\u65f6\u5668\u5728\u63a2\u6d4b\u65f6\u95f4\u5c31\u7eea\u73af\u8282\u8d77\u4f5c\u7528\uff0c\u4e00\u4e2a\u7cbe\u51c6\u7684\u3001\u652f\u6301\u767e\u4e07\u7ea7\u522b\u9ad8\u541e\u5410\u7684\u5b9a\u65f6\u5668\uff0c\u5bf9\u4f4e\u8c03\u5ea6\u5ef6\u8fdf\u81f3\u5173\u91cd\u8981\u3002\u4f18\u79c0\u7684\u5b9a\u65f6\u5668\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u6570\u636e\u5e93\u8bbf\u95ee<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d1\u751f\u53d8\u66f4\u540e\uff0c\u9700\u8981\u5bf9\u72b6\u6001\u8fdb\u884c\u6301\u4e45\u5316\u3002\u901a\u8fc7\u7d22\u5f15\u3001\u8bfb\u5199\u5206\u79bb\u3001\u5206\u5e93\u5206\u8868\u7b49\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5c06\u5355\u6b21\u6570\u636e\u5e93\u8bbf\u95ee\u8017\u65f6\u63a7\u5236\u5728 1 ~ 3ms\uff0c\u603b\u4f53\u8017\u65f6\u63a7\u5236\u5728 10ms \u5de6\u53f3 \u3002<\/li>\u72b6\u6001\u8f6c\u53d8<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u81ea\u751f\u6210\u5230\u8fd0\u884c\u7ed3\u675f\uff0c\u4f1a\u7ecf\u5386\u591a\u6b21\u72b6\u6001\u8f6c\u53d8\u3002\u72b6\u6001\u8f6c\u53d8\u9ad8\u6548\u4e0e\u5426\u662f\u8c03\u5ea6\u5ef6\u8fdf\u7684\u91cd\u8981\u56e0\u7d20\u3002\u4e00\u822c\u6765\u8bf4\u6709\u4e24\u79cd\u529e\u6cd5\uff1a\u8f6e\u8be2\u4e0e\u4e8b\u4ef6\u89e6\u53d1\u3002\u6211\u4eec\u91c7\u7528\u7684\u662f\u4e8b\u4ef6\u89e6\u53d1\u65b9\u5f0f\uff0c\u7b2c\u4e00\u65f6\u95f4\u611f\u77e5\u72b6\u6001\u8f6c\u53d8\u3002\u901a\u8fc7\u4e8b\u4ef6\u89e6\u53d1\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u8fd0\u884c\u73af\u5883\u51c6\u5907<\/strong>\u3002\u8fd9\u4e2a\u73af\u8282\u4e3b\u8981\u5de5\u4f5c\u5305\u62ec\u52a0\u8f7d\u955c\u50cf\u3001\u521d\u59cb\u5316\u8fd0\u884c\u73af\u5883\u7b49\u3002\u6211\u4eec\u4e3b\u8981\u91c7\u7528\u4e86\u9884\u52a0\u8f7d\u548c\u955c\u50cf\u9884\u70ed\u6280\u672f\u3002\u4e0d\u540c\u7684\u8fd0\u884c\u73af\u5883\uff0c\u65f6\u95f4\u635f\u8017\u4e0d\u4e00\u6837\uff0c\u4f1a\u5728\u4e9a\u79d2\u5230\u5206\u949f\u4e0d\u7b49\u3002<\/li><\/ul>\n\n\n\n\u8fd9\u56db\u4e2a\u56e0\u7d20\u4e2d\uff0c\u540e\u4e24\u8005\u76f8\u5bf9\u8f83\u590d\u6742\uff0c\u63a5\u4e0b\u6765\u7740\u91cd\u4ecb\u7ecd\u72b6\u6001\u8f6c\u53d8\u548c\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e24\u90e8\u5206\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u9996\u5148\u770b\u72b6\u6001\u8f6c\u53d8\u8fd9\u4e2a\u56e0\u7d20\u3002\u4efb\u52a1\u4ece\u53d1\u5e03\uff0c\u5230\u8c03\u5ea6\u6267\u884c\u5b8c\u6210\uff0c\u4f1a\u7ecf\u5386\u6570\u6b21\u6216\u8005\u5341\u6570\u6b21\u72b6\u6001\u53d8\u5316\u3002\u5982\u4f55\u8fdb\u884c\u5feb\u901f\u9ad8\u6548\u5730\u72b6\u6001\u8f6c\u53d8\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u95ee\u9898\u3002Kwaiflow \u7684\u89e3\u51b3\u529e\u6cd5\u662f\u91c7\u7528 Akka actor\u3002\u5145\u5206\u5229\u7528\u4e86 akka actor \u9ad8\u6027\u80fd\u7279\u70b9\u3002<\/p>\n\n\n\n\u5177\u4f53\u6765\u8bb2\uff1a<\/p>\n\n\n\n1. Kwaiflow \u7684\u4efb\u52a1\u4ece API Server \u53d1\u5e03\u540e\uff0c\u7ecf\u8fc7 Entry Actor \u52a0\u8f7d\u5230 DagLoader Actors \u4e2d\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\uff1b<\/p>\n\n\n\n2. \u5728\u65f6\u95f4\u5c31\u7eea\u540e\uff0c\u7531 Instance Generator Actors \u751f\u6210\u4efb\u52a1\u5b9e\u4f8b\uff0c\u7136\u540e\u8fdb\u5165 Dependency Detector Actor \u63a2\u6d4b\u4e0a\u6e38\u4f9d\u8d56\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n3. \u5728\u4f9d\u8d56\u5c31\u7eea\u540e\uff0c\u8fdb\u5165 Resource Detector Actor \u63a2\u6d4b\u8d44\u6e90\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n4. \u5728\u8d44\u6e90\u5c31\u7eea\u540e\uff0c\u4efb\u52a1\u5b9e\u4f8b\u901a\u8fc7 Queue Service \u4e0b\u53d1\u5230 worker \u4e2d\u3002<\/p>\n\n\n\n5. \u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u88ab\u63a5\u6536\u540e\uff0c\u5c06\u4f1a\u7531 Processor Actor \u6267\u884c\uff0c\u6267\u884c\u524d\u540e\u4f1a\u4f9d\u6b21\u7ecf\u5386\u4ee3\u7801\u6e32\u67d3\u3001Prehook\u3001\u4ee3\u7801\u6267\u884c\u3001Posthook \u56db\u4e2a\u6b65\u9aa4\u3002<\/p>\n\n\n\n6. \u5982\u679c\u6267\u884c\u6210\u529f\uff0c\u5219\u6d41\u7a0b\u7ec8\u6b62\uff1b\u5982\u679c\u6267\u884c\u5931\u8d25\uff0cPosthook \u4f1a\u5c06\u4fe1\u606f\u901a\u8fc7 Processor Actor\u3001ResultHandlerActor \u4f20\u9012\u7ed9 scheduler \u7684 RetryerActor \u8fdb\u884c\u91cd\u8bd5\u64cd\u4f5c\u3002<\/p>\n\n\n\n\u6574\u4e2a\u6d41\u7a0b\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u5168\u6d41\u7a0b\u4e8b\u4ef6\u89e6\u53d1<\/strong>\uff1a\u65e0\u8f6e\u8be2\uff0c\u4efb\u52a1\u53d1\u5e03\u3001\u8c03\u5ea6\u3001\u6267\u884c\u3001\u91cd\u8bd5\uff0c\u5747\u4e3a\u4e8b\u4ef6\u89e6\u53d1\u3002<\/li>\u9ad8\u541e\u5410<\/strong>\uff1a\u91c7\u7528\u5f02\u6b65\u5e76\u53d1\u7684\u65b9\u5f0f\uff0c\u80fd\u5feb\u901f\u8c03\u8d77\u5927\u91cf\u4efb\u52a1\u5b9e\u4f8b<\/li>\u7b80\u5355\u6613\u7528<\/strong>\uff1a\u65e0\u9700\u4f7f\u7528\u5e95\u5c42 API \u8fdb\u884c\u9501\u548c\u7ebf\u7a0b\u7ba1\u7406\uff0c\u4e13\u6ce8\u4e1a\u52a1\u5b9e\u73b0\u3002<\/li><\/ul>\n\n\n\n\u91c7\u7528 actor\uff0c\u72b6\u6001\u8f6c\u53d8\u5bfc\u81f4\u7684\u65f6\u95f4\u635f\u8017\u63a7\u5236\u5728\u6beb\u79d2\u7ea7\u522b\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u63a5\u4e0b\u6765\u6211\u4eec\u770b\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e2a\u56e0\u7d20\u3002\u8fd9\u548c\u6267\u884c\u573a\u666f\u6709\u5173\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e0d\u540c\u7684\u6267\u884c\u573a\u666f\uff0cKwaiflow \u63d0\u4f9b\u4e86\u4e24\u79cd\u6267\u884c\u65b9\u5f0f\uff1a\u5bb9\u5668\u5316\u6267\u884c\u548c\u672c\u5730\u6267\u884c\u3002<\/p>\n\n\n\n\u5bb9\u5668\u5316\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u6bcf\u6b21\u6267\u884c\u524d\uff0c\u5728 k8s \u6309\u9700\u7533\u8bf7\u5bb9\u5668\u8d44\u6e90\uff0c\u5728\u5bb9\u5668\u4e2d\u6267\u884c\u4efb\u52a1\u5b9e\u4f8b\uff0c\u6267\u884c\u5b8c\u540e\uff0c\u53ca\u65f6\u91ca\u653e\u5bb9\u5668\u8d44\u6e90\u3002\u4f18\u70b9\u662f\u5b9e\u73b0\u4e86\u6267\u884c\u65f6\u7684\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\uff1b\u7f3a\u70b9\u662f\u6bcf\u6b21\u90fd\u9700\u8981\u7533\u8bf7\u548c\u521d\u59cb\u5316\u5bb9\u5668\u8d44\u6e90\uff0c\u542f\u52a8\u8017\u65f6\u957f\u3002\u5bb9\u5668\u5316\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Bash \u4efb\u52a1\u3002\u4e3a\u4e86\u51cf\u5c11\u5bb9\u5668\u5316\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\uff0c\u6211\u4eec\u5c06\u955c\u50cf\u5206\u4e3a\u81ea\u5b9a\u4e49\u955c\u50cf\u548c\u901a\u7528\u955c\u50cf\uff0c\u5bf9\u901a\u7528\u955c\u50cf\u8fdb\u884c\u9884\u70ed\uff0c\u63d0\u524d\u5206\u53d1\u5230\u673a\u5668\u4e2d\uff0c\u51cf\u5c11\u955c\u50cf\u4e0b\u8f7d\u8017\u65f6\u3002\u901a\u8fc7\u955c\u50cf\u9884\u70ed\uff0c\u53ef\u4ee5\u5c06\u542f\u52a8\u8017\u65f6\u4ece\u5206\u949f\u7ea7\u964d\u4f4e\u5230\u79d2\u7ea7\u3002<\/li>\u672c\u5730\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u673a\u4e2d\uff0c\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\u3002\u540c\u4e00\u4e2a worker \u673a\u4e2d\u7684\u6240\u6709\u4efb\u52a1\u5b9e\u4f8b\u5171\u4eab\u8ba1\u7b97\u8d44\u6e90\u548c\u6267\u884c\u73af\u5883\u3002\u4f18\u70b9\u662f\u542f\u52a8\u8017\u65f6\u77ed\uff0coverhead \u5c0f\uff1b\u7f3a\u70b9\u662f\u8d44\u6e90\u548c\u73af\u5883\u4e0d\u9694\u79bb\uff0c\u4e00\u4e2a\u4efb\u52a1\u5b9e\u4f8b\u6267\u884c\u5f02\u5e38\u6709\u53ef\u80fd\u5bfc\u81f4\u6574\u4e2a worker \u673a crash\u3002\u672c\u5730\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u4e0d\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Hive \u548c Sensor \u4efb\u52a1\u3002\u672c\u5730\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\u4e00\u822c\u5728\u4e9a\u79d2\u7ea7\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n2. \u5173\u952e\u6280\u672f\uff1a\u9ad8\u53ef\u7528<\/h1>\n\n\n\n\u9ad8\u53ef\u7528\u5bf9\u8c03\u5ea6\u7cfb\u7edf\u6765\u8bf4\u975e\u5e38\u91cd\u8981\u3002\u4e3a\u4e86\u4fdd\u969c Kwaiflow \u7684\u9ad8\u53ef\u7528\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e24\u65b9\u9762\u8fdb\u884c\u8003\u8651\uff1a\u7cfb\u7edf\u8bbe\u8ba1\u548c\u6545\u969c\u53d1\u73b0\u5904\u7406\u3002\u5728\u7cfb\u7edf\u8bbe\u8ba1\u4e0a\uff0cKwaiflow \u53ef\u4ee5\u505a\u5230\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5373\u4efb\u52a1\u5b9e\u4f8b\u5728\u590d\u6742\u73af\u5883\u4e2d Exactly Once \u6267\u884c\uff0c\u505a\u5230\u4e0d\u6f0f\uff0c\u4e14\u5c3d\u91cf\u4e0d\u91cd\u3002<\/p>\n\n\n\n\u5bf9\u4e8e\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5e38\u89c1\u7684\u6545\u969c\u573a\u666f\u5305\u62ec\u7ec4\u4ef6\u6545\u969c\u6216\u8005\u7ec4\u4ef6\u5931\u8054\u3002\u4f8b\u5982 scheduler crash\u3001\u5bb9\u5668\u5316\u4efb\u52a1\u4e0e worker \u5931\u8054\u7b49\u3002<\/p>\n\n\n\n\u4e3a\u4e86\u8fbe\u5230\u9ad8\u53ef\u9760\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e09\u65b9\u9762\u8003\u8651\uff1a<\/p>\n\n\n\nFailover \u673a\u5236\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u548c\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\uff0c\u6765\u5b9e\u73b0\u7ec4\u4ef6\u7684\u81ea\u52a8\u5bb9\u9519\u3002\u4f8b\u5982 Kwaiflow \u91c7\u7528\u4e3b\u5907 Master\uff0c\u591a worker \u7684\u8bbe\u8ba1\u6765\u907f\u514d\u5355\u70b9\u95ee\u9898\uff1b\u5404\u4e2a\u7ec4\u4ef6\u4e4b\u95f4\u91c7\u7528\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\u6765\u907f\u514d\u5931\u8054\u95ee\u9898\u3002\u534f\u8bae\u5305\u62ec scheduler Executor \u901a\u4fe1\u534f\u8bae\u3001Executor Runner \u901a\u4fe1\u534f\u8bae\u3001External Job \u901a\u4fe1\u534f\u8bae\u3002\u53f3\u56fe\u5c55\u793a\u4e86 Executor Runner \u901a\u4fe1\u534f\u8bae\u7684\u4e3b\u8981\u6d41\u7a0b\uff0c\u534f\u8bae\u89c4\u5b9a\u4e86\u4efb\u52a1\u63d0\u4ea4\u3001\u6b63\u5e38\u6267\u884c\u3001\u5f02\u5e38\u6267\u884c\u3001\u901a\u4fe1\u5931\u8054\u7684\u5904\u7406\u529e\u6cd5\uff0c\u4e0d\u4f9d\u8d56\u5916\u90e8\u7cfb\u7edf\u7684\u72b6\u6001\u3002<\/li>\u907f\u514d\u9057\u6f0f\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u6d88\u606f ack \u673a\u5236\uff0c\u4fdd\u969c\u6d88\u606f\u4e0d\u4e22\u5931\uff1b\u540c\u65f6\u901a\u8fc7\u5b9a\u671f\u515c\u5e95\u5de1\u68c0\uff0c\u4fdd\u969c\u4efb\u52a1\u5b9e\u4f8b\u4e0d\u9057\u6f0f\u3002<\/li>\u907f\u514d\u91cd\u590d\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u72b6\u6001\u673a\u8f6c\u79fb\u56fe\uff0c\u907f\u514d\u4e0d\u5408\u7406\u72b6\u6001\u8f6c\u53d8\uff1b\u540c\u65f6\u901a\u8fc7\u91cd\u8bd5\u524d\u6e05\u7406\u524d\u4e00\u4e2a\u5b9e\u4f8b\uff0c\u907f\u514d\u91cd\u590d\u6267\u884c\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u9ad8\u53ef\u7528\u65b9\u9762\uff0c\u8fd8\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u7cfb\u7edf\u8bbe\u8ba1\u662f\u5206\u7ea7\u4fdd\u969c\u3002\u5feb\u624b\u5728\u8fdb\u884c\u5927\u578b\u6d3b\u52a8\u4f8b\u5982\u6625\u8282\u3001\u5965\u8fd0\u65f6\uff0c\u6574\u4f53\u6570\u636e\u91cf\u5927\u5e45\u5ea6\u589e\u957f\uff0c\u5c40\u90e8\u6570\u636e\u5448\u6570\u500d\u589e\u957f\u3002\u4f46\u8ba1\u7b97\u8d44\u6e90\u662f\u6709\u9650\u7684\uff0c\u8ba1\u7b97\u8d44\u6e90\u7684\u589e\u957f\u5f80\u5f80\u4e0d\u80fd\u5339\u914d\u6570\u636e\u91cf\u7684\u589e\u957f\uff0c\u4e0d\u80fd\u8ba9\u6240\u6709\u7684\u4efb\u52a1\u548c\u5f80\u5e38\u4e00\u6837\u6309\u65f6\u4ea7\u51fa\u3002\u8fd9\u65f6\u5019\u6211\u4eec\u5c31\u9700\u8981\u8fdb\u884c\u5206\u7ea7\u4fdd\u969c\u3002<\/p>\n\n\n\n\u6240\u8c13\u5206\u7ea7\u4fdd\u969c\uff0c\u5c31\u662f\u5728\u8d44\u6e90\u6709\u9650\u7684\u60c5\u51b5\u4e0b\uff0c\u8ba9\u9ad8\u4f18\u4efb\u52a1\u5f97\u5230\u7279\u6743\uff0c\u4f18\u5148\u5f97\u5230\u6267\u884c\uff0c\u4f18\u5148\u83b7\u5f97\u5145\u8db3\u7684\u4f18\u8d28\u8d44\u6e90\uff0c\u4fdd\u969c\u4ea7\u51fa\u65f6\u95f4\uff1b\u800c\u4f4e\u4f18\u4efb\u52a1\u5219\u4f1a\u88ab\u5ef6\u8fdf\u8c03\u5ea6\u6267\u884c\uff0c\u5206\u914d\u66f4\u5c11\u7684\u8d44\u6e90\u3002<\/p>\n\n\n\n\u5728\u5feb\u624b\uff0c\u6574\u4e2a\u79bb\u7ebf\u4f53\u7cfb\uff0c\u5305\u62ec Kwaiflow\u3001Hive\u3001Yarn\u3001HDFS \u7b49\uff0c\u90fd\u5177\u6709\u5206\u7ea7\u4fdd\u969c\u7684\u80fd\u529b\u3002\u8fd9\u91cc\u4ecb\u7ecd Kwaiflow \u7684\u5206\u7ea7\u4fdd\u969c\u80fd\u529b\uff0c\u5305\u62ec\u4e09\u65b9\u9762\uff1a<\/p>\n\n\n\nKwaiflow \u8c03\u5ea6\u5668\u5177\u6709\u5206\u7ea7\u8c03\u5ea6\u7684\u80fd\u529b<\/strong>\u3002Kwaiflow \u8c03\u5ea6\u5668\u80fd\u611f\u77e5\u5230\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u7684\u72b6\u6001\uff0c\u5728\u8d44\u6e90\u4e0d\u8db3\u65f6\uff0cKwaiflow \u4efb\u52a1\u4f1a\u5728\u8c03\u5ea6\u5668\u6392\u961f\uff0c\u9ad8\u4f18\u4efb\u52a1\u6392\u5728\u524d\u9762\uff0c\u4f4e\u4f18\u4efb\u52a1\u6392\u5728\u540e\u9762\uff1b\u5f53\u8d44\u6e90\u5f97\u5230\u91ca\u653e\u65f6\uff0c\u9ad8\u4f18\u4efb\u52a1\u4f18\u5148\u88ab\u8c03\u5ea6\u3002<\/li>Kwaiflow \u7684\u6267\u884c\u5668\u6309\u7167\u4e0d\u540c\u4f18\u5148\u7ea7\u8fdb\u884c\u5206\u7ec4<\/strong>\u3002\u5305\u62ec\u4e09\u7ec4\uff1aP0 \u6267\u884c\u5668\u7ec4\u3001P1 \u6267\u884c\u5668\u7ec4\u4ee5\u53ca P2 P3 \u6267\u884c\u5668\u7ec4\u3002P0 \u6267\u884c\u5668\u7528\u4e8e\u6267\u884c\u6700\u9ad8\u4f18\u5148\u7ea7\u7684 P0 \u4efb\u52a1\uff0c\u5177\u6709\u5145\u8db3\u7684 worker\uff0cP0 \u4efb\u52a1\u5b9e\u4f8b\u57fa\u672c\u4e0d\u4f1a\u5728\u6267\u884c\u5668\u5c42\u88ab\u9650\u5236\u3002\u5bf9\u4e8e P2 P3 \u5206\u7ec4\uff0c\u5728\u8c03\u5ea6\u9ad8\u5cf0\u671f\uff0c\u4efb\u52a1\u5b9e\u4f8b\u5f88\u591a\u65f6\uff0c\u53ef\u80fd\u5b58\u5728\u6392\u961f\u6267\u884c\u7684\u60c5\u51b5\u3002<\/li>Kwaiflow \u5177\u6709\u8f83\u5f3a\u7684\u4eba\u5de5\u7ba1\u63a7\u80fd\u529b<\/strong>\uff0c\u53ef\u4ee5\u4eba\u4e3a\u5730\u5141\u8bb8\u6216\u8005\u963b\u65ad\u67d0\u4e9b\u4efb\u52a1\u7684\u8c03\u5ea6\u3002\u5178\u578b\u4f7f\u7528\u573a\u666f\u662f\u5728\u5927\u578b\u6d3b\u52a8\u671f\u95f4\uff0c\u53ef\u4ee5\u6839\u636e\u9884\u6848\uff0c\u5bf9\u4f4e\u4f18\u5148\u7ea7\u7684\u4efb\u52a1\u4eba\u4e3a\u8fdb\u884c\u5ef6\u8fdf\u8c03\u5ea6\uff0c\u4fdd\u969c\u8d44\u6e90\u5206\u914d\u7ed9\u9ad8\u4f18\u4efb\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u524d\u9762\u4e3b\u8981\u4ece\u7cfb\u7edf\u8bbe\u8ba1\u65b9\u9762\u4ecb\u7ecd\u4e86\u7ebf\u4e0a\u6545\u969c\u7684\u81ea\u52a8\u89c4\u907f\u3002Kwaiflow \u9ad8\u53ef\u7528\u7684\u7b2c\u4e8c\u4e2a\u65b9\u9762\u662f\u6545\u969c\u7684\u53d1\u73b0\u548c\u5904\u7406\u3002\u5982\u679c\u6545\u969c\u53d1\u73b0\u4e0d\u53ca\u65f6\u3001\u5904\u7406\u4e0d\u8fc5\u901f\uff0c\u4f1a\u51fa\u73b0\u5927\u89c4\u6a21\u7684\u8c03\u5ea6\u9519\u8bef\u6216\u8005\u8c03\u5ea6\u5ef6\u8fdf\u6545\u969c\u3002\u5728\u5feb\u624b\u8c03\u5ea6\u7cfb\u7edf\u53d1\u5c55\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u78b0\u5230\u8fc7\u8fd9\u6837\u7684\u5927\u6545\u969c\uff0c\u4e3a\u4e86\u907f\u514d\u518d\u6b21\u53d1\u751f\uff0c\u6211\u4eec\u5efa\u7acb\u4e86\u5b8c\u5907\u7684\u76d1\u63a7\u9884\u6848\u4f53\u7cfb\u3002<\/p>\n\n\n\n\u5728\u76d1\u63a7\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5206\u6210\u4f7f\u7528\u5c42\u3001\u670d\u52a1\u5c42\u3001\u4f9d\u8d56\u5c42\u4e09\u4e2a\u5c42\u6b21\uff0c\u5e76\u5212\u5206\u76d1\u63a7\u4f18\u5148\u7ea7\uff0c\u91c7\u7528\u4e0d\u540c\u7684\u54cd\u5e94\u65b9\u5f0f\u3002<\/li>\u5728\u6545\u969c\u9884\u6848\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u6709\u4e24\u7c7b\u9884\u6848\uff1a\u7cfb\u7edf\u6545\u969c\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u8c03\u5ea6\u7cfb\u7edf\u81ea\u8eab\u95ee\u9898\uff1b\u6570\u636e\u5f02\u5e38\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u94fe\u8def\u6570\u636e\u4e0d\u6b63\u786e\u7684\u95ee\u9898\u3002\u6211\u4eec\u6c89\u6dc0\u4e86\u591a\u573a\u666f\u7684\u963b\u65ad\u6062\u590d\u548c\u8865\u6570\u636e\u5de5\u5177\uff0c\u80fd\u591f\u5728\u6570\u5206\u949f\u5185\u542f\u52a8\u6570\u636e\u6062\u590d\u3002<\/li>\u5728\u6f14\u7ec3\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5b9a\u671f\u5bf9\u9884\u6848\u8fdb\u884c\u6f14\u7ec3\uff0c\u4fdd\u8bc1\u9884\u6848\u7684\u53ef\u7528\u6027\uff0c\u64cd\u4f5c\u7684\u719f\u7ec3\u6027\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n3. \u5173\u952e\u6280\u672f\uff1a\u5f00\u653e\u80fd\u529b<\/h1>\n\n\n\n\u5f00\u653e\u662f\u6570\u636e\u4e2d\u53f0\u7684\u6838\u5fc3\u7ade\u4e89\u529b\u3002\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u7ed9\u4e88\u4f7f\u7528\u8005\u81ea\u7531\u7684\u53d1\u6325\u7a7a\u95f4\uff0c\u6ee1\u8db3\u66f4\u591a\u4f7f\u7528\u573a\u666f\uff1b\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u6784\u5efa\u6570\u636e\u751f\u6001\uff0c\u63d0\u4f9b\u66f4\u4e30\u5bcc\u7684\u80fd\u529b\u3002Kwaiflow \u63d0\u4f9b\u4e86\u591a\u79cd\u5f00\u653e\u80fd\u529b\uff1a<\/p>\n\n\n\nKwaiflow \u5177\u6709\u5f00\u653e\u7684 API\uff0c\u652f\u6301\u591a\u8bed\u8a00 SDK\uff0c\u63d0\u4f9b\u4e86\u6807\u51c6\u5316\u7684\u63a5\u5165\u6d41\u7a0b\u3001\u4f7f\u7528\u624b\u518c\u548c\u63a5\u5165 demo\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u6807\u51c6\u7684\u4e8b\u4ef6\u3002\u5305\u62ec\u4efb\u52a1\u64cd\u4f5c\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d8\u66f4\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u8bca\u65ad\u4e8b\u4ef6\u7b49\u3002\u6839\u636e\u8fd9\u4e9b\u4e8b\u4ef6\uff0c\u53ef\u4ee5\u5b8c\u6574\u590d\u73b0\u51fa\u4efb\u52a1\u548c\u4efb\u52a1\u5b9e\u4f8b\u7684\u5168\u751f\u547d\u5468\u671f\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u63d2\u4ef6\u5316\u4efb\u52a1\u7c7b\u578b\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5b9a\u4e49\u548c\u5f00\u53d1\u81ea\u5b9a\u4e49\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u5e76\u8fdb\u884c\u7075\u6d3b\u6d4b\u8bd5\u3001\u7070\u5ea6\u4e0a\u7ebf\u548c\u7ba1\u7406\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86 Hook\uff0c\u53ef\u4ee5\u5728\u7528\u6237\u4ee3\u7801\u8fd0\u884c\u524d\u540e\u6267\u884c\u3002\u5305\u62ec\u6267\u884c\u524d\u7684 Prehook \u548c\u6267\u884c\u540e\u7684 Posthook\u3002\u5e38\u89c1\u573a\u666f\u5305\u62ec\u7528\u4e8e\u4ee3\u7801\u6e32\u67d3\u3001\u524d\u7f6e\u68c0\u67e5\u7684 Prehook\uff0c\u4ee5\u53ca\u7528\u4e8e\u6267\u884c\u540e\u6570\u636e\u8d28\u91cf\u68c0\u6d4b\u7684 Posthook\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u4e0e\u6210\u679c<\/strong><\/p>\n\n\n\n\u5982\u679c\u628a\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6bd4\u4f5c\u5927\u697c\u7684\u9aa8\u67b6\uff0c\u90a3\u4e48\u57fa\u4e8e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u5c31\u662f\u88c5\u4fee\u5b8c\u5584\u3001\u9002\u4e8e\u4eba\u5de5\u4f5c\u751f\u6d3b\u7684\u5927\u53a6\u3002\u901a\u8fc7\u5e94\u7528\uff0c\u80fd\u66f4\u597d\u5730\u4f53\u73b0\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4ef7\u503c\u3002\u5728\u5feb\u624b\uff0c\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4e00\u4e2a\u5178\u578b\u5e94\u7528\u3002<\/p>\n\n\n\n\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u5feb\u624b\u7684\u4e00\u7ad9\u5f0f\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u4f7f\u7528 kwaiflow \u4f5c\u4e3a\u7edf\u4e00\u7684\u7f16\u6392\u4e0e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u6784\u5efa\u4e86\u5404\u7c7b\u7684\u6570\u636e\u5f00\u53d1\u8fd0\u7ef4\u7b49\u670d\u52a1\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u67e5\u8be2\u3001\u540c\u6b65\u3001\u5f00\u53d1\u3001\u670d\u52a1\u5316\u3001\u8fd0\u7ef4\u3001\u7ba1\u7406\u7b49\u80fd\u529b\u3002<\/p>\n\n\n\n\u8be5\u5e73\u53f0\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u4e00\u7ad9\u5f0f<\/strong>\uff1a\u5e73\u53f0\u6db5\u76d6\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u7684\u5404\u73af\u8282\uff0c\u5305\u62ec\u6570\u636e\u63a5\u5165\u3001\u6570\u636e\u52a0\u5de5\u3001\u6570\u636e\u5206\u53d1\u548c\u6570\u636e\u670d\u52a1\u5316\u3002\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u6e90\u7ba1\u7406\uff0c\u521b\u5efa\u6570\u636e\u63a5\u5165\u4efb\u52a1\u5c06\u5404\u79cd\u6570\u636e\u6e90\u5bfc\u5165\u5230\u5927\u6570\u636e\u7cfb\u7edf\u4e2d\uff1b\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u667a\u80fd IDE \u7f16\u5199\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03 ETL \u4efb\u52a1\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5de5\u5904\u7406\uff0c\u4ea7\u751f\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b\u7528\u6237\u8fd8\u53ef\u4ee5\u521b\u5efa\u6570\u636e\u5206\u53d1\u4efb\u52a1\uff0c\u5c06\u9ad8\u4ef7\u503c\u6570\u636e\u5206\u53d1\u5230\u5176\u5b83\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u4f8b\u5982\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u975e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u7f13\u5b58\u7cfb\u7edf\u3001OLAP \u5f15\u64ce\u7b49\u3002\u7528\u6237\u4e5f\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u914d\u7f6e\u7684\u65b9\u5f0f\u521b\u5efa\u670d\u52a1\u5316 API\uff0c\u4e3a\u7ebf\u4e0a\u7cfb\u7edf\u63d0\u4f9b\u670d\u52a1\u3002<\/li>\u901a\u7528<\/strong>\uff1a\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u80fd\u7edf\u4e00\u8fd0\u7ef4 Kwaiflow \u6240\u6709\u4efb\u52a1\uff0c\u5305\u62ec\u4efb\u52a1\u8fd0\u7ef4\u3001\u5b9e\u4f8b\u8fd0\u7ef4\u3001\u94fe\u8def\u8fd0\u7ef4\u7b49\u65b9\u5f0f\uff0c\u9002\u5408\u6570\u636e\u5f00\u53d1\u3001\u5b9a\u65f6\u8c03\u5ea6\u3001\u89e6\u53d1\u5f0f\u8c03\u5ea6\u7b49\u573a\u666f\u3002<\/li>\u667a\u80fd<\/strong>\uff1a\u5728\u5f00\u53d1\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd IDE\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4ee3\u7801\u95ee\u9898\uff1b\u5728\u8fd0\u7ef4\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd\u76d1\u63a7\u3001\u667a\u80fd\u8bca\u65ad\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4efb\u52a1\u548c\u94fe\u8def\u95ee\u9898\uff0c\u5e76\u8f85\u52a9\u5b9a\u4f4d\u95ee\u9898\u539f\u56e0\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8981\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u4e0d\u4ec5\u8981\u6709\u5f3a\u5927\u7684\u81ea\u8eab\u80fd\u529b\uff0c\u66f4\u8981\u6709\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\u3002\u5728\u5feb\u624b\uff0cKwaiflow \u548c\u5927\u6570\u636e\u7684\u5176\u5b83\u7cfb\u7edf\u6df1\u5ea6\u96c6\u6210\uff0c\u63a5\u5165\u4e86 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u4fbf\u6377\u5730\u4f7f\u7528\u5176\u5b83\u5927\u6570\u636e\u7cfb\u7edf\u7684\u80fd\u529b\u3002\u53ef\u4ee5\u8bf4\uff0c\u81ea\u8eab\u80fd\u529b\u548c\u751f\u6001\u4f53\u7cfb\u5bf9 Kwaiflow \u6765\u8bf4\u540c\u7b49\u91cd\u8981\u3002<\/p>\n\n\n\n\u9996\u5148\uff0c\u5c31\u81ea\u8eab\u800c\u8a00\uff0cKwaiflow \u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u6267\u884c\u80fd\u529b\u3002\u5305\u62ec\u591a\u573a\u666f\u8c03\u5ea6\u80fd\u529b\u3001\u591a\u6837\u5316\u7684\u6267\u884c\u80fd\u529b\u3001\u6613\u7528\u7684\u8fd0\u7ef4\u80fd\u529b\u548c\u9ad8\u53ef\u7528\u7684\u7279\u6027\u3002<\/p>\n\n\n\n\u5176\u6b21\uff0cKwaiflow \u5177\u6709\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\u3002\u63a5\u5165 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u65b9\u4fbf\u5730\u4f7f\u7528\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\u3002<\/p>\n\n\n\n\u6700\u540e\uff0cKwaiflow \u65e0\u7f1d\u96c6\u6210\u4e86\u5176\u5b83\u4e2d\u53f0\u80fd\u529b\u3002\u5305\u62ec\u6570\u636e\u8d28\u91cf\u3001\u6570\u636e\u5b89\u5168\u4f53\u7cfb\u3001\u5b8c\u6574\u51c6\u786e\u7684\u4efb\u52a1\u5b9e\u4f8b\u8840\u7f18\u3001\u94fe\u8def\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5c06\u4ece\u6027\u80fd\u3001\u529f\u80fd\u548c\u4f7f\u7528\u60c5\u51b5\u4e09\u4e2a\u65b9\u9762\u4ecb\u7ecd Kwaiflow \u7684\u6210\u679c\u3002<\/p>\n\n\n\n\u5728\u6027\u80fd\u65b9\u9762<\/strong>\uff0c\u548c Airflow \u76f8\u6bd4\uff0c\u6709\u6781\u5927\u7684\u63d0\u5347\uff1a<\/p>\n\n\n\n\u5728\u89c4\u6a21\u4e0a\uff0cKwaiflow \u521d\u7248\u8bbe\u8ba1\u5bb9\u91cf\u4e3a\u767e\u4e07\u7ea7\u522b\u4efb\u52a1\uff0c\u5f53\u524d\u5df2\u6709\u6570\u5341\u4e07\u7684\u4efb\u52a1\u6570\uff0c\u548c Airflow \u5355\u96c6\u7fa4\u4e0d\u8d85\u8fc7 1 \u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\u3002<\/li>\u5728\u6027\u80fd\u4e0a\uff0cKwaiflow \u8c03\u5ea6\u9ad8\u5cf0\u671f\u7684\u8c03\u5ea6\u5ef6\u8fdf P99 \u5c0f\u4e8e 5 \u79d2\uff0c\u548c Airflow 5 \u5206\u949f\u76f8\u6bd4\uff0c\u6709\u6570\u91cf\u7ea7\u7684\u63d0\u5347\uff1bKwaiflow \u8d77\u8c03\u901f\u7387\u5341\u6570\u4e07\u6bcf\u5206\u949f\uff0c\u548c Airflow \u6570\u5343\u6bcf\u5206\u949f\u5bf9\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\uff1bKwaiflow \u8fd0\u884c\u7684\u5e76\u53d1\u5b9e\u4f8b\u6570\u5341\u6570\u4e07\u4e07\uff0c\u548c Airflow \u5c0f\u4e8e1\u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u5341\u6570\u500d\u3002<\/li>\u5728\u7a33\u5b9a\u6027\u4e0a\uff0cKwaiflow \u53ef\u7528\u6027\u4e3a 99.99%\uff0c Airflow \u5219\u4e3a 99.5%\uff1bKwaiflow \u5e74\u6545\u969c\u6570\u7ea6 1 \u4e2a\uff0c\u800c Airflow \u5e74\u5747\u4e3a 8 \u4e2a\u3002<\/li><\/ul>\n\n\n\n\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u6574\u4f53\u8bbe\u8ba1<\/strong><\/p>\n\n\n\n\u5728 2019 \u5e74\u4e2d\u65ec\uff0c\u6211\u4eec\u5f00\u59cb\u81ea\u7814\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf Kwaiflow\uff0c\u5e76\u5728\u4e0b\u534a\u5e74\u4e0a\u7ebf 1.0 \u7248\u672c\u3002<\/p>\n\n\n\nKwaiflow \u662f\u5feb\u624b\u901a\u7528\u3001\u9ad8\u6027\u80fd\u3001\u6613\u6269\u5c55\u7684\u5206\u5e03\u5f0f\u5de5\u4f5c\u6d41\u8c03\u5ea6\u7cfb\u7edf\u3002\u5176\u8bbe\u8ba1\u76ee\u6807\u4ece\u4e24\u65b9\u9762\u8003\u8651\u3002<\/p>\n\n\n\n\u5728\u529f\u80fd\u578b\u76ee\u6807\u65b9\u9762<\/strong>\uff1a<\/p>\n\n\n\n\u573a\u666f\u4e30\u5bcc\uff1a\u652f\u6301\u591a\u573a\u666f\u8c03\u5ea6\uff0c\u591a\u79cd\u73af\u5883\u6267\u884c\uff0c\u652f\u6301\u591a\u6837\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b<\/li>\u8fd0\u7ef4\u4fbf\u6377\uff1a\u53ef\u4ee5\u8fdb\u884c\u53ef\u89c6\u5316\u3001\u667a\u80fd\u3001\u4fbf\u6377\u5730\u8fd0\u7ef4<\/li>\u4fbf\u4e8e\u5f00\u653e\uff1a\u5177\u6709\u5f3a\u5927\u7684\u5f00\u653e\u80fd\u529b\uff0c\u6613\u4e8e\u7cfb\u7edf\u96c6\u6210\uff0c\u6784\u5efa\u7edf\u4e00\u751f\u6001<\/li><\/ul>\n\n\n\n\u5728\u975e\u529f\u80fd\u578b\u76ee\u6807\u65b9\u9762<\/strong>\uff1a<\/p>\n\n\n\n\u9ad8\u5bb9\u91cf\uff1a\u652f\u6301\u767e\u4e07\u7ea7\u4efb\u52a1\u5bb9\u91cf<\/li>\u9ad8\u6027\u80fd\uff1a\u79d2\u7ea7\u6216\u8005\u4e9a\u79d2\u7ea7\u8c03\u5ea6\u5ef6\u8fdf<\/li>\u9ad8\u53ef\u7528\uff1a\u53ef\u7528\u6027 99.99%\uff0c\u7ebf\u4e0a\u95ee\u9898\u5c11\uff0c\u51fa\u73b0\u65f6\u80fd\u53ca\u65f6\u53d1\u73b0\u5feb\u901f\u5e76\u5904\u7406<\/li><\/ul>\n\n\n\n\u5728\u5b9a\u4f4d\u4e0a\uff0cKwaiflow \u57fa\u4e8e\u5927\u6570\u636e\u4f53\u7cfb\u548c\u5176\u5b83\u57fa\u7840\u8bbe\u65bd\uff0c\u63d0\u4f9b\u8c03\u5ea6\u3001\u6267\u884c\u7b49\u6838\u5fc3\u80fd\u529b\uff0c\u540c\u65f6\u5177\u6709\u8fd0\u7ef4\u3001\u76d1\u63a7\u62a5\u8b66\u3001\u667a\u80fd\u8bca\u65ad\u3001\u5f00\u653e\u670d\u52a1\u7b49\u91cd\u8981\u80fd\u529b\uff0c\u6784\u5efa\u8c03\u5ea6\u751f\u6001\uff1b\u9762\u5411\u6570\u636e\u5904\u7406\u3001\u6d41\u7a0b\u7f16\u6392\u3001\u7b97\u6cd5\u8c03\u5ea6\u548c\u5206\u5e03\u5f0f\u8ba1\u7b97\u7b49\u573a\u666f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u8c03\u5ea6\u6a21\u578b\u4e0a\uff0cKwaiflow \u91c7\u7528\u4e86\u4e24\u5c42\u5b9e\u4f53\u7684\u8c03\u5ea6\u6a21\u578b\uff1a<\/p>\n\n\n\nTask\uff1a\u6267\u884c\u6a21\u677f\uff0c\u7528\u4e8e\u6267\u884c\u67d0\u4e00\u7c7b\u578b\u7684\u4ee3\u7801\uff1bTask \u6709\u5f88\u591a\u7c7b\u578b\uff0c\u4f8b\u5982 HiveTask \u7528\u4e8e\u6267\u884c Hive SQL\uff0cBashTask \u7528\u4e8e\u6267\u884c Bash \u811a\u672c\uff0cHivePartitionSensorTask \u7528\u4e8e\u63a2\u6d4b hive \u8868\u5206\u533a\u662f\u5426\u5b58\u5728\u3002<\/li>DAG\uff1a\u4e00\u7cfb\u5217 Task \u7684\u96c6\u5408\uff0c\u5177\u6709\u8c03\u5ea6\u5b9a\u65f6\u7b49\u5c5e\u6027\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f9d\u8d56\u5173\u7cfb\u65b9\u9762\uff0cDAG \u4e4b\u95f4\u53ef\u4ee5\u76f8\u4e92\u4f9d\u8d56\uff0c\u65e2\u53ef\u4ee5\u540c\u5468\u671f\u4f9d\u8d56\uff0c\u4e5f\u53ef\u4ee5\u8de8\u5468\u671f\u4f9d\u8d56\uff0c\u8fd8\u53ef\u4ee5\u6709\u4f9d\u8d56\u504f\u79fb\u3002DAG \u5185\u7684 Task \u4e4b\u95f4\u4e5f\u53ef\u4ee5\u4f9d\u8d56\uff0c\u7531\u4e8e\u4ed6\u4eec\u8c03\u5ea6\u5c5e\u6027\u4e00\u81f4\uff0c\u6240\u4ee5\u90fd\u4e3a\u540c\u5468\u671f\u4f9d\u8d56\u3002<\/p>\n\n\n\n\u4e00\u822c\u6765\u8bb2\uff0c\u5e38\u89c1\u7684\u8c03\u5ea6\u6a21\u578b\u9664\u4e86\u53cc\u5c42\u5b9e\u4f53\u6a21\u578b\u5916\uff0c\u8fd8\u6709\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u3002\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u6ca1\u6709 DAG \u7684\u6982\u5ff5\uff0c\u53ea\u6709 Task\uff0cTask \u5177\u6709\u8c03\u5ea6\u5c5e\u6027\uff0cTask \u4e4b\u95f4\u76f8\u4e92\u4f9d\u8d56\u3002\u4e24\u79cd\u6a21\u578b\u5404\u6709\u4f18\u52a3\u3002\u53cc\u5c42\u6a21\u578b\u66f4\u9002\u5408\u5feb\u624b\u7684\u60c5\u51b5\uff0c\u5177\u6709\u66f4\u5f3a\u7684\u8868\u8fbe\u529b\uff0c\u4f7f\u7528\u573a\u666f\u66f4\u5e7f\u6cdb\uff0c\u5f53\u7136\u4e5f\u5177\u6709\u4e00\u5b9a\u7684\u590d\u6742\u6027\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u7cfb\u7edf\u67b6\u6784\u4e0a\uff1a<\/p>\n\n\n\nAPI Server \u63d0\u4f9b\u5404\u5f0f\u5404\u6837\u7684\u63a5\u53e3\uff0c\u8d1f\u8d23\u7edf\u4e00\u63a5\u5165\u3002<\/li>Scheduler \u8d1f\u8d23\u8c03\u5ea6\uff0c\u4e0d\u540c\u7684\u8c03\u5ea6\u573a\u666f\u4f1a\u6709\u4e0d\u540c\u7c7b\u578b\u7684\u8c03\u5ea6\u5668\uff0c\u5305\u62ec\u4f8b\u884c\u3001\u89e6\u53d1\u5f0f\u3001\u8865\u6570\u636e\u3001\u963b\u65ad\u8c03\u5ea6\u5668\u3002\u5728\u4f8b\u884c\u8c03\u5ea6\u5668\u4e2d\uff0c\u4efb\u52a1\u5b9e\u4f8b\u751f\u6210\u540e\uff0c\u4f1a\u4f9d\u6b21\u7ecf\u8fc7\u5b9a\u65f6\u68c0\u6d4b\u3001\u4f9d\u8d56\u68c0\u6d4b\u548c\u8d44\u6e90\u68c0\u6d4b\u3002\u5982\u679c\u90fd\u901a\u8fc7\uff0c\u4f1a\u63d0\u4ea4\u5230 Queue Service \u4e2d\u3002<\/li>Queue Service \u4e3a\u5e26 ack \u673a\u5236\u7684\u6d88\u606f\u961f\u5217\u670d\u52a1\uff0c\u4f1a\u6709\u4e0d\u540c\u7684 channel\uff0c\u4ee5\u4fbf\u9694\u79bb\u4efb\u52a1\u3002<\/li>Worker \u8d1f\u8d23\u4efb\u52a1\u7684\u6267\u884c\uff0c\u4ece\u5c5e\u4e00\u4e2a worker \u5206\u7ec4\u3002\u4e0d\u540c\u5206\u7ec4\u7684 Worker \u6d88\u8d39 Queue Service \u4e2d\u4e0d\u540c Channel \u7684\u4efb\u52a1\uff0c\u6839\u636e\u4e0d\u540c\u7684\u4efb\u52a1\u7c7b\u578b\u8fdb\u884c\u6267\u884c\u3002\u6267\u884c\u5206\u4e3a\u672c\u5730\u6267\u884c\u548c\u5bb9\u5668\u5316\u6267\u884c\u4e24\u79cd\u65b9\u5f0f\uff0c\u672c\u5730\u6267\u884c\u662f\u6307\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u5185\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\uff1b\u5177\u6709\u542f\u52a8\u5feb\u7684\u7279\u70b9\uff1b\u5bb9\u5668\u5316\u6267\u884c\u662f\u6307\u5728 k8s \u8fdc\u7a0b\u6267\u884c\u7528\u6237\u4ee3\u7801\uff0c\u5177\u6709\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\u7684\u7279\u70b9\u3002<\/li><\/ul>\n\n\n\n\u9664\u6b64\u4e4b\u5916\uff0c\u8fd8\u6709\u5176\u5b83\u5173\u952e\u6a21\u5757\uff0c\u5305\u62ec\u65e5\u5fd7\u670d\u52a1\u3001\u62a5\u8b66\u670d\u52a1\u3001\u4e8b\u4ef6\u670d\u52a1\u3001\u5b9e\u4f8b\u8840\u7f18\u670d\u52a1\u7b49\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5173\u952e\u6280\u672f<\/strong><\/p>\n\n\n\n1. \u5173\u952e\u6280\u672f\uff1a\u4f4e\u8c03\u5ea6\u5ef6\u8fdf<\/h1>\n\n\n\n\u8c03\u5ea6\u5ef6\u8fdf\u662f\u6307\u7406\u8bba\u8d77\u8c03\u65f6\u523b\u5230\u5b9e\u9645\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\u7684\u65f6\u95f4\u5dee\u3002\u8c03\u5ea6\u5ef6\u8fdf\u662f\u8861\u91cf\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6027\u80fd\u7684\u91cd\u8981\u6307\u6807\u4e4b\u4e00\uff0c\u8be5\u6307\u6807\u8d8a\u5c0f\u8d8a\u597d\u3002<\/p>\n\n\n\n\u4efb\u52a1\u5b9e\u4f8b\u4ece\u751f\u6210\uff0c\u5230\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\uff0c\u9700\u8981\u7ecf\u8fc7\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\u3001\u7b49\u5f85\u4f9d\u8d56\u5c31\u7eea\u3001\u7b49\u5f85\u8d44\u6e90\u5c31\u7eea\u548c\u51c6\u5907\u8fd0\u884c\u73af\u5883\u56db\u4e2a\u9636\u6bb5\u3002\u8981\u6709\u8f83\u5c0f\u7684\u8c03\u5ea6\u5ef6\u8fdf\uff0c\u5c31\u9700\u8981\u51cf\u5c11\u5404\u4e2a\u9636\u6bb5\u7684\u7cfb\u7edf\u65f6\u95f4\u635f\u8017\u3002\u8c03\u5ea6\u5ef6\u8fdf\u7684\u4e3b\u8981\u56e0\u7d20\u4e0e\u5904\u7406\u65b9\u6848\u6709\uff1a<\/p>\n\n\n\n\u5b9a\u65f6\u5668<\/strong>\u3002\u5b9a\u65f6\u5668\u5728\u63a2\u6d4b\u65f6\u95f4\u5c31\u7eea\u73af\u8282\u8d77\u4f5c\u7528\uff0c\u4e00\u4e2a\u7cbe\u51c6\u7684\u3001\u652f\u6301\u767e\u4e07\u7ea7\u522b\u9ad8\u541e\u5410\u7684\u5b9a\u65f6\u5668\uff0c\u5bf9\u4f4e\u8c03\u5ea6\u5ef6\u8fdf\u81f3\u5173\u91cd\u8981\u3002\u4f18\u79c0\u7684\u5b9a\u65f6\u5668\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u6570\u636e\u5e93\u8bbf\u95ee<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d1\u751f\u53d8\u66f4\u540e\uff0c\u9700\u8981\u5bf9\u72b6\u6001\u8fdb\u884c\u6301\u4e45\u5316\u3002\u901a\u8fc7\u7d22\u5f15\u3001\u8bfb\u5199\u5206\u79bb\u3001\u5206\u5e93\u5206\u8868\u7b49\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5c06\u5355\u6b21\u6570\u636e\u5e93\u8bbf\u95ee\u8017\u65f6\u63a7\u5236\u5728 1 ~ 3ms\uff0c\u603b\u4f53\u8017\u65f6\u63a7\u5236\u5728 10ms \u5de6\u53f3 \u3002<\/li>\u72b6\u6001\u8f6c\u53d8<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u81ea\u751f\u6210\u5230\u8fd0\u884c\u7ed3\u675f\uff0c\u4f1a\u7ecf\u5386\u591a\u6b21\u72b6\u6001\u8f6c\u53d8\u3002\u72b6\u6001\u8f6c\u53d8\u9ad8\u6548\u4e0e\u5426\u662f\u8c03\u5ea6\u5ef6\u8fdf\u7684\u91cd\u8981\u56e0\u7d20\u3002\u4e00\u822c\u6765\u8bf4\u6709\u4e24\u79cd\u529e\u6cd5\uff1a\u8f6e\u8be2\u4e0e\u4e8b\u4ef6\u89e6\u53d1\u3002\u6211\u4eec\u91c7\u7528\u7684\u662f\u4e8b\u4ef6\u89e6\u53d1\u65b9\u5f0f\uff0c\u7b2c\u4e00\u65f6\u95f4\u611f\u77e5\u72b6\u6001\u8f6c\u53d8\u3002\u901a\u8fc7\u4e8b\u4ef6\u89e6\u53d1\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u8fd0\u884c\u73af\u5883\u51c6\u5907<\/strong>\u3002\u8fd9\u4e2a\u73af\u8282\u4e3b\u8981\u5de5\u4f5c\u5305\u62ec\u52a0\u8f7d\u955c\u50cf\u3001\u521d\u59cb\u5316\u8fd0\u884c\u73af\u5883\u7b49\u3002\u6211\u4eec\u4e3b\u8981\u91c7\u7528\u4e86\u9884\u52a0\u8f7d\u548c\u955c\u50cf\u9884\u70ed\u6280\u672f\u3002\u4e0d\u540c\u7684\u8fd0\u884c\u73af\u5883\uff0c\u65f6\u95f4\u635f\u8017\u4e0d\u4e00\u6837\uff0c\u4f1a\u5728\u4e9a\u79d2\u5230\u5206\u949f\u4e0d\u7b49\u3002<\/li><\/ul>\n\n\n\n\u8fd9\u56db\u4e2a\u56e0\u7d20\u4e2d\uff0c\u540e\u4e24\u8005\u76f8\u5bf9\u8f83\u590d\u6742\uff0c\u63a5\u4e0b\u6765\u7740\u91cd\u4ecb\u7ecd\u72b6\u6001\u8f6c\u53d8\u548c\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e24\u90e8\u5206\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u9996\u5148\u770b\u72b6\u6001\u8f6c\u53d8\u8fd9\u4e2a\u56e0\u7d20\u3002\u4efb\u52a1\u4ece\u53d1\u5e03\uff0c\u5230\u8c03\u5ea6\u6267\u884c\u5b8c\u6210\uff0c\u4f1a\u7ecf\u5386\u6570\u6b21\u6216\u8005\u5341\u6570\u6b21\u72b6\u6001\u53d8\u5316\u3002\u5982\u4f55\u8fdb\u884c\u5feb\u901f\u9ad8\u6548\u5730\u72b6\u6001\u8f6c\u53d8\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u95ee\u9898\u3002Kwaiflow \u7684\u89e3\u51b3\u529e\u6cd5\u662f\u91c7\u7528 Akka actor\u3002\u5145\u5206\u5229\u7528\u4e86 akka actor \u9ad8\u6027\u80fd\u7279\u70b9\u3002<\/p>\n\n\n\n\u5177\u4f53\u6765\u8bb2\uff1a<\/p>\n\n\n\n1. Kwaiflow \u7684\u4efb\u52a1\u4ece API Server \u53d1\u5e03\u540e\uff0c\u7ecf\u8fc7 Entry Actor \u52a0\u8f7d\u5230 DagLoader Actors \u4e2d\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\uff1b<\/p>\n\n\n\n2. \u5728\u65f6\u95f4\u5c31\u7eea\u540e\uff0c\u7531 Instance Generator Actors \u751f\u6210\u4efb\u52a1\u5b9e\u4f8b\uff0c\u7136\u540e\u8fdb\u5165 Dependency Detector Actor \u63a2\u6d4b\u4e0a\u6e38\u4f9d\u8d56\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n3. \u5728\u4f9d\u8d56\u5c31\u7eea\u540e\uff0c\u8fdb\u5165 Resource Detector Actor \u63a2\u6d4b\u8d44\u6e90\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n4. \u5728\u8d44\u6e90\u5c31\u7eea\u540e\uff0c\u4efb\u52a1\u5b9e\u4f8b\u901a\u8fc7 Queue Service \u4e0b\u53d1\u5230 worker \u4e2d\u3002<\/p>\n\n\n\n5. \u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u88ab\u63a5\u6536\u540e\uff0c\u5c06\u4f1a\u7531 Processor Actor \u6267\u884c\uff0c\u6267\u884c\u524d\u540e\u4f1a\u4f9d\u6b21\u7ecf\u5386\u4ee3\u7801\u6e32\u67d3\u3001Prehook\u3001\u4ee3\u7801\u6267\u884c\u3001Posthook \u56db\u4e2a\u6b65\u9aa4\u3002<\/p>\n\n\n\n6. \u5982\u679c\u6267\u884c\u6210\u529f\uff0c\u5219\u6d41\u7a0b\u7ec8\u6b62\uff1b\u5982\u679c\u6267\u884c\u5931\u8d25\uff0cPosthook \u4f1a\u5c06\u4fe1\u606f\u901a\u8fc7 Processor Actor\u3001ResultHandlerActor \u4f20\u9012\u7ed9 scheduler \u7684 RetryerActor \u8fdb\u884c\u91cd\u8bd5\u64cd\u4f5c\u3002<\/p>\n\n\n\n\u6574\u4e2a\u6d41\u7a0b\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u5168\u6d41\u7a0b\u4e8b\u4ef6\u89e6\u53d1<\/strong>\uff1a\u65e0\u8f6e\u8be2\uff0c\u4efb\u52a1\u53d1\u5e03\u3001\u8c03\u5ea6\u3001\u6267\u884c\u3001\u91cd\u8bd5\uff0c\u5747\u4e3a\u4e8b\u4ef6\u89e6\u53d1\u3002<\/li>\u9ad8\u541e\u5410<\/strong>\uff1a\u91c7\u7528\u5f02\u6b65\u5e76\u53d1\u7684\u65b9\u5f0f\uff0c\u80fd\u5feb\u901f\u8c03\u8d77\u5927\u91cf\u4efb\u52a1\u5b9e\u4f8b<\/li>\u7b80\u5355\u6613\u7528<\/strong>\uff1a\u65e0\u9700\u4f7f\u7528\u5e95\u5c42 API \u8fdb\u884c\u9501\u548c\u7ebf\u7a0b\u7ba1\u7406\uff0c\u4e13\u6ce8\u4e1a\u52a1\u5b9e\u73b0\u3002<\/li><\/ul>\n\n\n\n\u91c7\u7528 actor\uff0c\u72b6\u6001\u8f6c\u53d8\u5bfc\u81f4\u7684\u65f6\u95f4\u635f\u8017\u63a7\u5236\u5728\u6beb\u79d2\u7ea7\u522b\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u63a5\u4e0b\u6765\u6211\u4eec\u770b\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e2a\u56e0\u7d20\u3002\u8fd9\u548c\u6267\u884c\u573a\u666f\u6709\u5173\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e0d\u540c\u7684\u6267\u884c\u573a\u666f\uff0cKwaiflow \u63d0\u4f9b\u4e86\u4e24\u79cd\u6267\u884c\u65b9\u5f0f\uff1a\u5bb9\u5668\u5316\u6267\u884c\u548c\u672c\u5730\u6267\u884c\u3002<\/p>\n\n\n\n\u5bb9\u5668\u5316\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u6bcf\u6b21\u6267\u884c\u524d\uff0c\u5728 k8s \u6309\u9700\u7533\u8bf7\u5bb9\u5668\u8d44\u6e90\uff0c\u5728\u5bb9\u5668\u4e2d\u6267\u884c\u4efb\u52a1\u5b9e\u4f8b\uff0c\u6267\u884c\u5b8c\u540e\uff0c\u53ca\u65f6\u91ca\u653e\u5bb9\u5668\u8d44\u6e90\u3002\u4f18\u70b9\u662f\u5b9e\u73b0\u4e86\u6267\u884c\u65f6\u7684\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\uff1b\u7f3a\u70b9\u662f\u6bcf\u6b21\u90fd\u9700\u8981\u7533\u8bf7\u548c\u521d\u59cb\u5316\u5bb9\u5668\u8d44\u6e90\uff0c\u542f\u52a8\u8017\u65f6\u957f\u3002\u5bb9\u5668\u5316\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Bash \u4efb\u52a1\u3002\u4e3a\u4e86\u51cf\u5c11\u5bb9\u5668\u5316\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\uff0c\u6211\u4eec\u5c06\u955c\u50cf\u5206\u4e3a\u81ea\u5b9a\u4e49\u955c\u50cf\u548c\u901a\u7528\u955c\u50cf\uff0c\u5bf9\u901a\u7528\u955c\u50cf\u8fdb\u884c\u9884\u70ed\uff0c\u63d0\u524d\u5206\u53d1\u5230\u673a\u5668\u4e2d\uff0c\u51cf\u5c11\u955c\u50cf\u4e0b\u8f7d\u8017\u65f6\u3002\u901a\u8fc7\u955c\u50cf\u9884\u70ed\uff0c\u53ef\u4ee5\u5c06\u542f\u52a8\u8017\u65f6\u4ece\u5206\u949f\u7ea7\u964d\u4f4e\u5230\u79d2\u7ea7\u3002<\/li>\u672c\u5730\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u673a\u4e2d\uff0c\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\u3002\u540c\u4e00\u4e2a worker \u673a\u4e2d\u7684\u6240\u6709\u4efb\u52a1\u5b9e\u4f8b\u5171\u4eab\u8ba1\u7b97\u8d44\u6e90\u548c\u6267\u884c\u73af\u5883\u3002\u4f18\u70b9\u662f\u542f\u52a8\u8017\u65f6\u77ed\uff0coverhead \u5c0f\uff1b\u7f3a\u70b9\u662f\u8d44\u6e90\u548c\u73af\u5883\u4e0d\u9694\u79bb\uff0c\u4e00\u4e2a\u4efb\u52a1\u5b9e\u4f8b\u6267\u884c\u5f02\u5e38\u6709\u53ef\u80fd\u5bfc\u81f4\u6574\u4e2a worker \u673a crash\u3002\u672c\u5730\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u4e0d\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Hive \u548c Sensor \u4efb\u52a1\u3002\u672c\u5730\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\u4e00\u822c\u5728\u4e9a\u79d2\u7ea7\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n2. \u5173\u952e\u6280\u672f\uff1a\u9ad8\u53ef\u7528<\/h1>\n\n\n\n\u9ad8\u53ef\u7528\u5bf9\u8c03\u5ea6\u7cfb\u7edf\u6765\u8bf4\u975e\u5e38\u91cd\u8981\u3002\u4e3a\u4e86\u4fdd\u969c Kwaiflow \u7684\u9ad8\u53ef\u7528\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e24\u65b9\u9762\u8fdb\u884c\u8003\u8651\uff1a\u7cfb\u7edf\u8bbe\u8ba1\u548c\u6545\u969c\u53d1\u73b0\u5904\u7406\u3002\u5728\u7cfb\u7edf\u8bbe\u8ba1\u4e0a\uff0cKwaiflow \u53ef\u4ee5\u505a\u5230\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5373\u4efb\u52a1\u5b9e\u4f8b\u5728\u590d\u6742\u73af\u5883\u4e2d Exactly Once \u6267\u884c\uff0c\u505a\u5230\u4e0d\u6f0f\uff0c\u4e14\u5c3d\u91cf\u4e0d\u91cd\u3002<\/p>\n\n\n\n\u5bf9\u4e8e\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5e38\u89c1\u7684\u6545\u969c\u573a\u666f\u5305\u62ec\u7ec4\u4ef6\u6545\u969c\u6216\u8005\u7ec4\u4ef6\u5931\u8054\u3002\u4f8b\u5982 scheduler crash\u3001\u5bb9\u5668\u5316\u4efb\u52a1\u4e0e worker \u5931\u8054\u7b49\u3002<\/p>\n\n\n\n\u4e3a\u4e86\u8fbe\u5230\u9ad8\u53ef\u9760\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e09\u65b9\u9762\u8003\u8651\uff1a<\/p>\n\n\n\nFailover \u673a\u5236\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u548c\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\uff0c\u6765\u5b9e\u73b0\u7ec4\u4ef6\u7684\u81ea\u52a8\u5bb9\u9519\u3002\u4f8b\u5982 Kwaiflow \u91c7\u7528\u4e3b\u5907 Master\uff0c\u591a worker \u7684\u8bbe\u8ba1\u6765\u907f\u514d\u5355\u70b9\u95ee\u9898\uff1b\u5404\u4e2a\u7ec4\u4ef6\u4e4b\u95f4\u91c7\u7528\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\u6765\u907f\u514d\u5931\u8054\u95ee\u9898\u3002\u534f\u8bae\u5305\u62ec scheduler Executor \u901a\u4fe1\u534f\u8bae\u3001Executor Runner \u901a\u4fe1\u534f\u8bae\u3001External Job \u901a\u4fe1\u534f\u8bae\u3002\u53f3\u56fe\u5c55\u793a\u4e86 Executor Runner \u901a\u4fe1\u534f\u8bae\u7684\u4e3b\u8981\u6d41\u7a0b\uff0c\u534f\u8bae\u89c4\u5b9a\u4e86\u4efb\u52a1\u63d0\u4ea4\u3001\u6b63\u5e38\u6267\u884c\u3001\u5f02\u5e38\u6267\u884c\u3001\u901a\u4fe1\u5931\u8054\u7684\u5904\u7406\u529e\u6cd5\uff0c\u4e0d\u4f9d\u8d56\u5916\u90e8\u7cfb\u7edf\u7684\u72b6\u6001\u3002<\/li>\u907f\u514d\u9057\u6f0f\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u6d88\u606f ack \u673a\u5236\uff0c\u4fdd\u969c\u6d88\u606f\u4e0d\u4e22\u5931\uff1b\u540c\u65f6\u901a\u8fc7\u5b9a\u671f\u515c\u5e95\u5de1\u68c0\uff0c\u4fdd\u969c\u4efb\u52a1\u5b9e\u4f8b\u4e0d\u9057\u6f0f\u3002<\/li>\u907f\u514d\u91cd\u590d\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u72b6\u6001\u673a\u8f6c\u79fb\u56fe\uff0c\u907f\u514d\u4e0d\u5408\u7406\u72b6\u6001\u8f6c\u53d8\uff1b\u540c\u65f6\u901a\u8fc7\u91cd\u8bd5\u524d\u6e05\u7406\u524d\u4e00\u4e2a\u5b9e\u4f8b\uff0c\u907f\u514d\u91cd\u590d\u6267\u884c\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u9ad8\u53ef\u7528\u65b9\u9762\uff0c\u8fd8\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u7cfb\u7edf\u8bbe\u8ba1\u662f\u5206\u7ea7\u4fdd\u969c\u3002\u5feb\u624b\u5728\u8fdb\u884c\u5927\u578b\u6d3b\u52a8\u4f8b\u5982\u6625\u8282\u3001\u5965\u8fd0\u65f6\uff0c\u6574\u4f53\u6570\u636e\u91cf\u5927\u5e45\u5ea6\u589e\u957f\uff0c\u5c40\u90e8\u6570\u636e\u5448\u6570\u500d\u589e\u957f\u3002\u4f46\u8ba1\u7b97\u8d44\u6e90\u662f\u6709\u9650\u7684\uff0c\u8ba1\u7b97\u8d44\u6e90\u7684\u589e\u957f\u5f80\u5f80\u4e0d\u80fd\u5339\u914d\u6570\u636e\u91cf\u7684\u589e\u957f\uff0c\u4e0d\u80fd\u8ba9\u6240\u6709\u7684\u4efb\u52a1\u548c\u5f80\u5e38\u4e00\u6837\u6309\u65f6\u4ea7\u51fa\u3002\u8fd9\u65f6\u5019\u6211\u4eec\u5c31\u9700\u8981\u8fdb\u884c\u5206\u7ea7\u4fdd\u969c\u3002<\/p>\n\n\n\n\u6240\u8c13\u5206\u7ea7\u4fdd\u969c\uff0c\u5c31\u662f\u5728\u8d44\u6e90\u6709\u9650\u7684\u60c5\u51b5\u4e0b\uff0c\u8ba9\u9ad8\u4f18\u4efb\u52a1\u5f97\u5230\u7279\u6743\uff0c\u4f18\u5148\u5f97\u5230\u6267\u884c\uff0c\u4f18\u5148\u83b7\u5f97\u5145\u8db3\u7684\u4f18\u8d28\u8d44\u6e90\uff0c\u4fdd\u969c\u4ea7\u51fa\u65f6\u95f4\uff1b\u800c\u4f4e\u4f18\u4efb\u52a1\u5219\u4f1a\u88ab\u5ef6\u8fdf\u8c03\u5ea6\u6267\u884c\uff0c\u5206\u914d\u66f4\u5c11\u7684\u8d44\u6e90\u3002<\/p>\n\n\n\n\u5728\u5feb\u624b\uff0c\u6574\u4e2a\u79bb\u7ebf\u4f53\u7cfb\uff0c\u5305\u62ec Kwaiflow\u3001Hive\u3001Yarn\u3001HDFS \u7b49\uff0c\u90fd\u5177\u6709\u5206\u7ea7\u4fdd\u969c\u7684\u80fd\u529b\u3002\u8fd9\u91cc\u4ecb\u7ecd Kwaiflow \u7684\u5206\u7ea7\u4fdd\u969c\u80fd\u529b\uff0c\u5305\u62ec\u4e09\u65b9\u9762\uff1a<\/p>\n\n\n\nKwaiflow \u8c03\u5ea6\u5668\u5177\u6709\u5206\u7ea7\u8c03\u5ea6\u7684\u80fd\u529b<\/strong>\u3002Kwaiflow \u8c03\u5ea6\u5668\u80fd\u611f\u77e5\u5230\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u7684\u72b6\u6001\uff0c\u5728\u8d44\u6e90\u4e0d\u8db3\u65f6\uff0cKwaiflow \u4efb\u52a1\u4f1a\u5728\u8c03\u5ea6\u5668\u6392\u961f\uff0c\u9ad8\u4f18\u4efb\u52a1\u6392\u5728\u524d\u9762\uff0c\u4f4e\u4f18\u4efb\u52a1\u6392\u5728\u540e\u9762\uff1b\u5f53\u8d44\u6e90\u5f97\u5230\u91ca\u653e\u65f6\uff0c\u9ad8\u4f18\u4efb\u52a1\u4f18\u5148\u88ab\u8c03\u5ea6\u3002<\/li>Kwaiflow \u7684\u6267\u884c\u5668\u6309\u7167\u4e0d\u540c\u4f18\u5148\u7ea7\u8fdb\u884c\u5206\u7ec4<\/strong>\u3002\u5305\u62ec\u4e09\u7ec4\uff1aP0 \u6267\u884c\u5668\u7ec4\u3001P1 \u6267\u884c\u5668\u7ec4\u4ee5\u53ca P2 P3 \u6267\u884c\u5668\u7ec4\u3002P0 \u6267\u884c\u5668\u7528\u4e8e\u6267\u884c\u6700\u9ad8\u4f18\u5148\u7ea7\u7684 P0 \u4efb\u52a1\uff0c\u5177\u6709\u5145\u8db3\u7684 worker\uff0cP0 \u4efb\u52a1\u5b9e\u4f8b\u57fa\u672c\u4e0d\u4f1a\u5728\u6267\u884c\u5668\u5c42\u88ab\u9650\u5236\u3002\u5bf9\u4e8e P2 P3 \u5206\u7ec4\uff0c\u5728\u8c03\u5ea6\u9ad8\u5cf0\u671f\uff0c\u4efb\u52a1\u5b9e\u4f8b\u5f88\u591a\u65f6\uff0c\u53ef\u80fd\u5b58\u5728\u6392\u961f\u6267\u884c\u7684\u60c5\u51b5\u3002<\/li>Kwaiflow \u5177\u6709\u8f83\u5f3a\u7684\u4eba\u5de5\u7ba1\u63a7\u80fd\u529b<\/strong>\uff0c\u53ef\u4ee5\u4eba\u4e3a\u5730\u5141\u8bb8\u6216\u8005\u963b\u65ad\u67d0\u4e9b\u4efb\u52a1\u7684\u8c03\u5ea6\u3002\u5178\u578b\u4f7f\u7528\u573a\u666f\u662f\u5728\u5927\u578b\u6d3b\u52a8\u671f\u95f4\uff0c\u53ef\u4ee5\u6839\u636e\u9884\u6848\uff0c\u5bf9\u4f4e\u4f18\u5148\u7ea7\u7684\u4efb\u52a1\u4eba\u4e3a\u8fdb\u884c\u5ef6\u8fdf\u8c03\u5ea6\uff0c\u4fdd\u969c\u8d44\u6e90\u5206\u914d\u7ed9\u9ad8\u4f18\u4efb\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u524d\u9762\u4e3b\u8981\u4ece\u7cfb\u7edf\u8bbe\u8ba1\u65b9\u9762\u4ecb\u7ecd\u4e86\u7ebf\u4e0a\u6545\u969c\u7684\u81ea\u52a8\u89c4\u907f\u3002Kwaiflow \u9ad8\u53ef\u7528\u7684\u7b2c\u4e8c\u4e2a\u65b9\u9762\u662f\u6545\u969c\u7684\u53d1\u73b0\u548c\u5904\u7406\u3002\u5982\u679c\u6545\u969c\u53d1\u73b0\u4e0d\u53ca\u65f6\u3001\u5904\u7406\u4e0d\u8fc5\u901f\uff0c\u4f1a\u51fa\u73b0\u5927\u89c4\u6a21\u7684\u8c03\u5ea6\u9519\u8bef\u6216\u8005\u8c03\u5ea6\u5ef6\u8fdf\u6545\u969c\u3002\u5728\u5feb\u624b\u8c03\u5ea6\u7cfb\u7edf\u53d1\u5c55\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u78b0\u5230\u8fc7\u8fd9\u6837\u7684\u5927\u6545\u969c\uff0c\u4e3a\u4e86\u907f\u514d\u518d\u6b21\u53d1\u751f\uff0c\u6211\u4eec\u5efa\u7acb\u4e86\u5b8c\u5907\u7684\u76d1\u63a7\u9884\u6848\u4f53\u7cfb\u3002<\/p>\n\n\n\n\u5728\u76d1\u63a7\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5206\u6210\u4f7f\u7528\u5c42\u3001\u670d\u52a1\u5c42\u3001\u4f9d\u8d56\u5c42\u4e09\u4e2a\u5c42\u6b21\uff0c\u5e76\u5212\u5206\u76d1\u63a7\u4f18\u5148\u7ea7\uff0c\u91c7\u7528\u4e0d\u540c\u7684\u54cd\u5e94\u65b9\u5f0f\u3002<\/li>\u5728\u6545\u969c\u9884\u6848\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u6709\u4e24\u7c7b\u9884\u6848\uff1a\u7cfb\u7edf\u6545\u969c\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u8c03\u5ea6\u7cfb\u7edf\u81ea\u8eab\u95ee\u9898\uff1b\u6570\u636e\u5f02\u5e38\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u94fe\u8def\u6570\u636e\u4e0d\u6b63\u786e\u7684\u95ee\u9898\u3002\u6211\u4eec\u6c89\u6dc0\u4e86\u591a\u573a\u666f\u7684\u963b\u65ad\u6062\u590d\u548c\u8865\u6570\u636e\u5de5\u5177\uff0c\u80fd\u591f\u5728\u6570\u5206\u949f\u5185\u542f\u52a8\u6570\u636e\u6062\u590d\u3002<\/li>\u5728\u6f14\u7ec3\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5b9a\u671f\u5bf9\u9884\u6848\u8fdb\u884c\u6f14\u7ec3\uff0c\u4fdd\u8bc1\u9884\u6848\u7684\u53ef\u7528\u6027\uff0c\u64cd\u4f5c\u7684\u719f\u7ec3\u6027\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n3. \u5173\u952e\u6280\u672f\uff1a\u5f00\u653e\u80fd\u529b<\/h1>\n\n\n\n\u5f00\u653e\u662f\u6570\u636e\u4e2d\u53f0\u7684\u6838\u5fc3\u7ade\u4e89\u529b\u3002\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u7ed9\u4e88\u4f7f\u7528\u8005\u81ea\u7531\u7684\u53d1\u6325\u7a7a\u95f4\uff0c\u6ee1\u8db3\u66f4\u591a\u4f7f\u7528\u573a\u666f\uff1b\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u6784\u5efa\u6570\u636e\u751f\u6001\uff0c\u63d0\u4f9b\u66f4\u4e30\u5bcc\u7684\u80fd\u529b\u3002Kwaiflow \u63d0\u4f9b\u4e86\u591a\u79cd\u5f00\u653e\u80fd\u529b\uff1a<\/p>\n\n\n\nKwaiflow \u5177\u6709\u5f00\u653e\u7684 API\uff0c\u652f\u6301\u591a\u8bed\u8a00 SDK\uff0c\u63d0\u4f9b\u4e86\u6807\u51c6\u5316\u7684\u63a5\u5165\u6d41\u7a0b\u3001\u4f7f\u7528\u624b\u518c\u548c\u63a5\u5165 demo\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u6807\u51c6\u7684\u4e8b\u4ef6\u3002\u5305\u62ec\u4efb\u52a1\u64cd\u4f5c\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d8\u66f4\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u8bca\u65ad\u4e8b\u4ef6\u7b49\u3002\u6839\u636e\u8fd9\u4e9b\u4e8b\u4ef6\uff0c\u53ef\u4ee5\u5b8c\u6574\u590d\u73b0\u51fa\u4efb\u52a1\u548c\u4efb\u52a1\u5b9e\u4f8b\u7684\u5168\u751f\u547d\u5468\u671f\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u63d2\u4ef6\u5316\u4efb\u52a1\u7c7b\u578b\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5b9a\u4e49\u548c\u5f00\u53d1\u81ea\u5b9a\u4e49\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u5e76\u8fdb\u884c\u7075\u6d3b\u6d4b\u8bd5\u3001\u7070\u5ea6\u4e0a\u7ebf\u548c\u7ba1\u7406\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86 Hook\uff0c\u53ef\u4ee5\u5728\u7528\u6237\u4ee3\u7801\u8fd0\u884c\u524d\u540e\u6267\u884c\u3002\u5305\u62ec\u6267\u884c\u524d\u7684 Prehook \u548c\u6267\u884c\u540e\u7684 Posthook\u3002\u5e38\u89c1\u573a\u666f\u5305\u62ec\u7528\u4e8e\u4ee3\u7801\u6e32\u67d3\u3001\u524d\u7f6e\u68c0\u67e5\u7684 Prehook\uff0c\u4ee5\u53ca\u7528\u4e8e\u6267\u884c\u540e\u6570\u636e\u8d28\u91cf\u68c0\u6d4b\u7684 Posthook\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u4e0e\u6210\u679c<\/strong><\/p>\n\n\n\n\u5982\u679c\u628a\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6bd4\u4f5c\u5927\u697c\u7684\u9aa8\u67b6\uff0c\u90a3\u4e48\u57fa\u4e8e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u5c31\u662f\u88c5\u4fee\u5b8c\u5584\u3001\u9002\u4e8e\u4eba\u5de5\u4f5c\u751f\u6d3b\u7684\u5927\u53a6\u3002\u901a\u8fc7\u5e94\u7528\uff0c\u80fd\u66f4\u597d\u5730\u4f53\u73b0\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4ef7\u503c\u3002\u5728\u5feb\u624b\uff0c\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4e00\u4e2a\u5178\u578b\u5e94\u7528\u3002<\/p>\n\n\n\n\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u5feb\u624b\u7684\u4e00\u7ad9\u5f0f\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u4f7f\u7528 kwaiflow \u4f5c\u4e3a\u7edf\u4e00\u7684\u7f16\u6392\u4e0e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u6784\u5efa\u4e86\u5404\u7c7b\u7684\u6570\u636e\u5f00\u53d1\u8fd0\u7ef4\u7b49\u670d\u52a1\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u67e5\u8be2\u3001\u540c\u6b65\u3001\u5f00\u53d1\u3001\u670d\u52a1\u5316\u3001\u8fd0\u7ef4\u3001\u7ba1\u7406\u7b49\u80fd\u529b\u3002<\/p>\n\n\n\n\u8be5\u5e73\u53f0\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u4e00\u7ad9\u5f0f<\/strong>\uff1a\u5e73\u53f0\u6db5\u76d6\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u7684\u5404\u73af\u8282\uff0c\u5305\u62ec\u6570\u636e\u63a5\u5165\u3001\u6570\u636e\u52a0\u5de5\u3001\u6570\u636e\u5206\u53d1\u548c\u6570\u636e\u670d\u52a1\u5316\u3002\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u6e90\u7ba1\u7406\uff0c\u521b\u5efa\u6570\u636e\u63a5\u5165\u4efb\u52a1\u5c06\u5404\u79cd\u6570\u636e\u6e90\u5bfc\u5165\u5230\u5927\u6570\u636e\u7cfb\u7edf\u4e2d\uff1b\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u667a\u80fd IDE \u7f16\u5199\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03 ETL \u4efb\u52a1\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5de5\u5904\u7406\uff0c\u4ea7\u751f\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b\u7528\u6237\u8fd8\u53ef\u4ee5\u521b\u5efa\u6570\u636e\u5206\u53d1\u4efb\u52a1\uff0c\u5c06\u9ad8\u4ef7\u503c\u6570\u636e\u5206\u53d1\u5230\u5176\u5b83\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u4f8b\u5982\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u975e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u7f13\u5b58\u7cfb\u7edf\u3001OLAP \u5f15\u64ce\u7b49\u3002\u7528\u6237\u4e5f\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u914d\u7f6e\u7684\u65b9\u5f0f\u521b\u5efa\u670d\u52a1\u5316 API\uff0c\u4e3a\u7ebf\u4e0a\u7cfb\u7edf\u63d0\u4f9b\u670d\u52a1\u3002<\/li>\u901a\u7528<\/strong>\uff1a\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u80fd\u7edf\u4e00\u8fd0\u7ef4 Kwaiflow \u6240\u6709\u4efb\u52a1\uff0c\u5305\u62ec\u4efb\u52a1\u8fd0\u7ef4\u3001\u5b9e\u4f8b\u8fd0\u7ef4\u3001\u94fe\u8def\u8fd0\u7ef4\u7b49\u65b9\u5f0f\uff0c\u9002\u5408\u6570\u636e\u5f00\u53d1\u3001\u5b9a\u65f6\u8c03\u5ea6\u3001\u89e6\u53d1\u5f0f\u8c03\u5ea6\u7b49\u573a\u666f\u3002<\/li>\u667a\u80fd<\/strong>\uff1a\u5728\u5f00\u53d1\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd IDE\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4ee3\u7801\u95ee\u9898\uff1b\u5728\u8fd0\u7ef4\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd\u76d1\u63a7\u3001\u667a\u80fd\u8bca\u65ad\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4efb\u52a1\u548c\u94fe\u8def\u95ee\u9898\uff0c\u5e76\u8f85\u52a9\u5b9a\u4f4d\u95ee\u9898\u539f\u56e0\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8981\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u4e0d\u4ec5\u8981\u6709\u5f3a\u5927\u7684\u81ea\u8eab\u80fd\u529b\uff0c\u66f4\u8981\u6709\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\u3002\u5728\u5feb\u624b\uff0cKwaiflow \u548c\u5927\u6570\u636e\u7684\u5176\u5b83\u7cfb\u7edf\u6df1\u5ea6\u96c6\u6210\uff0c\u63a5\u5165\u4e86 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u4fbf\u6377\u5730\u4f7f\u7528\u5176\u5b83\u5927\u6570\u636e\u7cfb\u7edf\u7684\u80fd\u529b\u3002\u53ef\u4ee5\u8bf4\uff0c\u81ea\u8eab\u80fd\u529b\u548c\u751f\u6001\u4f53\u7cfb\u5bf9 Kwaiflow \u6765\u8bf4\u540c\u7b49\u91cd\u8981\u3002<\/p>\n\n\n\n\u9996\u5148\uff0c\u5c31\u81ea\u8eab\u800c\u8a00\uff0cKwaiflow \u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u6267\u884c\u80fd\u529b\u3002\u5305\u62ec\u591a\u573a\u666f\u8c03\u5ea6\u80fd\u529b\u3001\u591a\u6837\u5316\u7684\u6267\u884c\u80fd\u529b\u3001\u6613\u7528\u7684\u8fd0\u7ef4\u80fd\u529b\u548c\u9ad8\u53ef\u7528\u7684\u7279\u6027\u3002<\/p>\n\n\n\n\u5176\u6b21\uff0cKwaiflow \u5177\u6709\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\u3002\u63a5\u5165 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u65b9\u4fbf\u5730\u4f7f\u7528\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\u3002<\/p>\n\n\n\n\u6700\u540e\uff0cKwaiflow \u65e0\u7f1d\u96c6\u6210\u4e86\u5176\u5b83\u4e2d\u53f0\u80fd\u529b\u3002\u5305\u62ec\u6570\u636e\u8d28\u91cf\u3001\u6570\u636e\u5b89\u5168\u4f53\u7cfb\u3001\u5b8c\u6574\u51c6\u786e\u7684\u4efb\u52a1\u5b9e\u4f8b\u8840\u7f18\u3001\u94fe\u8def\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5c06\u4ece\u6027\u80fd\u3001\u529f\u80fd\u548c\u4f7f\u7528\u60c5\u51b5\u4e09\u4e2a\u65b9\u9762\u4ecb\u7ecd Kwaiflow \u7684\u6210\u679c\u3002<\/p>\n\n\n\n\u5728\u6027\u80fd\u65b9\u9762<\/strong>\uff0c\u548c Airflow \u76f8\u6bd4\uff0c\u6709\u6781\u5927\u7684\u63d0\u5347\uff1a<\/p>\n\n\n\n\u5728\u89c4\u6a21\u4e0a\uff0cKwaiflow \u521d\u7248\u8bbe\u8ba1\u5bb9\u91cf\u4e3a\u767e\u4e07\u7ea7\u522b\u4efb\u52a1\uff0c\u5f53\u524d\u5df2\u6709\u6570\u5341\u4e07\u7684\u4efb\u52a1\u6570\uff0c\u548c Airflow \u5355\u96c6\u7fa4\u4e0d\u8d85\u8fc7 1 \u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\u3002<\/li>\u5728\u6027\u80fd\u4e0a\uff0cKwaiflow \u8c03\u5ea6\u9ad8\u5cf0\u671f\u7684\u8c03\u5ea6\u5ef6\u8fdf P99 \u5c0f\u4e8e 5 \u79d2\uff0c\u548c Airflow 5 \u5206\u949f\u76f8\u6bd4\uff0c\u6709\u6570\u91cf\u7ea7\u7684\u63d0\u5347\uff1bKwaiflow \u8d77\u8c03\u901f\u7387\u5341\u6570\u4e07\u6bcf\u5206\u949f\uff0c\u548c Airflow \u6570\u5343\u6bcf\u5206\u949f\u5bf9\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\uff1bKwaiflow \u8fd0\u884c\u7684\u5e76\u53d1\u5b9e\u4f8b\u6570\u5341\u6570\u4e07\u4e07\uff0c\u548c Airflow \u5c0f\u4e8e1\u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u5341\u6570\u500d\u3002<\/li>\u5728\u7a33\u5b9a\u6027\u4e0a\uff0cKwaiflow \u53ef\u7528\u6027\u4e3a 99.99%\uff0c Airflow \u5219\u4e3a 99.5%\uff1bKwaiflow \u5e74\u6545\u969c\u6570\u7ea6 1 \u4e2a\uff0c\u800c Airflow \u5e74\u5747\u4e3a 8 \u4e2a\u3002<\/li><\/ul>\n\n\n\n\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5728 2019 \u5e74\u4e2d\u65ec\uff0c\u6211\u4eec\u5f00\u59cb\u81ea\u7814\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf Kwaiflow\uff0c\u5e76\u5728\u4e0b\u534a\u5e74\u4e0a\u7ebf 1.0 \u7248\u672c\u3002<\/p>\n\n\n\n
Kwaiflow \u662f\u5feb\u624b\u901a\u7528\u3001\u9ad8\u6027\u80fd\u3001\u6613\u6269\u5c55\u7684\u5206\u5e03\u5f0f\u5de5\u4f5c\u6d41\u8c03\u5ea6\u7cfb\u7edf\u3002\u5176\u8bbe\u8ba1\u76ee\u6807\u4ece\u4e24\u65b9\u9762\u8003\u8651\u3002<\/p>\n\n\n\n
\u5728\u529f\u80fd\u578b\u76ee\u6807\u65b9\u9762<\/strong>\uff1a<\/p>\n\n\n\n\u573a\u666f\u4e30\u5bcc\uff1a\u652f\u6301\u591a\u573a\u666f\u8c03\u5ea6\uff0c\u591a\u79cd\u73af\u5883\u6267\u884c\uff0c\u652f\u6301\u591a\u6837\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b<\/li>\u8fd0\u7ef4\u4fbf\u6377\uff1a\u53ef\u4ee5\u8fdb\u884c\u53ef\u89c6\u5316\u3001\u667a\u80fd\u3001\u4fbf\u6377\u5730\u8fd0\u7ef4<\/li>\u4fbf\u4e8e\u5f00\u653e\uff1a\u5177\u6709\u5f3a\u5927\u7684\u5f00\u653e\u80fd\u529b\uff0c\u6613\u4e8e\u7cfb\u7edf\u96c6\u6210\uff0c\u6784\u5efa\u7edf\u4e00\u751f\u6001<\/li><\/ul>\n\n\n\n\u5728\u975e\u529f\u80fd\u578b\u76ee\u6807\u65b9\u9762<\/strong>\uff1a<\/p>\n\n\n\n\u9ad8\u5bb9\u91cf\uff1a\u652f\u6301\u767e\u4e07\u7ea7\u4efb\u52a1\u5bb9\u91cf<\/li>\u9ad8\u6027\u80fd\uff1a\u79d2\u7ea7\u6216\u8005\u4e9a\u79d2\u7ea7\u8c03\u5ea6\u5ef6\u8fdf<\/li>\u9ad8\u53ef\u7528\uff1a\u53ef\u7528\u6027 99.99%\uff0c\u7ebf\u4e0a\u95ee\u9898\u5c11\uff0c\u51fa\u73b0\u65f6\u80fd\u53ca\u65f6\u53d1\u73b0\u5feb\u901f\u5e76\u5904\u7406<\/li><\/ul>\n\n\n\n\u5728\u5b9a\u4f4d\u4e0a\uff0cKwaiflow \u57fa\u4e8e\u5927\u6570\u636e\u4f53\u7cfb\u548c\u5176\u5b83\u57fa\u7840\u8bbe\u65bd\uff0c\u63d0\u4f9b\u8c03\u5ea6\u3001\u6267\u884c\u7b49\u6838\u5fc3\u80fd\u529b\uff0c\u540c\u65f6\u5177\u6709\u8fd0\u7ef4\u3001\u76d1\u63a7\u62a5\u8b66\u3001\u667a\u80fd\u8bca\u65ad\u3001\u5f00\u653e\u670d\u52a1\u7b49\u91cd\u8981\u80fd\u529b\uff0c\u6784\u5efa\u8c03\u5ea6\u751f\u6001\uff1b\u9762\u5411\u6570\u636e\u5904\u7406\u3001\u6d41\u7a0b\u7f16\u6392\u3001\u7b97\u6cd5\u8c03\u5ea6\u548c\u5206\u5e03\u5f0f\u8ba1\u7b97\u7b49\u573a\u666f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u8c03\u5ea6\u6a21\u578b\u4e0a\uff0cKwaiflow \u91c7\u7528\u4e86\u4e24\u5c42\u5b9e\u4f53\u7684\u8c03\u5ea6\u6a21\u578b\uff1a<\/p>\n\n\n\nTask\uff1a\u6267\u884c\u6a21\u677f\uff0c\u7528\u4e8e\u6267\u884c\u67d0\u4e00\u7c7b\u578b\u7684\u4ee3\u7801\uff1bTask \u6709\u5f88\u591a\u7c7b\u578b\uff0c\u4f8b\u5982 HiveTask \u7528\u4e8e\u6267\u884c Hive SQL\uff0cBashTask \u7528\u4e8e\u6267\u884c Bash \u811a\u672c\uff0cHivePartitionSensorTask \u7528\u4e8e\u63a2\u6d4b hive \u8868\u5206\u533a\u662f\u5426\u5b58\u5728\u3002<\/li>DAG\uff1a\u4e00\u7cfb\u5217 Task \u7684\u96c6\u5408\uff0c\u5177\u6709\u8c03\u5ea6\u5b9a\u65f6\u7b49\u5c5e\u6027\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f9d\u8d56\u5173\u7cfb\u65b9\u9762\uff0cDAG \u4e4b\u95f4\u53ef\u4ee5\u76f8\u4e92\u4f9d\u8d56\uff0c\u65e2\u53ef\u4ee5\u540c\u5468\u671f\u4f9d\u8d56\uff0c\u4e5f\u53ef\u4ee5\u8de8\u5468\u671f\u4f9d\u8d56\uff0c\u8fd8\u53ef\u4ee5\u6709\u4f9d\u8d56\u504f\u79fb\u3002DAG \u5185\u7684 Task \u4e4b\u95f4\u4e5f\u53ef\u4ee5\u4f9d\u8d56\uff0c\u7531\u4e8e\u4ed6\u4eec\u8c03\u5ea6\u5c5e\u6027\u4e00\u81f4\uff0c\u6240\u4ee5\u90fd\u4e3a\u540c\u5468\u671f\u4f9d\u8d56\u3002<\/p>\n\n\n\n\u4e00\u822c\u6765\u8bb2\uff0c\u5e38\u89c1\u7684\u8c03\u5ea6\u6a21\u578b\u9664\u4e86\u53cc\u5c42\u5b9e\u4f53\u6a21\u578b\u5916\uff0c\u8fd8\u6709\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u3002\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u6ca1\u6709 DAG \u7684\u6982\u5ff5\uff0c\u53ea\u6709 Task\uff0cTask \u5177\u6709\u8c03\u5ea6\u5c5e\u6027\uff0cTask \u4e4b\u95f4\u76f8\u4e92\u4f9d\u8d56\u3002\u4e24\u79cd\u6a21\u578b\u5404\u6709\u4f18\u52a3\u3002\u53cc\u5c42\u6a21\u578b\u66f4\u9002\u5408\u5feb\u624b\u7684\u60c5\u51b5\uff0c\u5177\u6709\u66f4\u5f3a\u7684\u8868\u8fbe\u529b\uff0c\u4f7f\u7528\u573a\u666f\u66f4\u5e7f\u6cdb\uff0c\u5f53\u7136\u4e5f\u5177\u6709\u4e00\u5b9a\u7684\u590d\u6742\u6027\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u7cfb\u7edf\u67b6\u6784\u4e0a\uff1a<\/p>\n\n\n\nAPI Server \u63d0\u4f9b\u5404\u5f0f\u5404\u6837\u7684\u63a5\u53e3\uff0c\u8d1f\u8d23\u7edf\u4e00\u63a5\u5165\u3002<\/li>Scheduler \u8d1f\u8d23\u8c03\u5ea6\uff0c\u4e0d\u540c\u7684\u8c03\u5ea6\u573a\u666f\u4f1a\u6709\u4e0d\u540c\u7c7b\u578b\u7684\u8c03\u5ea6\u5668\uff0c\u5305\u62ec\u4f8b\u884c\u3001\u89e6\u53d1\u5f0f\u3001\u8865\u6570\u636e\u3001\u963b\u65ad\u8c03\u5ea6\u5668\u3002\u5728\u4f8b\u884c\u8c03\u5ea6\u5668\u4e2d\uff0c\u4efb\u52a1\u5b9e\u4f8b\u751f\u6210\u540e\uff0c\u4f1a\u4f9d\u6b21\u7ecf\u8fc7\u5b9a\u65f6\u68c0\u6d4b\u3001\u4f9d\u8d56\u68c0\u6d4b\u548c\u8d44\u6e90\u68c0\u6d4b\u3002\u5982\u679c\u90fd\u901a\u8fc7\uff0c\u4f1a\u63d0\u4ea4\u5230 Queue Service \u4e2d\u3002<\/li>Queue Service \u4e3a\u5e26 ack \u673a\u5236\u7684\u6d88\u606f\u961f\u5217\u670d\u52a1\uff0c\u4f1a\u6709\u4e0d\u540c\u7684 channel\uff0c\u4ee5\u4fbf\u9694\u79bb\u4efb\u52a1\u3002<\/li>Worker \u8d1f\u8d23\u4efb\u52a1\u7684\u6267\u884c\uff0c\u4ece\u5c5e\u4e00\u4e2a worker \u5206\u7ec4\u3002\u4e0d\u540c\u5206\u7ec4\u7684 Worker \u6d88\u8d39 Queue Service \u4e2d\u4e0d\u540c Channel \u7684\u4efb\u52a1\uff0c\u6839\u636e\u4e0d\u540c\u7684\u4efb\u52a1\u7c7b\u578b\u8fdb\u884c\u6267\u884c\u3002\u6267\u884c\u5206\u4e3a\u672c\u5730\u6267\u884c\u548c\u5bb9\u5668\u5316\u6267\u884c\u4e24\u79cd\u65b9\u5f0f\uff0c\u672c\u5730\u6267\u884c\u662f\u6307\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u5185\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\uff1b\u5177\u6709\u542f\u52a8\u5feb\u7684\u7279\u70b9\uff1b\u5bb9\u5668\u5316\u6267\u884c\u662f\u6307\u5728 k8s \u8fdc\u7a0b\u6267\u884c\u7528\u6237\u4ee3\u7801\uff0c\u5177\u6709\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\u7684\u7279\u70b9\u3002<\/li><\/ul>\n\n\n\n\u9664\u6b64\u4e4b\u5916\uff0c\u8fd8\u6709\u5176\u5b83\u5173\u952e\u6a21\u5757\uff0c\u5305\u62ec\u65e5\u5fd7\u670d\u52a1\u3001\u62a5\u8b66\u670d\u52a1\u3001\u4e8b\u4ef6\u670d\u52a1\u3001\u5b9e\u4f8b\u8840\u7f18\u670d\u52a1\u7b49\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5173\u952e\u6280\u672f<\/strong><\/p>\n\n\n\n1. \u5173\u952e\u6280\u672f\uff1a\u4f4e\u8c03\u5ea6\u5ef6\u8fdf<\/h1>\n\n\n\n\u8c03\u5ea6\u5ef6\u8fdf\u662f\u6307\u7406\u8bba\u8d77\u8c03\u65f6\u523b\u5230\u5b9e\u9645\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\u7684\u65f6\u95f4\u5dee\u3002\u8c03\u5ea6\u5ef6\u8fdf\u662f\u8861\u91cf\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6027\u80fd\u7684\u91cd\u8981\u6307\u6807\u4e4b\u4e00\uff0c\u8be5\u6307\u6807\u8d8a\u5c0f\u8d8a\u597d\u3002<\/p>\n\n\n\n\u4efb\u52a1\u5b9e\u4f8b\u4ece\u751f\u6210\uff0c\u5230\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\uff0c\u9700\u8981\u7ecf\u8fc7\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\u3001\u7b49\u5f85\u4f9d\u8d56\u5c31\u7eea\u3001\u7b49\u5f85\u8d44\u6e90\u5c31\u7eea\u548c\u51c6\u5907\u8fd0\u884c\u73af\u5883\u56db\u4e2a\u9636\u6bb5\u3002\u8981\u6709\u8f83\u5c0f\u7684\u8c03\u5ea6\u5ef6\u8fdf\uff0c\u5c31\u9700\u8981\u51cf\u5c11\u5404\u4e2a\u9636\u6bb5\u7684\u7cfb\u7edf\u65f6\u95f4\u635f\u8017\u3002\u8c03\u5ea6\u5ef6\u8fdf\u7684\u4e3b\u8981\u56e0\u7d20\u4e0e\u5904\u7406\u65b9\u6848\u6709\uff1a<\/p>\n\n\n\n\u5b9a\u65f6\u5668<\/strong>\u3002\u5b9a\u65f6\u5668\u5728\u63a2\u6d4b\u65f6\u95f4\u5c31\u7eea\u73af\u8282\u8d77\u4f5c\u7528\uff0c\u4e00\u4e2a\u7cbe\u51c6\u7684\u3001\u652f\u6301\u767e\u4e07\u7ea7\u522b\u9ad8\u541e\u5410\u7684\u5b9a\u65f6\u5668\uff0c\u5bf9\u4f4e\u8c03\u5ea6\u5ef6\u8fdf\u81f3\u5173\u91cd\u8981\u3002\u4f18\u79c0\u7684\u5b9a\u65f6\u5668\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u6570\u636e\u5e93\u8bbf\u95ee<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d1\u751f\u53d8\u66f4\u540e\uff0c\u9700\u8981\u5bf9\u72b6\u6001\u8fdb\u884c\u6301\u4e45\u5316\u3002\u901a\u8fc7\u7d22\u5f15\u3001\u8bfb\u5199\u5206\u79bb\u3001\u5206\u5e93\u5206\u8868\u7b49\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5c06\u5355\u6b21\u6570\u636e\u5e93\u8bbf\u95ee\u8017\u65f6\u63a7\u5236\u5728 1 ~ 3ms\uff0c\u603b\u4f53\u8017\u65f6\u63a7\u5236\u5728 10ms \u5de6\u53f3 \u3002<\/li>\u72b6\u6001\u8f6c\u53d8<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u81ea\u751f\u6210\u5230\u8fd0\u884c\u7ed3\u675f\uff0c\u4f1a\u7ecf\u5386\u591a\u6b21\u72b6\u6001\u8f6c\u53d8\u3002\u72b6\u6001\u8f6c\u53d8\u9ad8\u6548\u4e0e\u5426\u662f\u8c03\u5ea6\u5ef6\u8fdf\u7684\u91cd\u8981\u56e0\u7d20\u3002\u4e00\u822c\u6765\u8bf4\u6709\u4e24\u79cd\u529e\u6cd5\uff1a\u8f6e\u8be2\u4e0e\u4e8b\u4ef6\u89e6\u53d1\u3002\u6211\u4eec\u91c7\u7528\u7684\u662f\u4e8b\u4ef6\u89e6\u53d1\u65b9\u5f0f\uff0c\u7b2c\u4e00\u65f6\u95f4\u611f\u77e5\u72b6\u6001\u8f6c\u53d8\u3002\u901a\u8fc7\u4e8b\u4ef6\u89e6\u53d1\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u8fd0\u884c\u73af\u5883\u51c6\u5907<\/strong>\u3002\u8fd9\u4e2a\u73af\u8282\u4e3b\u8981\u5de5\u4f5c\u5305\u62ec\u52a0\u8f7d\u955c\u50cf\u3001\u521d\u59cb\u5316\u8fd0\u884c\u73af\u5883\u7b49\u3002\u6211\u4eec\u4e3b\u8981\u91c7\u7528\u4e86\u9884\u52a0\u8f7d\u548c\u955c\u50cf\u9884\u70ed\u6280\u672f\u3002\u4e0d\u540c\u7684\u8fd0\u884c\u73af\u5883\uff0c\u65f6\u95f4\u635f\u8017\u4e0d\u4e00\u6837\uff0c\u4f1a\u5728\u4e9a\u79d2\u5230\u5206\u949f\u4e0d\u7b49\u3002<\/li><\/ul>\n\n\n\n\u8fd9\u56db\u4e2a\u56e0\u7d20\u4e2d\uff0c\u540e\u4e24\u8005\u76f8\u5bf9\u8f83\u590d\u6742\uff0c\u63a5\u4e0b\u6765\u7740\u91cd\u4ecb\u7ecd\u72b6\u6001\u8f6c\u53d8\u548c\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e24\u90e8\u5206\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u9996\u5148\u770b\u72b6\u6001\u8f6c\u53d8\u8fd9\u4e2a\u56e0\u7d20\u3002\u4efb\u52a1\u4ece\u53d1\u5e03\uff0c\u5230\u8c03\u5ea6\u6267\u884c\u5b8c\u6210\uff0c\u4f1a\u7ecf\u5386\u6570\u6b21\u6216\u8005\u5341\u6570\u6b21\u72b6\u6001\u53d8\u5316\u3002\u5982\u4f55\u8fdb\u884c\u5feb\u901f\u9ad8\u6548\u5730\u72b6\u6001\u8f6c\u53d8\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u95ee\u9898\u3002Kwaiflow \u7684\u89e3\u51b3\u529e\u6cd5\u662f\u91c7\u7528 Akka actor\u3002\u5145\u5206\u5229\u7528\u4e86 akka actor \u9ad8\u6027\u80fd\u7279\u70b9\u3002<\/p>\n\n\n\n\u5177\u4f53\u6765\u8bb2\uff1a<\/p>\n\n\n\n1. Kwaiflow \u7684\u4efb\u52a1\u4ece API Server \u53d1\u5e03\u540e\uff0c\u7ecf\u8fc7 Entry Actor \u52a0\u8f7d\u5230 DagLoader Actors \u4e2d\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\uff1b<\/p>\n\n\n\n2. \u5728\u65f6\u95f4\u5c31\u7eea\u540e\uff0c\u7531 Instance Generator Actors \u751f\u6210\u4efb\u52a1\u5b9e\u4f8b\uff0c\u7136\u540e\u8fdb\u5165 Dependency Detector Actor \u63a2\u6d4b\u4e0a\u6e38\u4f9d\u8d56\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n3. \u5728\u4f9d\u8d56\u5c31\u7eea\u540e\uff0c\u8fdb\u5165 Resource Detector Actor \u63a2\u6d4b\u8d44\u6e90\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n4. \u5728\u8d44\u6e90\u5c31\u7eea\u540e\uff0c\u4efb\u52a1\u5b9e\u4f8b\u901a\u8fc7 Queue Service \u4e0b\u53d1\u5230 worker \u4e2d\u3002<\/p>\n\n\n\n5. \u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u88ab\u63a5\u6536\u540e\uff0c\u5c06\u4f1a\u7531 Processor Actor \u6267\u884c\uff0c\u6267\u884c\u524d\u540e\u4f1a\u4f9d\u6b21\u7ecf\u5386\u4ee3\u7801\u6e32\u67d3\u3001Prehook\u3001\u4ee3\u7801\u6267\u884c\u3001Posthook \u56db\u4e2a\u6b65\u9aa4\u3002<\/p>\n\n\n\n6. \u5982\u679c\u6267\u884c\u6210\u529f\uff0c\u5219\u6d41\u7a0b\u7ec8\u6b62\uff1b\u5982\u679c\u6267\u884c\u5931\u8d25\uff0cPosthook \u4f1a\u5c06\u4fe1\u606f\u901a\u8fc7 Processor Actor\u3001ResultHandlerActor \u4f20\u9012\u7ed9 scheduler \u7684 RetryerActor \u8fdb\u884c\u91cd\u8bd5\u64cd\u4f5c\u3002<\/p>\n\n\n\n\u6574\u4e2a\u6d41\u7a0b\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u5168\u6d41\u7a0b\u4e8b\u4ef6\u89e6\u53d1<\/strong>\uff1a\u65e0\u8f6e\u8be2\uff0c\u4efb\u52a1\u53d1\u5e03\u3001\u8c03\u5ea6\u3001\u6267\u884c\u3001\u91cd\u8bd5\uff0c\u5747\u4e3a\u4e8b\u4ef6\u89e6\u53d1\u3002<\/li>\u9ad8\u541e\u5410<\/strong>\uff1a\u91c7\u7528\u5f02\u6b65\u5e76\u53d1\u7684\u65b9\u5f0f\uff0c\u80fd\u5feb\u901f\u8c03\u8d77\u5927\u91cf\u4efb\u52a1\u5b9e\u4f8b<\/li>\u7b80\u5355\u6613\u7528<\/strong>\uff1a\u65e0\u9700\u4f7f\u7528\u5e95\u5c42 API \u8fdb\u884c\u9501\u548c\u7ebf\u7a0b\u7ba1\u7406\uff0c\u4e13\u6ce8\u4e1a\u52a1\u5b9e\u73b0\u3002<\/li><\/ul>\n\n\n\n\u91c7\u7528 actor\uff0c\u72b6\u6001\u8f6c\u53d8\u5bfc\u81f4\u7684\u65f6\u95f4\u635f\u8017\u63a7\u5236\u5728\u6beb\u79d2\u7ea7\u522b\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u63a5\u4e0b\u6765\u6211\u4eec\u770b\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e2a\u56e0\u7d20\u3002\u8fd9\u548c\u6267\u884c\u573a\u666f\u6709\u5173\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e0d\u540c\u7684\u6267\u884c\u573a\u666f\uff0cKwaiflow \u63d0\u4f9b\u4e86\u4e24\u79cd\u6267\u884c\u65b9\u5f0f\uff1a\u5bb9\u5668\u5316\u6267\u884c\u548c\u672c\u5730\u6267\u884c\u3002<\/p>\n\n\n\n\u5bb9\u5668\u5316\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u6bcf\u6b21\u6267\u884c\u524d\uff0c\u5728 k8s \u6309\u9700\u7533\u8bf7\u5bb9\u5668\u8d44\u6e90\uff0c\u5728\u5bb9\u5668\u4e2d\u6267\u884c\u4efb\u52a1\u5b9e\u4f8b\uff0c\u6267\u884c\u5b8c\u540e\uff0c\u53ca\u65f6\u91ca\u653e\u5bb9\u5668\u8d44\u6e90\u3002\u4f18\u70b9\u662f\u5b9e\u73b0\u4e86\u6267\u884c\u65f6\u7684\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\uff1b\u7f3a\u70b9\u662f\u6bcf\u6b21\u90fd\u9700\u8981\u7533\u8bf7\u548c\u521d\u59cb\u5316\u5bb9\u5668\u8d44\u6e90\uff0c\u542f\u52a8\u8017\u65f6\u957f\u3002\u5bb9\u5668\u5316\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Bash \u4efb\u52a1\u3002\u4e3a\u4e86\u51cf\u5c11\u5bb9\u5668\u5316\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\uff0c\u6211\u4eec\u5c06\u955c\u50cf\u5206\u4e3a\u81ea\u5b9a\u4e49\u955c\u50cf\u548c\u901a\u7528\u955c\u50cf\uff0c\u5bf9\u901a\u7528\u955c\u50cf\u8fdb\u884c\u9884\u70ed\uff0c\u63d0\u524d\u5206\u53d1\u5230\u673a\u5668\u4e2d\uff0c\u51cf\u5c11\u955c\u50cf\u4e0b\u8f7d\u8017\u65f6\u3002\u901a\u8fc7\u955c\u50cf\u9884\u70ed\uff0c\u53ef\u4ee5\u5c06\u542f\u52a8\u8017\u65f6\u4ece\u5206\u949f\u7ea7\u964d\u4f4e\u5230\u79d2\u7ea7\u3002<\/li>\u672c\u5730\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u673a\u4e2d\uff0c\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\u3002\u540c\u4e00\u4e2a worker \u673a\u4e2d\u7684\u6240\u6709\u4efb\u52a1\u5b9e\u4f8b\u5171\u4eab\u8ba1\u7b97\u8d44\u6e90\u548c\u6267\u884c\u73af\u5883\u3002\u4f18\u70b9\u662f\u542f\u52a8\u8017\u65f6\u77ed\uff0coverhead \u5c0f\uff1b\u7f3a\u70b9\u662f\u8d44\u6e90\u548c\u73af\u5883\u4e0d\u9694\u79bb\uff0c\u4e00\u4e2a\u4efb\u52a1\u5b9e\u4f8b\u6267\u884c\u5f02\u5e38\u6709\u53ef\u80fd\u5bfc\u81f4\u6574\u4e2a worker \u673a crash\u3002\u672c\u5730\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u4e0d\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Hive \u548c Sensor \u4efb\u52a1\u3002\u672c\u5730\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\u4e00\u822c\u5728\u4e9a\u79d2\u7ea7\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n2. \u5173\u952e\u6280\u672f\uff1a\u9ad8\u53ef\u7528<\/h1>\n\n\n\n\u9ad8\u53ef\u7528\u5bf9\u8c03\u5ea6\u7cfb\u7edf\u6765\u8bf4\u975e\u5e38\u91cd\u8981\u3002\u4e3a\u4e86\u4fdd\u969c Kwaiflow \u7684\u9ad8\u53ef\u7528\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e24\u65b9\u9762\u8fdb\u884c\u8003\u8651\uff1a\u7cfb\u7edf\u8bbe\u8ba1\u548c\u6545\u969c\u53d1\u73b0\u5904\u7406\u3002\u5728\u7cfb\u7edf\u8bbe\u8ba1\u4e0a\uff0cKwaiflow \u53ef\u4ee5\u505a\u5230\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5373\u4efb\u52a1\u5b9e\u4f8b\u5728\u590d\u6742\u73af\u5883\u4e2d Exactly Once \u6267\u884c\uff0c\u505a\u5230\u4e0d\u6f0f\uff0c\u4e14\u5c3d\u91cf\u4e0d\u91cd\u3002<\/p>\n\n\n\n\u5bf9\u4e8e\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5e38\u89c1\u7684\u6545\u969c\u573a\u666f\u5305\u62ec\u7ec4\u4ef6\u6545\u969c\u6216\u8005\u7ec4\u4ef6\u5931\u8054\u3002\u4f8b\u5982 scheduler crash\u3001\u5bb9\u5668\u5316\u4efb\u52a1\u4e0e worker \u5931\u8054\u7b49\u3002<\/p>\n\n\n\n\u4e3a\u4e86\u8fbe\u5230\u9ad8\u53ef\u9760\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e09\u65b9\u9762\u8003\u8651\uff1a<\/p>\n\n\n\nFailover \u673a\u5236\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u548c\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\uff0c\u6765\u5b9e\u73b0\u7ec4\u4ef6\u7684\u81ea\u52a8\u5bb9\u9519\u3002\u4f8b\u5982 Kwaiflow \u91c7\u7528\u4e3b\u5907 Master\uff0c\u591a worker \u7684\u8bbe\u8ba1\u6765\u907f\u514d\u5355\u70b9\u95ee\u9898\uff1b\u5404\u4e2a\u7ec4\u4ef6\u4e4b\u95f4\u91c7\u7528\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\u6765\u907f\u514d\u5931\u8054\u95ee\u9898\u3002\u534f\u8bae\u5305\u62ec scheduler Executor \u901a\u4fe1\u534f\u8bae\u3001Executor Runner \u901a\u4fe1\u534f\u8bae\u3001External Job \u901a\u4fe1\u534f\u8bae\u3002\u53f3\u56fe\u5c55\u793a\u4e86 Executor Runner \u901a\u4fe1\u534f\u8bae\u7684\u4e3b\u8981\u6d41\u7a0b\uff0c\u534f\u8bae\u89c4\u5b9a\u4e86\u4efb\u52a1\u63d0\u4ea4\u3001\u6b63\u5e38\u6267\u884c\u3001\u5f02\u5e38\u6267\u884c\u3001\u901a\u4fe1\u5931\u8054\u7684\u5904\u7406\u529e\u6cd5\uff0c\u4e0d\u4f9d\u8d56\u5916\u90e8\u7cfb\u7edf\u7684\u72b6\u6001\u3002<\/li>\u907f\u514d\u9057\u6f0f\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u6d88\u606f ack \u673a\u5236\uff0c\u4fdd\u969c\u6d88\u606f\u4e0d\u4e22\u5931\uff1b\u540c\u65f6\u901a\u8fc7\u5b9a\u671f\u515c\u5e95\u5de1\u68c0\uff0c\u4fdd\u969c\u4efb\u52a1\u5b9e\u4f8b\u4e0d\u9057\u6f0f\u3002<\/li>\u907f\u514d\u91cd\u590d\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u72b6\u6001\u673a\u8f6c\u79fb\u56fe\uff0c\u907f\u514d\u4e0d\u5408\u7406\u72b6\u6001\u8f6c\u53d8\uff1b\u540c\u65f6\u901a\u8fc7\u91cd\u8bd5\u524d\u6e05\u7406\u524d\u4e00\u4e2a\u5b9e\u4f8b\uff0c\u907f\u514d\u91cd\u590d\u6267\u884c\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u9ad8\u53ef\u7528\u65b9\u9762\uff0c\u8fd8\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u7cfb\u7edf\u8bbe\u8ba1\u662f\u5206\u7ea7\u4fdd\u969c\u3002\u5feb\u624b\u5728\u8fdb\u884c\u5927\u578b\u6d3b\u52a8\u4f8b\u5982\u6625\u8282\u3001\u5965\u8fd0\u65f6\uff0c\u6574\u4f53\u6570\u636e\u91cf\u5927\u5e45\u5ea6\u589e\u957f\uff0c\u5c40\u90e8\u6570\u636e\u5448\u6570\u500d\u589e\u957f\u3002\u4f46\u8ba1\u7b97\u8d44\u6e90\u662f\u6709\u9650\u7684\uff0c\u8ba1\u7b97\u8d44\u6e90\u7684\u589e\u957f\u5f80\u5f80\u4e0d\u80fd\u5339\u914d\u6570\u636e\u91cf\u7684\u589e\u957f\uff0c\u4e0d\u80fd\u8ba9\u6240\u6709\u7684\u4efb\u52a1\u548c\u5f80\u5e38\u4e00\u6837\u6309\u65f6\u4ea7\u51fa\u3002\u8fd9\u65f6\u5019\u6211\u4eec\u5c31\u9700\u8981\u8fdb\u884c\u5206\u7ea7\u4fdd\u969c\u3002<\/p>\n\n\n\n\u6240\u8c13\u5206\u7ea7\u4fdd\u969c\uff0c\u5c31\u662f\u5728\u8d44\u6e90\u6709\u9650\u7684\u60c5\u51b5\u4e0b\uff0c\u8ba9\u9ad8\u4f18\u4efb\u52a1\u5f97\u5230\u7279\u6743\uff0c\u4f18\u5148\u5f97\u5230\u6267\u884c\uff0c\u4f18\u5148\u83b7\u5f97\u5145\u8db3\u7684\u4f18\u8d28\u8d44\u6e90\uff0c\u4fdd\u969c\u4ea7\u51fa\u65f6\u95f4\uff1b\u800c\u4f4e\u4f18\u4efb\u52a1\u5219\u4f1a\u88ab\u5ef6\u8fdf\u8c03\u5ea6\u6267\u884c\uff0c\u5206\u914d\u66f4\u5c11\u7684\u8d44\u6e90\u3002<\/p>\n\n\n\n\u5728\u5feb\u624b\uff0c\u6574\u4e2a\u79bb\u7ebf\u4f53\u7cfb\uff0c\u5305\u62ec Kwaiflow\u3001Hive\u3001Yarn\u3001HDFS \u7b49\uff0c\u90fd\u5177\u6709\u5206\u7ea7\u4fdd\u969c\u7684\u80fd\u529b\u3002\u8fd9\u91cc\u4ecb\u7ecd Kwaiflow \u7684\u5206\u7ea7\u4fdd\u969c\u80fd\u529b\uff0c\u5305\u62ec\u4e09\u65b9\u9762\uff1a<\/p>\n\n\n\nKwaiflow \u8c03\u5ea6\u5668\u5177\u6709\u5206\u7ea7\u8c03\u5ea6\u7684\u80fd\u529b<\/strong>\u3002Kwaiflow \u8c03\u5ea6\u5668\u80fd\u611f\u77e5\u5230\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u7684\u72b6\u6001\uff0c\u5728\u8d44\u6e90\u4e0d\u8db3\u65f6\uff0cKwaiflow \u4efb\u52a1\u4f1a\u5728\u8c03\u5ea6\u5668\u6392\u961f\uff0c\u9ad8\u4f18\u4efb\u52a1\u6392\u5728\u524d\u9762\uff0c\u4f4e\u4f18\u4efb\u52a1\u6392\u5728\u540e\u9762\uff1b\u5f53\u8d44\u6e90\u5f97\u5230\u91ca\u653e\u65f6\uff0c\u9ad8\u4f18\u4efb\u52a1\u4f18\u5148\u88ab\u8c03\u5ea6\u3002<\/li>Kwaiflow \u7684\u6267\u884c\u5668\u6309\u7167\u4e0d\u540c\u4f18\u5148\u7ea7\u8fdb\u884c\u5206\u7ec4<\/strong>\u3002\u5305\u62ec\u4e09\u7ec4\uff1aP0 \u6267\u884c\u5668\u7ec4\u3001P1 \u6267\u884c\u5668\u7ec4\u4ee5\u53ca P2 P3 \u6267\u884c\u5668\u7ec4\u3002P0 \u6267\u884c\u5668\u7528\u4e8e\u6267\u884c\u6700\u9ad8\u4f18\u5148\u7ea7\u7684 P0 \u4efb\u52a1\uff0c\u5177\u6709\u5145\u8db3\u7684 worker\uff0cP0 \u4efb\u52a1\u5b9e\u4f8b\u57fa\u672c\u4e0d\u4f1a\u5728\u6267\u884c\u5668\u5c42\u88ab\u9650\u5236\u3002\u5bf9\u4e8e P2 P3 \u5206\u7ec4\uff0c\u5728\u8c03\u5ea6\u9ad8\u5cf0\u671f\uff0c\u4efb\u52a1\u5b9e\u4f8b\u5f88\u591a\u65f6\uff0c\u53ef\u80fd\u5b58\u5728\u6392\u961f\u6267\u884c\u7684\u60c5\u51b5\u3002<\/li>Kwaiflow \u5177\u6709\u8f83\u5f3a\u7684\u4eba\u5de5\u7ba1\u63a7\u80fd\u529b<\/strong>\uff0c\u53ef\u4ee5\u4eba\u4e3a\u5730\u5141\u8bb8\u6216\u8005\u963b\u65ad\u67d0\u4e9b\u4efb\u52a1\u7684\u8c03\u5ea6\u3002\u5178\u578b\u4f7f\u7528\u573a\u666f\u662f\u5728\u5927\u578b\u6d3b\u52a8\u671f\u95f4\uff0c\u53ef\u4ee5\u6839\u636e\u9884\u6848\uff0c\u5bf9\u4f4e\u4f18\u5148\u7ea7\u7684\u4efb\u52a1\u4eba\u4e3a\u8fdb\u884c\u5ef6\u8fdf\u8c03\u5ea6\uff0c\u4fdd\u969c\u8d44\u6e90\u5206\u914d\u7ed9\u9ad8\u4f18\u4efb\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u524d\u9762\u4e3b\u8981\u4ece\u7cfb\u7edf\u8bbe\u8ba1\u65b9\u9762\u4ecb\u7ecd\u4e86\u7ebf\u4e0a\u6545\u969c\u7684\u81ea\u52a8\u89c4\u907f\u3002Kwaiflow \u9ad8\u53ef\u7528\u7684\u7b2c\u4e8c\u4e2a\u65b9\u9762\u662f\u6545\u969c\u7684\u53d1\u73b0\u548c\u5904\u7406\u3002\u5982\u679c\u6545\u969c\u53d1\u73b0\u4e0d\u53ca\u65f6\u3001\u5904\u7406\u4e0d\u8fc5\u901f\uff0c\u4f1a\u51fa\u73b0\u5927\u89c4\u6a21\u7684\u8c03\u5ea6\u9519\u8bef\u6216\u8005\u8c03\u5ea6\u5ef6\u8fdf\u6545\u969c\u3002\u5728\u5feb\u624b\u8c03\u5ea6\u7cfb\u7edf\u53d1\u5c55\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u78b0\u5230\u8fc7\u8fd9\u6837\u7684\u5927\u6545\u969c\uff0c\u4e3a\u4e86\u907f\u514d\u518d\u6b21\u53d1\u751f\uff0c\u6211\u4eec\u5efa\u7acb\u4e86\u5b8c\u5907\u7684\u76d1\u63a7\u9884\u6848\u4f53\u7cfb\u3002<\/p>\n\n\n\n\u5728\u76d1\u63a7\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5206\u6210\u4f7f\u7528\u5c42\u3001\u670d\u52a1\u5c42\u3001\u4f9d\u8d56\u5c42\u4e09\u4e2a\u5c42\u6b21\uff0c\u5e76\u5212\u5206\u76d1\u63a7\u4f18\u5148\u7ea7\uff0c\u91c7\u7528\u4e0d\u540c\u7684\u54cd\u5e94\u65b9\u5f0f\u3002<\/li>\u5728\u6545\u969c\u9884\u6848\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u6709\u4e24\u7c7b\u9884\u6848\uff1a\u7cfb\u7edf\u6545\u969c\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u8c03\u5ea6\u7cfb\u7edf\u81ea\u8eab\u95ee\u9898\uff1b\u6570\u636e\u5f02\u5e38\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u94fe\u8def\u6570\u636e\u4e0d\u6b63\u786e\u7684\u95ee\u9898\u3002\u6211\u4eec\u6c89\u6dc0\u4e86\u591a\u573a\u666f\u7684\u963b\u65ad\u6062\u590d\u548c\u8865\u6570\u636e\u5de5\u5177\uff0c\u80fd\u591f\u5728\u6570\u5206\u949f\u5185\u542f\u52a8\u6570\u636e\u6062\u590d\u3002<\/li>\u5728\u6f14\u7ec3\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5b9a\u671f\u5bf9\u9884\u6848\u8fdb\u884c\u6f14\u7ec3\uff0c\u4fdd\u8bc1\u9884\u6848\u7684\u53ef\u7528\u6027\uff0c\u64cd\u4f5c\u7684\u719f\u7ec3\u6027\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n3. \u5173\u952e\u6280\u672f\uff1a\u5f00\u653e\u80fd\u529b<\/h1>\n\n\n\n\u5f00\u653e\u662f\u6570\u636e\u4e2d\u53f0\u7684\u6838\u5fc3\u7ade\u4e89\u529b\u3002\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u7ed9\u4e88\u4f7f\u7528\u8005\u81ea\u7531\u7684\u53d1\u6325\u7a7a\u95f4\uff0c\u6ee1\u8db3\u66f4\u591a\u4f7f\u7528\u573a\u666f\uff1b\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u6784\u5efa\u6570\u636e\u751f\u6001\uff0c\u63d0\u4f9b\u66f4\u4e30\u5bcc\u7684\u80fd\u529b\u3002Kwaiflow \u63d0\u4f9b\u4e86\u591a\u79cd\u5f00\u653e\u80fd\u529b\uff1a<\/p>\n\n\n\nKwaiflow \u5177\u6709\u5f00\u653e\u7684 API\uff0c\u652f\u6301\u591a\u8bed\u8a00 SDK\uff0c\u63d0\u4f9b\u4e86\u6807\u51c6\u5316\u7684\u63a5\u5165\u6d41\u7a0b\u3001\u4f7f\u7528\u624b\u518c\u548c\u63a5\u5165 demo\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u6807\u51c6\u7684\u4e8b\u4ef6\u3002\u5305\u62ec\u4efb\u52a1\u64cd\u4f5c\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d8\u66f4\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u8bca\u65ad\u4e8b\u4ef6\u7b49\u3002\u6839\u636e\u8fd9\u4e9b\u4e8b\u4ef6\uff0c\u53ef\u4ee5\u5b8c\u6574\u590d\u73b0\u51fa\u4efb\u52a1\u548c\u4efb\u52a1\u5b9e\u4f8b\u7684\u5168\u751f\u547d\u5468\u671f\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u63d2\u4ef6\u5316\u4efb\u52a1\u7c7b\u578b\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5b9a\u4e49\u548c\u5f00\u53d1\u81ea\u5b9a\u4e49\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u5e76\u8fdb\u884c\u7075\u6d3b\u6d4b\u8bd5\u3001\u7070\u5ea6\u4e0a\u7ebf\u548c\u7ba1\u7406\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86 Hook\uff0c\u53ef\u4ee5\u5728\u7528\u6237\u4ee3\u7801\u8fd0\u884c\u524d\u540e\u6267\u884c\u3002\u5305\u62ec\u6267\u884c\u524d\u7684 Prehook \u548c\u6267\u884c\u540e\u7684 Posthook\u3002\u5e38\u89c1\u573a\u666f\u5305\u62ec\u7528\u4e8e\u4ee3\u7801\u6e32\u67d3\u3001\u524d\u7f6e\u68c0\u67e5\u7684 Prehook\uff0c\u4ee5\u53ca\u7528\u4e8e\u6267\u884c\u540e\u6570\u636e\u8d28\u91cf\u68c0\u6d4b\u7684 Posthook\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u4e0e\u6210\u679c<\/strong><\/p>\n\n\n\n\u5982\u679c\u628a\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6bd4\u4f5c\u5927\u697c\u7684\u9aa8\u67b6\uff0c\u90a3\u4e48\u57fa\u4e8e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u5c31\u662f\u88c5\u4fee\u5b8c\u5584\u3001\u9002\u4e8e\u4eba\u5de5\u4f5c\u751f\u6d3b\u7684\u5927\u53a6\u3002\u901a\u8fc7\u5e94\u7528\uff0c\u80fd\u66f4\u597d\u5730\u4f53\u73b0\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4ef7\u503c\u3002\u5728\u5feb\u624b\uff0c\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4e00\u4e2a\u5178\u578b\u5e94\u7528\u3002<\/p>\n\n\n\n\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u5feb\u624b\u7684\u4e00\u7ad9\u5f0f\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u4f7f\u7528 kwaiflow \u4f5c\u4e3a\u7edf\u4e00\u7684\u7f16\u6392\u4e0e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u6784\u5efa\u4e86\u5404\u7c7b\u7684\u6570\u636e\u5f00\u53d1\u8fd0\u7ef4\u7b49\u670d\u52a1\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u67e5\u8be2\u3001\u540c\u6b65\u3001\u5f00\u53d1\u3001\u670d\u52a1\u5316\u3001\u8fd0\u7ef4\u3001\u7ba1\u7406\u7b49\u80fd\u529b\u3002<\/p>\n\n\n\n\u8be5\u5e73\u53f0\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u4e00\u7ad9\u5f0f<\/strong>\uff1a\u5e73\u53f0\u6db5\u76d6\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u7684\u5404\u73af\u8282\uff0c\u5305\u62ec\u6570\u636e\u63a5\u5165\u3001\u6570\u636e\u52a0\u5de5\u3001\u6570\u636e\u5206\u53d1\u548c\u6570\u636e\u670d\u52a1\u5316\u3002\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u6e90\u7ba1\u7406\uff0c\u521b\u5efa\u6570\u636e\u63a5\u5165\u4efb\u52a1\u5c06\u5404\u79cd\u6570\u636e\u6e90\u5bfc\u5165\u5230\u5927\u6570\u636e\u7cfb\u7edf\u4e2d\uff1b\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u667a\u80fd IDE \u7f16\u5199\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03 ETL \u4efb\u52a1\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5de5\u5904\u7406\uff0c\u4ea7\u751f\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b\u7528\u6237\u8fd8\u53ef\u4ee5\u521b\u5efa\u6570\u636e\u5206\u53d1\u4efb\u52a1\uff0c\u5c06\u9ad8\u4ef7\u503c\u6570\u636e\u5206\u53d1\u5230\u5176\u5b83\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u4f8b\u5982\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u975e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u7f13\u5b58\u7cfb\u7edf\u3001OLAP \u5f15\u64ce\u7b49\u3002\u7528\u6237\u4e5f\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u914d\u7f6e\u7684\u65b9\u5f0f\u521b\u5efa\u670d\u52a1\u5316 API\uff0c\u4e3a\u7ebf\u4e0a\u7cfb\u7edf\u63d0\u4f9b\u670d\u52a1\u3002<\/li>\u901a\u7528<\/strong>\uff1a\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u80fd\u7edf\u4e00\u8fd0\u7ef4 Kwaiflow \u6240\u6709\u4efb\u52a1\uff0c\u5305\u62ec\u4efb\u52a1\u8fd0\u7ef4\u3001\u5b9e\u4f8b\u8fd0\u7ef4\u3001\u94fe\u8def\u8fd0\u7ef4\u7b49\u65b9\u5f0f\uff0c\u9002\u5408\u6570\u636e\u5f00\u53d1\u3001\u5b9a\u65f6\u8c03\u5ea6\u3001\u89e6\u53d1\u5f0f\u8c03\u5ea6\u7b49\u573a\u666f\u3002<\/li>\u667a\u80fd<\/strong>\uff1a\u5728\u5f00\u53d1\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd IDE\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4ee3\u7801\u95ee\u9898\uff1b\u5728\u8fd0\u7ef4\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd\u76d1\u63a7\u3001\u667a\u80fd\u8bca\u65ad\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4efb\u52a1\u548c\u94fe\u8def\u95ee\u9898\uff0c\u5e76\u8f85\u52a9\u5b9a\u4f4d\u95ee\u9898\u539f\u56e0\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8981\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u4e0d\u4ec5\u8981\u6709\u5f3a\u5927\u7684\u81ea\u8eab\u80fd\u529b\uff0c\u66f4\u8981\u6709\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\u3002\u5728\u5feb\u624b\uff0cKwaiflow \u548c\u5927\u6570\u636e\u7684\u5176\u5b83\u7cfb\u7edf\u6df1\u5ea6\u96c6\u6210\uff0c\u63a5\u5165\u4e86 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u4fbf\u6377\u5730\u4f7f\u7528\u5176\u5b83\u5927\u6570\u636e\u7cfb\u7edf\u7684\u80fd\u529b\u3002\u53ef\u4ee5\u8bf4\uff0c\u81ea\u8eab\u80fd\u529b\u548c\u751f\u6001\u4f53\u7cfb\u5bf9 Kwaiflow \u6765\u8bf4\u540c\u7b49\u91cd\u8981\u3002<\/p>\n\n\n\n\u9996\u5148\uff0c\u5c31\u81ea\u8eab\u800c\u8a00\uff0cKwaiflow \u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u6267\u884c\u80fd\u529b\u3002\u5305\u62ec\u591a\u573a\u666f\u8c03\u5ea6\u80fd\u529b\u3001\u591a\u6837\u5316\u7684\u6267\u884c\u80fd\u529b\u3001\u6613\u7528\u7684\u8fd0\u7ef4\u80fd\u529b\u548c\u9ad8\u53ef\u7528\u7684\u7279\u6027\u3002<\/p>\n\n\n\n\u5176\u6b21\uff0cKwaiflow \u5177\u6709\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\u3002\u63a5\u5165 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u65b9\u4fbf\u5730\u4f7f\u7528\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\u3002<\/p>\n\n\n\n\u6700\u540e\uff0cKwaiflow \u65e0\u7f1d\u96c6\u6210\u4e86\u5176\u5b83\u4e2d\u53f0\u80fd\u529b\u3002\u5305\u62ec\u6570\u636e\u8d28\u91cf\u3001\u6570\u636e\u5b89\u5168\u4f53\u7cfb\u3001\u5b8c\u6574\u51c6\u786e\u7684\u4efb\u52a1\u5b9e\u4f8b\u8840\u7f18\u3001\u94fe\u8def\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5c06\u4ece\u6027\u80fd\u3001\u529f\u80fd\u548c\u4f7f\u7528\u60c5\u51b5\u4e09\u4e2a\u65b9\u9762\u4ecb\u7ecd Kwaiflow \u7684\u6210\u679c\u3002<\/p>\n\n\n\n\u5728\u6027\u80fd\u65b9\u9762<\/strong>\uff0c\u548c Airflow \u76f8\u6bd4\uff0c\u6709\u6781\u5927\u7684\u63d0\u5347\uff1a<\/p>\n\n\n\n\u5728\u89c4\u6a21\u4e0a\uff0cKwaiflow \u521d\u7248\u8bbe\u8ba1\u5bb9\u91cf\u4e3a\u767e\u4e07\u7ea7\u522b\u4efb\u52a1\uff0c\u5f53\u524d\u5df2\u6709\u6570\u5341\u4e07\u7684\u4efb\u52a1\u6570\uff0c\u548c Airflow \u5355\u96c6\u7fa4\u4e0d\u8d85\u8fc7 1 \u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\u3002<\/li>\u5728\u6027\u80fd\u4e0a\uff0cKwaiflow \u8c03\u5ea6\u9ad8\u5cf0\u671f\u7684\u8c03\u5ea6\u5ef6\u8fdf P99 \u5c0f\u4e8e 5 \u79d2\uff0c\u548c Airflow 5 \u5206\u949f\u76f8\u6bd4\uff0c\u6709\u6570\u91cf\u7ea7\u7684\u63d0\u5347\uff1bKwaiflow \u8d77\u8c03\u901f\u7387\u5341\u6570\u4e07\u6bcf\u5206\u949f\uff0c\u548c Airflow \u6570\u5343\u6bcf\u5206\u949f\u5bf9\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\uff1bKwaiflow \u8fd0\u884c\u7684\u5e76\u53d1\u5b9e\u4f8b\u6570\u5341\u6570\u4e07\u4e07\uff0c\u548c Airflow \u5c0f\u4e8e1\u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u5341\u6570\u500d\u3002<\/li>\u5728\u7a33\u5b9a\u6027\u4e0a\uff0cKwaiflow \u53ef\u7528\u6027\u4e3a 99.99%\uff0c Airflow \u5219\u4e3a 99.5%\uff1bKwaiflow \u5e74\u6545\u969c\u6570\u7ea6 1 \u4e2a\uff0c\u800c Airflow \u5e74\u5747\u4e3a 8 \u4e2a\u3002<\/li><\/ul>\n\n\n\n\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5728\u975e\u529f\u80fd\u578b\u76ee\u6807\u65b9\u9762<\/strong>\uff1a<\/p>\n\n\n\n\u9ad8\u5bb9\u91cf\uff1a\u652f\u6301\u767e\u4e07\u7ea7\u4efb\u52a1\u5bb9\u91cf<\/li>\u9ad8\u6027\u80fd\uff1a\u79d2\u7ea7\u6216\u8005\u4e9a\u79d2\u7ea7\u8c03\u5ea6\u5ef6\u8fdf<\/li>\u9ad8\u53ef\u7528\uff1a\u53ef\u7528\u6027 99.99%\uff0c\u7ebf\u4e0a\u95ee\u9898\u5c11\uff0c\u51fa\u73b0\u65f6\u80fd\u53ca\u65f6\u53d1\u73b0\u5feb\u901f\u5e76\u5904\u7406<\/li><\/ul>\n\n\n\n\u5728\u5b9a\u4f4d\u4e0a\uff0cKwaiflow \u57fa\u4e8e\u5927\u6570\u636e\u4f53\u7cfb\u548c\u5176\u5b83\u57fa\u7840\u8bbe\u65bd\uff0c\u63d0\u4f9b\u8c03\u5ea6\u3001\u6267\u884c\u7b49\u6838\u5fc3\u80fd\u529b\uff0c\u540c\u65f6\u5177\u6709\u8fd0\u7ef4\u3001\u76d1\u63a7\u62a5\u8b66\u3001\u667a\u80fd\u8bca\u65ad\u3001\u5f00\u653e\u670d\u52a1\u7b49\u91cd\u8981\u80fd\u529b\uff0c\u6784\u5efa\u8c03\u5ea6\u751f\u6001\uff1b\u9762\u5411\u6570\u636e\u5904\u7406\u3001\u6d41\u7a0b\u7f16\u6392\u3001\u7b97\u6cd5\u8c03\u5ea6\u548c\u5206\u5e03\u5f0f\u8ba1\u7b97\u7b49\u573a\u666f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u8c03\u5ea6\u6a21\u578b\u4e0a\uff0cKwaiflow \u91c7\u7528\u4e86\u4e24\u5c42\u5b9e\u4f53\u7684\u8c03\u5ea6\u6a21\u578b\uff1a<\/p>\n\n\n\nTask\uff1a\u6267\u884c\u6a21\u677f\uff0c\u7528\u4e8e\u6267\u884c\u67d0\u4e00\u7c7b\u578b\u7684\u4ee3\u7801\uff1bTask \u6709\u5f88\u591a\u7c7b\u578b\uff0c\u4f8b\u5982 HiveTask \u7528\u4e8e\u6267\u884c Hive SQL\uff0cBashTask \u7528\u4e8e\u6267\u884c Bash \u811a\u672c\uff0cHivePartitionSensorTask \u7528\u4e8e\u63a2\u6d4b hive \u8868\u5206\u533a\u662f\u5426\u5b58\u5728\u3002<\/li>DAG\uff1a\u4e00\u7cfb\u5217 Task \u7684\u96c6\u5408\uff0c\u5177\u6709\u8c03\u5ea6\u5b9a\u65f6\u7b49\u5c5e\u6027\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f9d\u8d56\u5173\u7cfb\u65b9\u9762\uff0cDAG \u4e4b\u95f4\u53ef\u4ee5\u76f8\u4e92\u4f9d\u8d56\uff0c\u65e2\u53ef\u4ee5\u540c\u5468\u671f\u4f9d\u8d56\uff0c\u4e5f\u53ef\u4ee5\u8de8\u5468\u671f\u4f9d\u8d56\uff0c\u8fd8\u53ef\u4ee5\u6709\u4f9d\u8d56\u504f\u79fb\u3002DAG \u5185\u7684 Task \u4e4b\u95f4\u4e5f\u53ef\u4ee5\u4f9d\u8d56\uff0c\u7531\u4e8e\u4ed6\u4eec\u8c03\u5ea6\u5c5e\u6027\u4e00\u81f4\uff0c\u6240\u4ee5\u90fd\u4e3a\u540c\u5468\u671f\u4f9d\u8d56\u3002<\/p>\n\n\n\n\u4e00\u822c\u6765\u8bb2\uff0c\u5e38\u89c1\u7684\u8c03\u5ea6\u6a21\u578b\u9664\u4e86\u53cc\u5c42\u5b9e\u4f53\u6a21\u578b\u5916\uff0c\u8fd8\u6709\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u3002\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u6ca1\u6709 DAG \u7684\u6982\u5ff5\uff0c\u53ea\u6709 Task\uff0cTask \u5177\u6709\u8c03\u5ea6\u5c5e\u6027\uff0cTask \u4e4b\u95f4\u76f8\u4e92\u4f9d\u8d56\u3002\u4e24\u79cd\u6a21\u578b\u5404\u6709\u4f18\u52a3\u3002\u53cc\u5c42\u6a21\u578b\u66f4\u9002\u5408\u5feb\u624b\u7684\u60c5\u51b5\uff0c\u5177\u6709\u66f4\u5f3a\u7684\u8868\u8fbe\u529b\uff0c\u4f7f\u7528\u573a\u666f\u66f4\u5e7f\u6cdb\uff0c\u5f53\u7136\u4e5f\u5177\u6709\u4e00\u5b9a\u7684\u590d\u6742\u6027\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u7cfb\u7edf\u67b6\u6784\u4e0a\uff1a<\/p>\n\n\n\nAPI Server \u63d0\u4f9b\u5404\u5f0f\u5404\u6837\u7684\u63a5\u53e3\uff0c\u8d1f\u8d23\u7edf\u4e00\u63a5\u5165\u3002<\/li>Scheduler \u8d1f\u8d23\u8c03\u5ea6\uff0c\u4e0d\u540c\u7684\u8c03\u5ea6\u573a\u666f\u4f1a\u6709\u4e0d\u540c\u7c7b\u578b\u7684\u8c03\u5ea6\u5668\uff0c\u5305\u62ec\u4f8b\u884c\u3001\u89e6\u53d1\u5f0f\u3001\u8865\u6570\u636e\u3001\u963b\u65ad\u8c03\u5ea6\u5668\u3002\u5728\u4f8b\u884c\u8c03\u5ea6\u5668\u4e2d\uff0c\u4efb\u52a1\u5b9e\u4f8b\u751f\u6210\u540e\uff0c\u4f1a\u4f9d\u6b21\u7ecf\u8fc7\u5b9a\u65f6\u68c0\u6d4b\u3001\u4f9d\u8d56\u68c0\u6d4b\u548c\u8d44\u6e90\u68c0\u6d4b\u3002\u5982\u679c\u90fd\u901a\u8fc7\uff0c\u4f1a\u63d0\u4ea4\u5230 Queue Service \u4e2d\u3002<\/li>Queue Service \u4e3a\u5e26 ack \u673a\u5236\u7684\u6d88\u606f\u961f\u5217\u670d\u52a1\uff0c\u4f1a\u6709\u4e0d\u540c\u7684 channel\uff0c\u4ee5\u4fbf\u9694\u79bb\u4efb\u52a1\u3002<\/li>Worker \u8d1f\u8d23\u4efb\u52a1\u7684\u6267\u884c\uff0c\u4ece\u5c5e\u4e00\u4e2a worker \u5206\u7ec4\u3002\u4e0d\u540c\u5206\u7ec4\u7684 Worker \u6d88\u8d39 Queue Service \u4e2d\u4e0d\u540c Channel \u7684\u4efb\u52a1\uff0c\u6839\u636e\u4e0d\u540c\u7684\u4efb\u52a1\u7c7b\u578b\u8fdb\u884c\u6267\u884c\u3002\u6267\u884c\u5206\u4e3a\u672c\u5730\u6267\u884c\u548c\u5bb9\u5668\u5316\u6267\u884c\u4e24\u79cd\u65b9\u5f0f\uff0c\u672c\u5730\u6267\u884c\u662f\u6307\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u5185\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\uff1b\u5177\u6709\u542f\u52a8\u5feb\u7684\u7279\u70b9\uff1b\u5bb9\u5668\u5316\u6267\u884c\u662f\u6307\u5728 k8s \u8fdc\u7a0b\u6267\u884c\u7528\u6237\u4ee3\u7801\uff0c\u5177\u6709\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\u7684\u7279\u70b9\u3002<\/li><\/ul>\n\n\n\n\u9664\u6b64\u4e4b\u5916\uff0c\u8fd8\u6709\u5176\u5b83\u5173\u952e\u6a21\u5757\uff0c\u5305\u62ec\u65e5\u5fd7\u670d\u52a1\u3001\u62a5\u8b66\u670d\u52a1\u3001\u4e8b\u4ef6\u670d\u52a1\u3001\u5b9e\u4f8b\u8840\u7f18\u670d\u52a1\u7b49\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5173\u952e\u6280\u672f<\/strong><\/p>\n\n\n\n1. \u5173\u952e\u6280\u672f\uff1a\u4f4e\u8c03\u5ea6\u5ef6\u8fdf<\/h1>\n\n\n\n\u8c03\u5ea6\u5ef6\u8fdf\u662f\u6307\u7406\u8bba\u8d77\u8c03\u65f6\u523b\u5230\u5b9e\u9645\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\u7684\u65f6\u95f4\u5dee\u3002\u8c03\u5ea6\u5ef6\u8fdf\u662f\u8861\u91cf\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6027\u80fd\u7684\u91cd\u8981\u6307\u6807\u4e4b\u4e00\uff0c\u8be5\u6307\u6807\u8d8a\u5c0f\u8d8a\u597d\u3002<\/p>\n\n\n\n\u4efb\u52a1\u5b9e\u4f8b\u4ece\u751f\u6210\uff0c\u5230\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\uff0c\u9700\u8981\u7ecf\u8fc7\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\u3001\u7b49\u5f85\u4f9d\u8d56\u5c31\u7eea\u3001\u7b49\u5f85\u8d44\u6e90\u5c31\u7eea\u548c\u51c6\u5907\u8fd0\u884c\u73af\u5883\u56db\u4e2a\u9636\u6bb5\u3002\u8981\u6709\u8f83\u5c0f\u7684\u8c03\u5ea6\u5ef6\u8fdf\uff0c\u5c31\u9700\u8981\u51cf\u5c11\u5404\u4e2a\u9636\u6bb5\u7684\u7cfb\u7edf\u65f6\u95f4\u635f\u8017\u3002\u8c03\u5ea6\u5ef6\u8fdf\u7684\u4e3b\u8981\u56e0\u7d20\u4e0e\u5904\u7406\u65b9\u6848\u6709\uff1a<\/p>\n\n\n\n\u5b9a\u65f6\u5668<\/strong>\u3002\u5b9a\u65f6\u5668\u5728\u63a2\u6d4b\u65f6\u95f4\u5c31\u7eea\u73af\u8282\u8d77\u4f5c\u7528\uff0c\u4e00\u4e2a\u7cbe\u51c6\u7684\u3001\u652f\u6301\u767e\u4e07\u7ea7\u522b\u9ad8\u541e\u5410\u7684\u5b9a\u65f6\u5668\uff0c\u5bf9\u4f4e\u8c03\u5ea6\u5ef6\u8fdf\u81f3\u5173\u91cd\u8981\u3002\u4f18\u79c0\u7684\u5b9a\u65f6\u5668\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u6570\u636e\u5e93\u8bbf\u95ee<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d1\u751f\u53d8\u66f4\u540e\uff0c\u9700\u8981\u5bf9\u72b6\u6001\u8fdb\u884c\u6301\u4e45\u5316\u3002\u901a\u8fc7\u7d22\u5f15\u3001\u8bfb\u5199\u5206\u79bb\u3001\u5206\u5e93\u5206\u8868\u7b49\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5c06\u5355\u6b21\u6570\u636e\u5e93\u8bbf\u95ee\u8017\u65f6\u63a7\u5236\u5728 1 ~ 3ms\uff0c\u603b\u4f53\u8017\u65f6\u63a7\u5236\u5728 10ms \u5de6\u53f3 \u3002<\/li>\u72b6\u6001\u8f6c\u53d8<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u81ea\u751f\u6210\u5230\u8fd0\u884c\u7ed3\u675f\uff0c\u4f1a\u7ecf\u5386\u591a\u6b21\u72b6\u6001\u8f6c\u53d8\u3002\u72b6\u6001\u8f6c\u53d8\u9ad8\u6548\u4e0e\u5426\u662f\u8c03\u5ea6\u5ef6\u8fdf\u7684\u91cd\u8981\u56e0\u7d20\u3002\u4e00\u822c\u6765\u8bf4\u6709\u4e24\u79cd\u529e\u6cd5\uff1a\u8f6e\u8be2\u4e0e\u4e8b\u4ef6\u89e6\u53d1\u3002\u6211\u4eec\u91c7\u7528\u7684\u662f\u4e8b\u4ef6\u89e6\u53d1\u65b9\u5f0f\uff0c\u7b2c\u4e00\u65f6\u95f4\u611f\u77e5\u72b6\u6001\u8f6c\u53d8\u3002\u901a\u8fc7\u4e8b\u4ef6\u89e6\u53d1\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u8fd0\u884c\u73af\u5883\u51c6\u5907<\/strong>\u3002\u8fd9\u4e2a\u73af\u8282\u4e3b\u8981\u5de5\u4f5c\u5305\u62ec\u52a0\u8f7d\u955c\u50cf\u3001\u521d\u59cb\u5316\u8fd0\u884c\u73af\u5883\u7b49\u3002\u6211\u4eec\u4e3b\u8981\u91c7\u7528\u4e86\u9884\u52a0\u8f7d\u548c\u955c\u50cf\u9884\u70ed\u6280\u672f\u3002\u4e0d\u540c\u7684\u8fd0\u884c\u73af\u5883\uff0c\u65f6\u95f4\u635f\u8017\u4e0d\u4e00\u6837\uff0c\u4f1a\u5728\u4e9a\u79d2\u5230\u5206\u949f\u4e0d\u7b49\u3002<\/li><\/ul>\n\n\n\n\u8fd9\u56db\u4e2a\u56e0\u7d20\u4e2d\uff0c\u540e\u4e24\u8005\u76f8\u5bf9\u8f83\u590d\u6742\uff0c\u63a5\u4e0b\u6765\u7740\u91cd\u4ecb\u7ecd\u72b6\u6001\u8f6c\u53d8\u548c\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e24\u90e8\u5206\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u9996\u5148\u770b\u72b6\u6001\u8f6c\u53d8\u8fd9\u4e2a\u56e0\u7d20\u3002\u4efb\u52a1\u4ece\u53d1\u5e03\uff0c\u5230\u8c03\u5ea6\u6267\u884c\u5b8c\u6210\uff0c\u4f1a\u7ecf\u5386\u6570\u6b21\u6216\u8005\u5341\u6570\u6b21\u72b6\u6001\u53d8\u5316\u3002\u5982\u4f55\u8fdb\u884c\u5feb\u901f\u9ad8\u6548\u5730\u72b6\u6001\u8f6c\u53d8\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u95ee\u9898\u3002Kwaiflow \u7684\u89e3\u51b3\u529e\u6cd5\u662f\u91c7\u7528 Akka actor\u3002\u5145\u5206\u5229\u7528\u4e86 akka actor \u9ad8\u6027\u80fd\u7279\u70b9\u3002<\/p>\n\n\n\n\u5177\u4f53\u6765\u8bb2\uff1a<\/p>\n\n\n\n1. Kwaiflow \u7684\u4efb\u52a1\u4ece API Server \u53d1\u5e03\u540e\uff0c\u7ecf\u8fc7 Entry Actor \u52a0\u8f7d\u5230 DagLoader Actors \u4e2d\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\uff1b<\/p>\n\n\n\n2. \u5728\u65f6\u95f4\u5c31\u7eea\u540e\uff0c\u7531 Instance Generator Actors \u751f\u6210\u4efb\u52a1\u5b9e\u4f8b\uff0c\u7136\u540e\u8fdb\u5165 Dependency Detector Actor \u63a2\u6d4b\u4e0a\u6e38\u4f9d\u8d56\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n3. \u5728\u4f9d\u8d56\u5c31\u7eea\u540e\uff0c\u8fdb\u5165 Resource Detector Actor \u63a2\u6d4b\u8d44\u6e90\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n4. \u5728\u8d44\u6e90\u5c31\u7eea\u540e\uff0c\u4efb\u52a1\u5b9e\u4f8b\u901a\u8fc7 Queue Service \u4e0b\u53d1\u5230 worker \u4e2d\u3002<\/p>\n\n\n\n5. \u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u88ab\u63a5\u6536\u540e\uff0c\u5c06\u4f1a\u7531 Processor Actor \u6267\u884c\uff0c\u6267\u884c\u524d\u540e\u4f1a\u4f9d\u6b21\u7ecf\u5386\u4ee3\u7801\u6e32\u67d3\u3001Prehook\u3001\u4ee3\u7801\u6267\u884c\u3001Posthook \u56db\u4e2a\u6b65\u9aa4\u3002<\/p>\n\n\n\n6. \u5982\u679c\u6267\u884c\u6210\u529f\uff0c\u5219\u6d41\u7a0b\u7ec8\u6b62\uff1b\u5982\u679c\u6267\u884c\u5931\u8d25\uff0cPosthook \u4f1a\u5c06\u4fe1\u606f\u901a\u8fc7 Processor Actor\u3001ResultHandlerActor \u4f20\u9012\u7ed9 scheduler \u7684 RetryerActor \u8fdb\u884c\u91cd\u8bd5\u64cd\u4f5c\u3002<\/p>\n\n\n\n\u6574\u4e2a\u6d41\u7a0b\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u5168\u6d41\u7a0b\u4e8b\u4ef6\u89e6\u53d1<\/strong>\uff1a\u65e0\u8f6e\u8be2\uff0c\u4efb\u52a1\u53d1\u5e03\u3001\u8c03\u5ea6\u3001\u6267\u884c\u3001\u91cd\u8bd5\uff0c\u5747\u4e3a\u4e8b\u4ef6\u89e6\u53d1\u3002<\/li>\u9ad8\u541e\u5410<\/strong>\uff1a\u91c7\u7528\u5f02\u6b65\u5e76\u53d1\u7684\u65b9\u5f0f\uff0c\u80fd\u5feb\u901f\u8c03\u8d77\u5927\u91cf\u4efb\u52a1\u5b9e\u4f8b<\/li>\u7b80\u5355\u6613\u7528<\/strong>\uff1a\u65e0\u9700\u4f7f\u7528\u5e95\u5c42 API \u8fdb\u884c\u9501\u548c\u7ebf\u7a0b\u7ba1\u7406\uff0c\u4e13\u6ce8\u4e1a\u52a1\u5b9e\u73b0\u3002<\/li><\/ul>\n\n\n\n\u91c7\u7528 actor\uff0c\u72b6\u6001\u8f6c\u53d8\u5bfc\u81f4\u7684\u65f6\u95f4\u635f\u8017\u63a7\u5236\u5728\u6beb\u79d2\u7ea7\u522b\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u63a5\u4e0b\u6765\u6211\u4eec\u770b\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e2a\u56e0\u7d20\u3002\u8fd9\u548c\u6267\u884c\u573a\u666f\u6709\u5173\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e0d\u540c\u7684\u6267\u884c\u573a\u666f\uff0cKwaiflow \u63d0\u4f9b\u4e86\u4e24\u79cd\u6267\u884c\u65b9\u5f0f\uff1a\u5bb9\u5668\u5316\u6267\u884c\u548c\u672c\u5730\u6267\u884c\u3002<\/p>\n\n\n\n\u5bb9\u5668\u5316\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u6bcf\u6b21\u6267\u884c\u524d\uff0c\u5728 k8s \u6309\u9700\u7533\u8bf7\u5bb9\u5668\u8d44\u6e90\uff0c\u5728\u5bb9\u5668\u4e2d\u6267\u884c\u4efb\u52a1\u5b9e\u4f8b\uff0c\u6267\u884c\u5b8c\u540e\uff0c\u53ca\u65f6\u91ca\u653e\u5bb9\u5668\u8d44\u6e90\u3002\u4f18\u70b9\u662f\u5b9e\u73b0\u4e86\u6267\u884c\u65f6\u7684\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\uff1b\u7f3a\u70b9\u662f\u6bcf\u6b21\u90fd\u9700\u8981\u7533\u8bf7\u548c\u521d\u59cb\u5316\u5bb9\u5668\u8d44\u6e90\uff0c\u542f\u52a8\u8017\u65f6\u957f\u3002\u5bb9\u5668\u5316\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Bash \u4efb\u52a1\u3002\u4e3a\u4e86\u51cf\u5c11\u5bb9\u5668\u5316\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\uff0c\u6211\u4eec\u5c06\u955c\u50cf\u5206\u4e3a\u81ea\u5b9a\u4e49\u955c\u50cf\u548c\u901a\u7528\u955c\u50cf\uff0c\u5bf9\u901a\u7528\u955c\u50cf\u8fdb\u884c\u9884\u70ed\uff0c\u63d0\u524d\u5206\u53d1\u5230\u673a\u5668\u4e2d\uff0c\u51cf\u5c11\u955c\u50cf\u4e0b\u8f7d\u8017\u65f6\u3002\u901a\u8fc7\u955c\u50cf\u9884\u70ed\uff0c\u53ef\u4ee5\u5c06\u542f\u52a8\u8017\u65f6\u4ece\u5206\u949f\u7ea7\u964d\u4f4e\u5230\u79d2\u7ea7\u3002<\/li>\u672c\u5730\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u673a\u4e2d\uff0c\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\u3002\u540c\u4e00\u4e2a worker \u673a\u4e2d\u7684\u6240\u6709\u4efb\u52a1\u5b9e\u4f8b\u5171\u4eab\u8ba1\u7b97\u8d44\u6e90\u548c\u6267\u884c\u73af\u5883\u3002\u4f18\u70b9\u662f\u542f\u52a8\u8017\u65f6\u77ed\uff0coverhead \u5c0f\uff1b\u7f3a\u70b9\u662f\u8d44\u6e90\u548c\u73af\u5883\u4e0d\u9694\u79bb\uff0c\u4e00\u4e2a\u4efb\u52a1\u5b9e\u4f8b\u6267\u884c\u5f02\u5e38\u6709\u53ef\u80fd\u5bfc\u81f4\u6574\u4e2a worker \u673a crash\u3002\u672c\u5730\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u4e0d\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Hive \u548c Sensor \u4efb\u52a1\u3002\u672c\u5730\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\u4e00\u822c\u5728\u4e9a\u79d2\u7ea7\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n2. \u5173\u952e\u6280\u672f\uff1a\u9ad8\u53ef\u7528<\/h1>\n\n\n\n\u9ad8\u53ef\u7528\u5bf9\u8c03\u5ea6\u7cfb\u7edf\u6765\u8bf4\u975e\u5e38\u91cd\u8981\u3002\u4e3a\u4e86\u4fdd\u969c Kwaiflow \u7684\u9ad8\u53ef\u7528\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e24\u65b9\u9762\u8fdb\u884c\u8003\u8651\uff1a\u7cfb\u7edf\u8bbe\u8ba1\u548c\u6545\u969c\u53d1\u73b0\u5904\u7406\u3002\u5728\u7cfb\u7edf\u8bbe\u8ba1\u4e0a\uff0cKwaiflow \u53ef\u4ee5\u505a\u5230\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5373\u4efb\u52a1\u5b9e\u4f8b\u5728\u590d\u6742\u73af\u5883\u4e2d Exactly Once \u6267\u884c\uff0c\u505a\u5230\u4e0d\u6f0f\uff0c\u4e14\u5c3d\u91cf\u4e0d\u91cd\u3002<\/p>\n\n\n\n\u5bf9\u4e8e\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5e38\u89c1\u7684\u6545\u969c\u573a\u666f\u5305\u62ec\u7ec4\u4ef6\u6545\u969c\u6216\u8005\u7ec4\u4ef6\u5931\u8054\u3002\u4f8b\u5982 scheduler crash\u3001\u5bb9\u5668\u5316\u4efb\u52a1\u4e0e worker \u5931\u8054\u7b49\u3002<\/p>\n\n\n\n\u4e3a\u4e86\u8fbe\u5230\u9ad8\u53ef\u9760\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e09\u65b9\u9762\u8003\u8651\uff1a<\/p>\n\n\n\nFailover \u673a\u5236\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u548c\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\uff0c\u6765\u5b9e\u73b0\u7ec4\u4ef6\u7684\u81ea\u52a8\u5bb9\u9519\u3002\u4f8b\u5982 Kwaiflow \u91c7\u7528\u4e3b\u5907 Master\uff0c\u591a worker \u7684\u8bbe\u8ba1\u6765\u907f\u514d\u5355\u70b9\u95ee\u9898\uff1b\u5404\u4e2a\u7ec4\u4ef6\u4e4b\u95f4\u91c7\u7528\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\u6765\u907f\u514d\u5931\u8054\u95ee\u9898\u3002\u534f\u8bae\u5305\u62ec scheduler Executor \u901a\u4fe1\u534f\u8bae\u3001Executor Runner \u901a\u4fe1\u534f\u8bae\u3001External Job \u901a\u4fe1\u534f\u8bae\u3002\u53f3\u56fe\u5c55\u793a\u4e86 Executor Runner \u901a\u4fe1\u534f\u8bae\u7684\u4e3b\u8981\u6d41\u7a0b\uff0c\u534f\u8bae\u89c4\u5b9a\u4e86\u4efb\u52a1\u63d0\u4ea4\u3001\u6b63\u5e38\u6267\u884c\u3001\u5f02\u5e38\u6267\u884c\u3001\u901a\u4fe1\u5931\u8054\u7684\u5904\u7406\u529e\u6cd5\uff0c\u4e0d\u4f9d\u8d56\u5916\u90e8\u7cfb\u7edf\u7684\u72b6\u6001\u3002<\/li>\u907f\u514d\u9057\u6f0f\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u6d88\u606f ack \u673a\u5236\uff0c\u4fdd\u969c\u6d88\u606f\u4e0d\u4e22\u5931\uff1b\u540c\u65f6\u901a\u8fc7\u5b9a\u671f\u515c\u5e95\u5de1\u68c0\uff0c\u4fdd\u969c\u4efb\u52a1\u5b9e\u4f8b\u4e0d\u9057\u6f0f\u3002<\/li>\u907f\u514d\u91cd\u590d\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u72b6\u6001\u673a\u8f6c\u79fb\u56fe\uff0c\u907f\u514d\u4e0d\u5408\u7406\u72b6\u6001\u8f6c\u53d8\uff1b\u540c\u65f6\u901a\u8fc7\u91cd\u8bd5\u524d\u6e05\u7406\u524d\u4e00\u4e2a\u5b9e\u4f8b\uff0c\u907f\u514d\u91cd\u590d\u6267\u884c\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u9ad8\u53ef\u7528\u65b9\u9762\uff0c\u8fd8\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u7cfb\u7edf\u8bbe\u8ba1\u662f\u5206\u7ea7\u4fdd\u969c\u3002\u5feb\u624b\u5728\u8fdb\u884c\u5927\u578b\u6d3b\u52a8\u4f8b\u5982\u6625\u8282\u3001\u5965\u8fd0\u65f6\uff0c\u6574\u4f53\u6570\u636e\u91cf\u5927\u5e45\u5ea6\u589e\u957f\uff0c\u5c40\u90e8\u6570\u636e\u5448\u6570\u500d\u589e\u957f\u3002\u4f46\u8ba1\u7b97\u8d44\u6e90\u662f\u6709\u9650\u7684\uff0c\u8ba1\u7b97\u8d44\u6e90\u7684\u589e\u957f\u5f80\u5f80\u4e0d\u80fd\u5339\u914d\u6570\u636e\u91cf\u7684\u589e\u957f\uff0c\u4e0d\u80fd\u8ba9\u6240\u6709\u7684\u4efb\u52a1\u548c\u5f80\u5e38\u4e00\u6837\u6309\u65f6\u4ea7\u51fa\u3002\u8fd9\u65f6\u5019\u6211\u4eec\u5c31\u9700\u8981\u8fdb\u884c\u5206\u7ea7\u4fdd\u969c\u3002<\/p>\n\n\n\n\u6240\u8c13\u5206\u7ea7\u4fdd\u969c\uff0c\u5c31\u662f\u5728\u8d44\u6e90\u6709\u9650\u7684\u60c5\u51b5\u4e0b\uff0c\u8ba9\u9ad8\u4f18\u4efb\u52a1\u5f97\u5230\u7279\u6743\uff0c\u4f18\u5148\u5f97\u5230\u6267\u884c\uff0c\u4f18\u5148\u83b7\u5f97\u5145\u8db3\u7684\u4f18\u8d28\u8d44\u6e90\uff0c\u4fdd\u969c\u4ea7\u51fa\u65f6\u95f4\uff1b\u800c\u4f4e\u4f18\u4efb\u52a1\u5219\u4f1a\u88ab\u5ef6\u8fdf\u8c03\u5ea6\u6267\u884c\uff0c\u5206\u914d\u66f4\u5c11\u7684\u8d44\u6e90\u3002<\/p>\n\n\n\n\u5728\u5feb\u624b\uff0c\u6574\u4e2a\u79bb\u7ebf\u4f53\u7cfb\uff0c\u5305\u62ec Kwaiflow\u3001Hive\u3001Yarn\u3001HDFS \u7b49\uff0c\u90fd\u5177\u6709\u5206\u7ea7\u4fdd\u969c\u7684\u80fd\u529b\u3002\u8fd9\u91cc\u4ecb\u7ecd Kwaiflow \u7684\u5206\u7ea7\u4fdd\u969c\u80fd\u529b\uff0c\u5305\u62ec\u4e09\u65b9\u9762\uff1a<\/p>\n\n\n\nKwaiflow \u8c03\u5ea6\u5668\u5177\u6709\u5206\u7ea7\u8c03\u5ea6\u7684\u80fd\u529b<\/strong>\u3002Kwaiflow \u8c03\u5ea6\u5668\u80fd\u611f\u77e5\u5230\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u7684\u72b6\u6001\uff0c\u5728\u8d44\u6e90\u4e0d\u8db3\u65f6\uff0cKwaiflow \u4efb\u52a1\u4f1a\u5728\u8c03\u5ea6\u5668\u6392\u961f\uff0c\u9ad8\u4f18\u4efb\u52a1\u6392\u5728\u524d\u9762\uff0c\u4f4e\u4f18\u4efb\u52a1\u6392\u5728\u540e\u9762\uff1b\u5f53\u8d44\u6e90\u5f97\u5230\u91ca\u653e\u65f6\uff0c\u9ad8\u4f18\u4efb\u52a1\u4f18\u5148\u88ab\u8c03\u5ea6\u3002<\/li>Kwaiflow \u7684\u6267\u884c\u5668\u6309\u7167\u4e0d\u540c\u4f18\u5148\u7ea7\u8fdb\u884c\u5206\u7ec4<\/strong>\u3002\u5305\u62ec\u4e09\u7ec4\uff1aP0 \u6267\u884c\u5668\u7ec4\u3001P1 \u6267\u884c\u5668\u7ec4\u4ee5\u53ca P2 P3 \u6267\u884c\u5668\u7ec4\u3002P0 \u6267\u884c\u5668\u7528\u4e8e\u6267\u884c\u6700\u9ad8\u4f18\u5148\u7ea7\u7684 P0 \u4efb\u52a1\uff0c\u5177\u6709\u5145\u8db3\u7684 worker\uff0cP0 \u4efb\u52a1\u5b9e\u4f8b\u57fa\u672c\u4e0d\u4f1a\u5728\u6267\u884c\u5668\u5c42\u88ab\u9650\u5236\u3002\u5bf9\u4e8e P2 P3 \u5206\u7ec4\uff0c\u5728\u8c03\u5ea6\u9ad8\u5cf0\u671f\uff0c\u4efb\u52a1\u5b9e\u4f8b\u5f88\u591a\u65f6\uff0c\u53ef\u80fd\u5b58\u5728\u6392\u961f\u6267\u884c\u7684\u60c5\u51b5\u3002<\/li>Kwaiflow \u5177\u6709\u8f83\u5f3a\u7684\u4eba\u5de5\u7ba1\u63a7\u80fd\u529b<\/strong>\uff0c\u53ef\u4ee5\u4eba\u4e3a\u5730\u5141\u8bb8\u6216\u8005\u963b\u65ad\u67d0\u4e9b\u4efb\u52a1\u7684\u8c03\u5ea6\u3002\u5178\u578b\u4f7f\u7528\u573a\u666f\u662f\u5728\u5927\u578b\u6d3b\u52a8\u671f\u95f4\uff0c\u53ef\u4ee5\u6839\u636e\u9884\u6848\uff0c\u5bf9\u4f4e\u4f18\u5148\u7ea7\u7684\u4efb\u52a1\u4eba\u4e3a\u8fdb\u884c\u5ef6\u8fdf\u8c03\u5ea6\uff0c\u4fdd\u969c\u8d44\u6e90\u5206\u914d\u7ed9\u9ad8\u4f18\u4efb\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u524d\u9762\u4e3b\u8981\u4ece\u7cfb\u7edf\u8bbe\u8ba1\u65b9\u9762\u4ecb\u7ecd\u4e86\u7ebf\u4e0a\u6545\u969c\u7684\u81ea\u52a8\u89c4\u907f\u3002Kwaiflow \u9ad8\u53ef\u7528\u7684\u7b2c\u4e8c\u4e2a\u65b9\u9762\u662f\u6545\u969c\u7684\u53d1\u73b0\u548c\u5904\u7406\u3002\u5982\u679c\u6545\u969c\u53d1\u73b0\u4e0d\u53ca\u65f6\u3001\u5904\u7406\u4e0d\u8fc5\u901f\uff0c\u4f1a\u51fa\u73b0\u5927\u89c4\u6a21\u7684\u8c03\u5ea6\u9519\u8bef\u6216\u8005\u8c03\u5ea6\u5ef6\u8fdf\u6545\u969c\u3002\u5728\u5feb\u624b\u8c03\u5ea6\u7cfb\u7edf\u53d1\u5c55\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u78b0\u5230\u8fc7\u8fd9\u6837\u7684\u5927\u6545\u969c\uff0c\u4e3a\u4e86\u907f\u514d\u518d\u6b21\u53d1\u751f\uff0c\u6211\u4eec\u5efa\u7acb\u4e86\u5b8c\u5907\u7684\u76d1\u63a7\u9884\u6848\u4f53\u7cfb\u3002<\/p>\n\n\n\n\u5728\u76d1\u63a7\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5206\u6210\u4f7f\u7528\u5c42\u3001\u670d\u52a1\u5c42\u3001\u4f9d\u8d56\u5c42\u4e09\u4e2a\u5c42\u6b21\uff0c\u5e76\u5212\u5206\u76d1\u63a7\u4f18\u5148\u7ea7\uff0c\u91c7\u7528\u4e0d\u540c\u7684\u54cd\u5e94\u65b9\u5f0f\u3002<\/li>\u5728\u6545\u969c\u9884\u6848\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u6709\u4e24\u7c7b\u9884\u6848\uff1a\u7cfb\u7edf\u6545\u969c\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u8c03\u5ea6\u7cfb\u7edf\u81ea\u8eab\u95ee\u9898\uff1b\u6570\u636e\u5f02\u5e38\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u94fe\u8def\u6570\u636e\u4e0d\u6b63\u786e\u7684\u95ee\u9898\u3002\u6211\u4eec\u6c89\u6dc0\u4e86\u591a\u573a\u666f\u7684\u963b\u65ad\u6062\u590d\u548c\u8865\u6570\u636e\u5de5\u5177\uff0c\u80fd\u591f\u5728\u6570\u5206\u949f\u5185\u542f\u52a8\u6570\u636e\u6062\u590d\u3002<\/li>\u5728\u6f14\u7ec3\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5b9a\u671f\u5bf9\u9884\u6848\u8fdb\u884c\u6f14\u7ec3\uff0c\u4fdd\u8bc1\u9884\u6848\u7684\u53ef\u7528\u6027\uff0c\u64cd\u4f5c\u7684\u719f\u7ec3\u6027\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n3. \u5173\u952e\u6280\u672f\uff1a\u5f00\u653e\u80fd\u529b<\/h1>\n\n\n\n\u5f00\u653e\u662f\u6570\u636e\u4e2d\u53f0\u7684\u6838\u5fc3\u7ade\u4e89\u529b\u3002\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u7ed9\u4e88\u4f7f\u7528\u8005\u81ea\u7531\u7684\u53d1\u6325\u7a7a\u95f4\uff0c\u6ee1\u8db3\u66f4\u591a\u4f7f\u7528\u573a\u666f\uff1b\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u6784\u5efa\u6570\u636e\u751f\u6001\uff0c\u63d0\u4f9b\u66f4\u4e30\u5bcc\u7684\u80fd\u529b\u3002Kwaiflow \u63d0\u4f9b\u4e86\u591a\u79cd\u5f00\u653e\u80fd\u529b\uff1a<\/p>\n\n\n\nKwaiflow \u5177\u6709\u5f00\u653e\u7684 API\uff0c\u652f\u6301\u591a\u8bed\u8a00 SDK\uff0c\u63d0\u4f9b\u4e86\u6807\u51c6\u5316\u7684\u63a5\u5165\u6d41\u7a0b\u3001\u4f7f\u7528\u624b\u518c\u548c\u63a5\u5165 demo\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u6807\u51c6\u7684\u4e8b\u4ef6\u3002\u5305\u62ec\u4efb\u52a1\u64cd\u4f5c\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d8\u66f4\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u8bca\u65ad\u4e8b\u4ef6\u7b49\u3002\u6839\u636e\u8fd9\u4e9b\u4e8b\u4ef6\uff0c\u53ef\u4ee5\u5b8c\u6574\u590d\u73b0\u51fa\u4efb\u52a1\u548c\u4efb\u52a1\u5b9e\u4f8b\u7684\u5168\u751f\u547d\u5468\u671f\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u63d2\u4ef6\u5316\u4efb\u52a1\u7c7b\u578b\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5b9a\u4e49\u548c\u5f00\u53d1\u81ea\u5b9a\u4e49\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u5e76\u8fdb\u884c\u7075\u6d3b\u6d4b\u8bd5\u3001\u7070\u5ea6\u4e0a\u7ebf\u548c\u7ba1\u7406\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86 Hook\uff0c\u53ef\u4ee5\u5728\u7528\u6237\u4ee3\u7801\u8fd0\u884c\u524d\u540e\u6267\u884c\u3002\u5305\u62ec\u6267\u884c\u524d\u7684 Prehook \u548c\u6267\u884c\u540e\u7684 Posthook\u3002\u5e38\u89c1\u573a\u666f\u5305\u62ec\u7528\u4e8e\u4ee3\u7801\u6e32\u67d3\u3001\u524d\u7f6e\u68c0\u67e5\u7684 Prehook\uff0c\u4ee5\u53ca\u7528\u4e8e\u6267\u884c\u540e\u6570\u636e\u8d28\u91cf\u68c0\u6d4b\u7684 Posthook\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u4e0e\u6210\u679c<\/strong><\/p>\n\n\n\n\u5982\u679c\u628a\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6bd4\u4f5c\u5927\u697c\u7684\u9aa8\u67b6\uff0c\u90a3\u4e48\u57fa\u4e8e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u5c31\u662f\u88c5\u4fee\u5b8c\u5584\u3001\u9002\u4e8e\u4eba\u5de5\u4f5c\u751f\u6d3b\u7684\u5927\u53a6\u3002\u901a\u8fc7\u5e94\u7528\uff0c\u80fd\u66f4\u597d\u5730\u4f53\u73b0\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4ef7\u503c\u3002\u5728\u5feb\u624b\uff0c\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4e00\u4e2a\u5178\u578b\u5e94\u7528\u3002<\/p>\n\n\n\n\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u5feb\u624b\u7684\u4e00\u7ad9\u5f0f\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u4f7f\u7528 kwaiflow \u4f5c\u4e3a\u7edf\u4e00\u7684\u7f16\u6392\u4e0e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u6784\u5efa\u4e86\u5404\u7c7b\u7684\u6570\u636e\u5f00\u53d1\u8fd0\u7ef4\u7b49\u670d\u52a1\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u67e5\u8be2\u3001\u540c\u6b65\u3001\u5f00\u53d1\u3001\u670d\u52a1\u5316\u3001\u8fd0\u7ef4\u3001\u7ba1\u7406\u7b49\u80fd\u529b\u3002<\/p>\n\n\n\n\u8be5\u5e73\u53f0\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u4e00\u7ad9\u5f0f<\/strong>\uff1a\u5e73\u53f0\u6db5\u76d6\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u7684\u5404\u73af\u8282\uff0c\u5305\u62ec\u6570\u636e\u63a5\u5165\u3001\u6570\u636e\u52a0\u5de5\u3001\u6570\u636e\u5206\u53d1\u548c\u6570\u636e\u670d\u52a1\u5316\u3002\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u6e90\u7ba1\u7406\uff0c\u521b\u5efa\u6570\u636e\u63a5\u5165\u4efb\u52a1\u5c06\u5404\u79cd\u6570\u636e\u6e90\u5bfc\u5165\u5230\u5927\u6570\u636e\u7cfb\u7edf\u4e2d\uff1b\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u667a\u80fd IDE \u7f16\u5199\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03 ETL \u4efb\u52a1\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5de5\u5904\u7406\uff0c\u4ea7\u751f\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b\u7528\u6237\u8fd8\u53ef\u4ee5\u521b\u5efa\u6570\u636e\u5206\u53d1\u4efb\u52a1\uff0c\u5c06\u9ad8\u4ef7\u503c\u6570\u636e\u5206\u53d1\u5230\u5176\u5b83\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u4f8b\u5982\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u975e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u7f13\u5b58\u7cfb\u7edf\u3001OLAP \u5f15\u64ce\u7b49\u3002\u7528\u6237\u4e5f\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u914d\u7f6e\u7684\u65b9\u5f0f\u521b\u5efa\u670d\u52a1\u5316 API\uff0c\u4e3a\u7ebf\u4e0a\u7cfb\u7edf\u63d0\u4f9b\u670d\u52a1\u3002<\/li>\u901a\u7528<\/strong>\uff1a\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u80fd\u7edf\u4e00\u8fd0\u7ef4 Kwaiflow \u6240\u6709\u4efb\u52a1\uff0c\u5305\u62ec\u4efb\u52a1\u8fd0\u7ef4\u3001\u5b9e\u4f8b\u8fd0\u7ef4\u3001\u94fe\u8def\u8fd0\u7ef4\u7b49\u65b9\u5f0f\uff0c\u9002\u5408\u6570\u636e\u5f00\u53d1\u3001\u5b9a\u65f6\u8c03\u5ea6\u3001\u89e6\u53d1\u5f0f\u8c03\u5ea6\u7b49\u573a\u666f\u3002<\/li>\u667a\u80fd<\/strong>\uff1a\u5728\u5f00\u53d1\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd IDE\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4ee3\u7801\u95ee\u9898\uff1b\u5728\u8fd0\u7ef4\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd\u76d1\u63a7\u3001\u667a\u80fd\u8bca\u65ad\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4efb\u52a1\u548c\u94fe\u8def\u95ee\u9898\uff0c\u5e76\u8f85\u52a9\u5b9a\u4f4d\u95ee\u9898\u539f\u56e0\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8981\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u4e0d\u4ec5\u8981\u6709\u5f3a\u5927\u7684\u81ea\u8eab\u80fd\u529b\uff0c\u66f4\u8981\u6709\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\u3002\u5728\u5feb\u624b\uff0cKwaiflow \u548c\u5927\u6570\u636e\u7684\u5176\u5b83\u7cfb\u7edf\u6df1\u5ea6\u96c6\u6210\uff0c\u63a5\u5165\u4e86 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u4fbf\u6377\u5730\u4f7f\u7528\u5176\u5b83\u5927\u6570\u636e\u7cfb\u7edf\u7684\u80fd\u529b\u3002\u53ef\u4ee5\u8bf4\uff0c\u81ea\u8eab\u80fd\u529b\u548c\u751f\u6001\u4f53\u7cfb\u5bf9 Kwaiflow \u6765\u8bf4\u540c\u7b49\u91cd\u8981\u3002<\/p>\n\n\n\n\u9996\u5148\uff0c\u5c31\u81ea\u8eab\u800c\u8a00\uff0cKwaiflow \u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u6267\u884c\u80fd\u529b\u3002\u5305\u62ec\u591a\u573a\u666f\u8c03\u5ea6\u80fd\u529b\u3001\u591a\u6837\u5316\u7684\u6267\u884c\u80fd\u529b\u3001\u6613\u7528\u7684\u8fd0\u7ef4\u80fd\u529b\u548c\u9ad8\u53ef\u7528\u7684\u7279\u6027\u3002<\/p>\n\n\n\n\u5176\u6b21\uff0cKwaiflow \u5177\u6709\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\u3002\u63a5\u5165 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u65b9\u4fbf\u5730\u4f7f\u7528\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\u3002<\/p>\n\n\n\n\u6700\u540e\uff0cKwaiflow \u65e0\u7f1d\u96c6\u6210\u4e86\u5176\u5b83\u4e2d\u53f0\u80fd\u529b\u3002\u5305\u62ec\u6570\u636e\u8d28\u91cf\u3001\u6570\u636e\u5b89\u5168\u4f53\u7cfb\u3001\u5b8c\u6574\u51c6\u786e\u7684\u4efb\u52a1\u5b9e\u4f8b\u8840\u7f18\u3001\u94fe\u8def\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5c06\u4ece\u6027\u80fd\u3001\u529f\u80fd\u548c\u4f7f\u7528\u60c5\u51b5\u4e09\u4e2a\u65b9\u9762\u4ecb\u7ecd Kwaiflow \u7684\u6210\u679c\u3002<\/p>\n\n\n\n\u5728\u6027\u80fd\u65b9\u9762<\/strong>\uff0c\u548c Airflow \u76f8\u6bd4\uff0c\u6709\u6781\u5927\u7684\u63d0\u5347\uff1a<\/p>\n\n\n\n\u5728\u89c4\u6a21\u4e0a\uff0cKwaiflow \u521d\u7248\u8bbe\u8ba1\u5bb9\u91cf\u4e3a\u767e\u4e07\u7ea7\u522b\u4efb\u52a1\uff0c\u5f53\u524d\u5df2\u6709\u6570\u5341\u4e07\u7684\u4efb\u52a1\u6570\uff0c\u548c Airflow \u5355\u96c6\u7fa4\u4e0d\u8d85\u8fc7 1 \u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\u3002<\/li>\u5728\u6027\u80fd\u4e0a\uff0cKwaiflow \u8c03\u5ea6\u9ad8\u5cf0\u671f\u7684\u8c03\u5ea6\u5ef6\u8fdf P99 \u5c0f\u4e8e 5 \u79d2\uff0c\u548c Airflow 5 \u5206\u949f\u76f8\u6bd4\uff0c\u6709\u6570\u91cf\u7ea7\u7684\u63d0\u5347\uff1bKwaiflow \u8d77\u8c03\u901f\u7387\u5341\u6570\u4e07\u6bcf\u5206\u949f\uff0c\u548c Airflow \u6570\u5343\u6bcf\u5206\u949f\u5bf9\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\uff1bKwaiflow \u8fd0\u884c\u7684\u5e76\u53d1\u5b9e\u4f8b\u6570\u5341\u6570\u4e07\u4e07\uff0c\u548c Airflow \u5c0f\u4e8e1\u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u5341\u6570\u500d\u3002<\/li>\u5728\u7a33\u5b9a\u6027\u4e0a\uff0cKwaiflow \u53ef\u7528\u6027\u4e3a 99.99%\uff0c Airflow \u5219\u4e3a 99.5%\uff1bKwaiflow \u5e74\u6545\u969c\u6570\u7ea6 1 \u4e2a\uff0c\u800c Airflow \u5e74\u5747\u4e3a 8 \u4e2a\u3002<\/li><\/ul>\n\n\n\n\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5728\u5b9a\u4f4d\u4e0a\uff0cKwaiflow \u57fa\u4e8e\u5927\u6570\u636e\u4f53\u7cfb\u548c\u5176\u5b83\u57fa\u7840\u8bbe\u65bd\uff0c\u63d0\u4f9b\u8c03\u5ea6\u3001\u6267\u884c\u7b49\u6838\u5fc3\u80fd\u529b\uff0c\u540c\u65f6\u5177\u6709\u8fd0\u7ef4\u3001\u76d1\u63a7\u62a5\u8b66\u3001\u667a\u80fd\u8bca\u65ad\u3001\u5f00\u653e\u670d\u52a1\u7b49\u91cd\u8981\u80fd\u529b\uff0c\u6784\u5efa\u8c03\u5ea6\u751f\u6001\uff1b\u9762\u5411\u6570\u636e\u5904\u7406\u3001\u6d41\u7a0b\u7f16\u6392\u3001\u7b97\u6cd5\u8c03\u5ea6\u548c\u5206\u5e03\u5f0f\u8ba1\u7b97\u7b49\u573a\u666f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u8c03\u5ea6\u6a21\u578b\u4e0a\uff0cKwaiflow \u91c7\u7528\u4e86\u4e24\u5c42\u5b9e\u4f53\u7684\u8c03\u5ea6\u6a21\u578b\uff1a<\/p>\n\n\n\nTask\uff1a\u6267\u884c\u6a21\u677f\uff0c\u7528\u4e8e\u6267\u884c\u67d0\u4e00\u7c7b\u578b\u7684\u4ee3\u7801\uff1bTask \u6709\u5f88\u591a\u7c7b\u578b\uff0c\u4f8b\u5982 HiveTask \u7528\u4e8e\u6267\u884c Hive SQL\uff0cBashTask \u7528\u4e8e\u6267\u884c Bash \u811a\u672c\uff0cHivePartitionSensorTask \u7528\u4e8e\u63a2\u6d4b hive \u8868\u5206\u533a\u662f\u5426\u5b58\u5728\u3002<\/li>DAG\uff1a\u4e00\u7cfb\u5217 Task \u7684\u96c6\u5408\uff0c\u5177\u6709\u8c03\u5ea6\u5b9a\u65f6\u7b49\u5c5e\u6027\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f9d\u8d56\u5173\u7cfb\u65b9\u9762\uff0cDAG \u4e4b\u95f4\u53ef\u4ee5\u76f8\u4e92\u4f9d\u8d56\uff0c\u65e2\u53ef\u4ee5\u540c\u5468\u671f\u4f9d\u8d56\uff0c\u4e5f\u53ef\u4ee5\u8de8\u5468\u671f\u4f9d\u8d56\uff0c\u8fd8\u53ef\u4ee5\u6709\u4f9d\u8d56\u504f\u79fb\u3002DAG \u5185\u7684 Task \u4e4b\u95f4\u4e5f\u53ef\u4ee5\u4f9d\u8d56\uff0c\u7531\u4e8e\u4ed6\u4eec\u8c03\u5ea6\u5c5e\u6027\u4e00\u81f4\uff0c\u6240\u4ee5\u90fd\u4e3a\u540c\u5468\u671f\u4f9d\u8d56\u3002<\/p>\n\n\n\n\u4e00\u822c\u6765\u8bb2\uff0c\u5e38\u89c1\u7684\u8c03\u5ea6\u6a21\u578b\u9664\u4e86\u53cc\u5c42\u5b9e\u4f53\u6a21\u578b\u5916\uff0c\u8fd8\u6709\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u3002\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u6ca1\u6709 DAG \u7684\u6982\u5ff5\uff0c\u53ea\u6709 Task\uff0cTask \u5177\u6709\u8c03\u5ea6\u5c5e\u6027\uff0cTask \u4e4b\u95f4\u76f8\u4e92\u4f9d\u8d56\u3002\u4e24\u79cd\u6a21\u578b\u5404\u6709\u4f18\u52a3\u3002\u53cc\u5c42\u6a21\u578b\u66f4\u9002\u5408\u5feb\u624b\u7684\u60c5\u51b5\uff0c\u5177\u6709\u66f4\u5f3a\u7684\u8868\u8fbe\u529b\uff0c\u4f7f\u7528\u573a\u666f\u66f4\u5e7f\u6cdb\uff0c\u5f53\u7136\u4e5f\u5177\u6709\u4e00\u5b9a\u7684\u590d\u6742\u6027\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u7cfb\u7edf\u67b6\u6784\u4e0a\uff1a<\/p>\n\n\n\nAPI Server \u63d0\u4f9b\u5404\u5f0f\u5404\u6837\u7684\u63a5\u53e3\uff0c\u8d1f\u8d23\u7edf\u4e00\u63a5\u5165\u3002<\/li>Scheduler \u8d1f\u8d23\u8c03\u5ea6\uff0c\u4e0d\u540c\u7684\u8c03\u5ea6\u573a\u666f\u4f1a\u6709\u4e0d\u540c\u7c7b\u578b\u7684\u8c03\u5ea6\u5668\uff0c\u5305\u62ec\u4f8b\u884c\u3001\u89e6\u53d1\u5f0f\u3001\u8865\u6570\u636e\u3001\u963b\u65ad\u8c03\u5ea6\u5668\u3002\u5728\u4f8b\u884c\u8c03\u5ea6\u5668\u4e2d\uff0c\u4efb\u52a1\u5b9e\u4f8b\u751f\u6210\u540e\uff0c\u4f1a\u4f9d\u6b21\u7ecf\u8fc7\u5b9a\u65f6\u68c0\u6d4b\u3001\u4f9d\u8d56\u68c0\u6d4b\u548c\u8d44\u6e90\u68c0\u6d4b\u3002\u5982\u679c\u90fd\u901a\u8fc7\uff0c\u4f1a\u63d0\u4ea4\u5230 Queue Service \u4e2d\u3002<\/li>Queue Service \u4e3a\u5e26 ack \u673a\u5236\u7684\u6d88\u606f\u961f\u5217\u670d\u52a1\uff0c\u4f1a\u6709\u4e0d\u540c\u7684 channel\uff0c\u4ee5\u4fbf\u9694\u79bb\u4efb\u52a1\u3002<\/li>Worker \u8d1f\u8d23\u4efb\u52a1\u7684\u6267\u884c\uff0c\u4ece\u5c5e\u4e00\u4e2a worker \u5206\u7ec4\u3002\u4e0d\u540c\u5206\u7ec4\u7684 Worker \u6d88\u8d39 Queue Service \u4e2d\u4e0d\u540c Channel \u7684\u4efb\u52a1\uff0c\u6839\u636e\u4e0d\u540c\u7684\u4efb\u52a1\u7c7b\u578b\u8fdb\u884c\u6267\u884c\u3002\u6267\u884c\u5206\u4e3a\u672c\u5730\u6267\u884c\u548c\u5bb9\u5668\u5316\u6267\u884c\u4e24\u79cd\u65b9\u5f0f\uff0c\u672c\u5730\u6267\u884c\u662f\u6307\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u5185\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\uff1b\u5177\u6709\u542f\u52a8\u5feb\u7684\u7279\u70b9\uff1b\u5bb9\u5668\u5316\u6267\u884c\u662f\u6307\u5728 k8s \u8fdc\u7a0b\u6267\u884c\u7528\u6237\u4ee3\u7801\uff0c\u5177\u6709\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\u7684\u7279\u70b9\u3002<\/li><\/ul>\n\n\n\n\u9664\u6b64\u4e4b\u5916\uff0c\u8fd8\u6709\u5176\u5b83\u5173\u952e\u6a21\u5757\uff0c\u5305\u62ec\u65e5\u5fd7\u670d\u52a1\u3001\u62a5\u8b66\u670d\u52a1\u3001\u4e8b\u4ef6\u670d\u52a1\u3001\u5b9e\u4f8b\u8840\u7f18\u670d\u52a1\u7b49\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5173\u952e\u6280\u672f<\/strong><\/p>\n\n\n\n1. \u5173\u952e\u6280\u672f\uff1a\u4f4e\u8c03\u5ea6\u5ef6\u8fdf<\/h1>\n\n\n\n\u8c03\u5ea6\u5ef6\u8fdf\u662f\u6307\u7406\u8bba\u8d77\u8c03\u65f6\u523b\u5230\u5b9e\u9645\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\u7684\u65f6\u95f4\u5dee\u3002\u8c03\u5ea6\u5ef6\u8fdf\u662f\u8861\u91cf\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6027\u80fd\u7684\u91cd\u8981\u6307\u6807\u4e4b\u4e00\uff0c\u8be5\u6307\u6807\u8d8a\u5c0f\u8d8a\u597d\u3002<\/p>\n\n\n\n\u4efb\u52a1\u5b9e\u4f8b\u4ece\u751f\u6210\uff0c\u5230\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\uff0c\u9700\u8981\u7ecf\u8fc7\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\u3001\u7b49\u5f85\u4f9d\u8d56\u5c31\u7eea\u3001\u7b49\u5f85\u8d44\u6e90\u5c31\u7eea\u548c\u51c6\u5907\u8fd0\u884c\u73af\u5883\u56db\u4e2a\u9636\u6bb5\u3002\u8981\u6709\u8f83\u5c0f\u7684\u8c03\u5ea6\u5ef6\u8fdf\uff0c\u5c31\u9700\u8981\u51cf\u5c11\u5404\u4e2a\u9636\u6bb5\u7684\u7cfb\u7edf\u65f6\u95f4\u635f\u8017\u3002\u8c03\u5ea6\u5ef6\u8fdf\u7684\u4e3b\u8981\u56e0\u7d20\u4e0e\u5904\u7406\u65b9\u6848\u6709\uff1a<\/p>\n\n\n\n\u5b9a\u65f6\u5668<\/strong>\u3002\u5b9a\u65f6\u5668\u5728\u63a2\u6d4b\u65f6\u95f4\u5c31\u7eea\u73af\u8282\u8d77\u4f5c\u7528\uff0c\u4e00\u4e2a\u7cbe\u51c6\u7684\u3001\u652f\u6301\u767e\u4e07\u7ea7\u522b\u9ad8\u541e\u5410\u7684\u5b9a\u65f6\u5668\uff0c\u5bf9\u4f4e\u8c03\u5ea6\u5ef6\u8fdf\u81f3\u5173\u91cd\u8981\u3002\u4f18\u79c0\u7684\u5b9a\u65f6\u5668\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u6570\u636e\u5e93\u8bbf\u95ee<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d1\u751f\u53d8\u66f4\u540e\uff0c\u9700\u8981\u5bf9\u72b6\u6001\u8fdb\u884c\u6301\u4e45\u5316\u3002\u901a\u8fc7\u7d22\u5f15\u3001\u8bfb\u5199\u5206\u79bb\u3001\u5206\u5e93\u5206\u8868\u7b49\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5c06\u5355\u6b21\u6570\u636e\u5e93\u8bbf\u95ee\u8017\u65f6\u63a7\u5236\u5728 1 ~ 3ms\uff0c\u603b\u4f53\u8017\u65f6\u63a7\u5236\u5728 10ms \u5de6\u53f3 \u3002<\/li>\u72b6\u6001\u8f6c\u53d8<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u81ea\u751f\u6210\u5230\u8fd0\u884c\u7ed3\u675f\uff0c\u4f1a\u7ecf\u5386\u591a\u6b21\u72b6\u6001\u8f6c\u53d8\u3002\u72b6\u6001\u8f6c\u53d8\u9ad8\u6548\u4e0e\u5426\u662f\u8c03\u5ea6\u5ef6\u8fdf\u7684\u91cd\u8981\u56e0\u7d20\u3002\u4e00\u822c\u6765\u8bf4\u6709\u4e24\u79cd\u529e\u6cd5\uff1a\u8f6e\u8be2\u4e0e\u4e8b\u4ef6\u89e6\u53d1\u3002\u6211\u4eec\u91c7\u7528\u7684\u662f\u4e8b\u4ef6\u89e6\u53d1\u65b9\u5f0f\uff0c\u7b2c\u4e00\u65f6\u95f4\u611f\u77e5\u72b6\u6001\u8f6c\u53d8\u3002\u901a\u8fc7\u4e8b\u4ef6\u89e6\u53d1\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u8fd0\u884c\u73af\u5883\u51c6\u5907<\/strong>\u3002\u8fd9\u4e2a\u73af\u8282\u4e3b\u8981\u5de5\u4f5c\u5305\u62ec\u52a0\u8f7d\u955c\u50cf\u3001\u521d\u59cb\u5316\u8fd0\u884c\u73af\u5883\u7b49\u3002\u6211\u4eec\u4e3b\u8981\u91c7\u7528\u4e86\u9884\u52a0\u8f7d\u548c\u955c\u50cf\u9884\u70ed\u6280\u672f\u3002\u4e0d\u540c\u7684\u8fd0\u884c\u73af\u5883\uff0c\u65f6\u95f4\u635f\u8017\u4e0d\u4e00\u6837\uff0c\u4f1a\u5728\u4e9a\u79d2\u5230\u5206\u949f\u4e0d\u7b49\u3002<\/li><\/ul>\n\n\n\n\u8fd9\u56db\u4e2a\u56e0\u7d20\u4e2d\uff0c\u540e\u4e24\u8005\u76f8\u5bf9\u8f83\u590d\u6742\uff0c\u63a5\u4e0b\u6765\u7740\u91cd\u4ecb\u7ecd\u72b6\u6001\u8f6c\u53d8\u548c\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e24\u90e8\u5206\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u9996\u5148\u770b\u72b6\u6001\u8f6c\u53d8\u8fd9\u4e2a\u56e0\u7d20\u3002\u4efb\u52a1\u4ece\u53d1\u5e03\uff0c\u5230\u8c03\u5ea6\u6267\u884c\u5b8c\u6210\uff0c\u4f1a\u7ecf\u5386\u6570\u6b21\u6216\u8005\u5341\u6570\u6b21\u72b6\u6001\u53d8\u5316\u3002\u5982\u4f55\u8fdb\u884c\u5feb\u901f\u9ad8\u6548\u5730\u72b6\u6001\u8f6c\u53d8\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u95ee\u9898\u3002Kwaiflow \u7684\u89e3\u51b3\u529e\u6cd5\u662f\u91c7\u7528 Akka actor\u3002\u5145\u5206\u5229\u7528\u4e86 akka actor \u9ad8\u6027\u80fd\u7279\u70b9\u3002<\/p>\n\n\n\n\u5177\u4f53\u6765\u8bb2\uff1a<\/p>\n\n\n\n1. Kwaiflow \u7684\u4efb\u52a1\u4ece API Server \u53d1\u5e03\u540e\uff0c\u7ecf\u8fc7 Entry Actor \u52a0\u8f7d\u5230 DagLoader Actors \u4e2d\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\uff1b<\/p>\n\n\n\n2. \u5728\u65f6\u95f4\u5c31\u7eea\u540e\uff0c\u7531 Instance Generator Actors \u751f\u6210\u4efb\u52a1\u5b9e\u4f8b\uff0c\u7136\u540e\u8fdb\u5165 Dependency Detector Actor \u63a2\u6d4b\u4e0a\u6e38\u4f9d\u8d56\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n3. \u5728\u4f9d\u8d56\u5c31\u7eea\u540e\uff0c\u8fdb\u5165 Resource Detector Actor \u63a2\u6d4b\u8d44\u6e90\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n4. \u5728\u8d44\u6e90\u5c31\u7eea\u540e\uff0c\u4efb\u52a1\u5b9e\u4f8b\u901a\u8fc7 Queue Service \u4e0b\u53d1\u5230 worker \u4e2d\u3002<\/p>\n\n\n\n5. \u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u88ab\u63a5\u6536\u540e\uff0c\u5c06\u4f1a\u7531 Processor Actor \u6267\u884c\uff0c\u6267\u884c\u524d\u540e\u4f1a\u4f9d\u6b21\u7ecf\u5386\u4ee3\u7801\u6e32\u67d3\u3001Prehook\u3001\u4ee3\u7801\u6267\u884c\u3001Posthook \u56db\u4e2a\u6b65\u9aa4\u3002<\/p>\n\n\n\n6. \u5982\u679c\u6267\u884c\u6210\u529f\uff0c\u5219\u6d41\u7a0b\u7ec8\u6b62\uff1b\u5982\u679c\u6267\u884c\u5931\u8d25\uff0cPosthook \u4f1a\u5c06\u4fe1\u606f\u901a\u8fc7 Processor Actor\u3001ResultHandlerActor \u4f20\u9012\u7ed9 scheduler \u7684 RetryerActor \u8fdb\u884c\u91cd\u8bd5\u64cd\u4f5c\u3002<\/p>\n\n\n\n\u6574\u4e2a\u6d41\u7a0b\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u5168\u6d41\u7a0b\u4e8b\u4ef6\u89e6\u53d1<\/strong>\uff1a\u65e0\u8f6e\u8be2\uff0c\u4efb\u52a1\u53d1\u5e03\u3001\u8c03\u5ea6\u3001\u6267\u884c\u3001\u91cd\u8bd5\uff0c\u5747\u4e3a\u4e8b\u4ef6\u89e6\u53d1\u3002<\/li>\u9ad8\u541e\u5410<\/strong>\uff1a\u91c7\u7528\u5f02\u6b65\u5e76\u53d1\u7684\u65b9\u5f0f\uff0c\u80fd\u5feb\u901f\u8c03\u8d77\u5927\u91cf\u4efb\u52a1\u5b9e\u4f8b<\/li>\u7b80\u5355\u6613\u7528<\/strong>\uff1a\u65e0\u9700\u4f7f\u7528\u5e95\u5c42 API \u8fdb\u884c\u9501\u548c\u7ebf\u7a0b\u7ba1\u7406\uff0c\u4e13\u6ce8\u4e1a\u52a1\u5b9e\u73b0\u3002<\/li><\/ul>\n\n\n\n\u91c7\u7528 actor\uff0c\u72b6\u6001\u8f6c\u53d8\u5bfc\u81f4\u7684\u65f6\u95f4\u635f\u8017\u63a7\u5236\u5728\u6beb\u79d2\u7ea7\u522b\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u63a5\u4e0b\u6765\u6211\u4eec\u770b\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e2a\u56e0\u7d20\u3002\u8fd9\u548c\u6267\u884c\u573a\u666f\u6709\u5173\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e0d\u540c\u7684\u6267\u884c\u573a\u666f\uff0cKwaiflow \u63d0\u4f9b\u4e86\u4e24\u79cd\u6267\u884c\u65b9\u5f0f\uff1a\u5bb9\u5668\u5316\u6267\u884c\u548c\u672c\u5730\u6267\u884c\u3002<\/p>\n\n\n\n\u5bb9\u5668\u5316\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u6bcf\u6b21\u6267\u884c\u524d\uff0c\u5728 k8s \u6309\u9700\u7533\u8bf7\u5bb9\u5668\u8d44\u6e90\uff0c\u5728\u5bb9\u5668\u4e2d\u6267\u884c\u4efb\u52a1\u5b9e\u4f8b\uff0c\u6267\u884c\u5b8c\u540e\uff0c\u53ca\u65f6\u91ca\u653e\u5bb9\u5668\u8d44\u6e90\u3002\u4f18\u70b9\u662f\u5b9e\u73b0\u4e86\u6267\u884c\u65f6\u7684\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\uff1b\u7f3a\u70b9\u662f\u6bcf\u6b21\u90fd\u9700\u8981\u7533\u8bf7\u548c\u521d\u59cb\u5316\u5bb9\u5668\u8d44\u6e90\uff0c\u542f\u52a8\u8017\u65f6\u957f\u3002\u5bb9\u5668\u5316\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Bash \u4efb\u52a1\u3002\u4e3a\u4e86\u51cf\u5c11\u5bb9\u5668\u5316\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\uff0c\u6211\u4eec\u5c06\u955c\u50cf\u5206\u4e3a\u81ea\u5b9a\u4e49\u955c\u50cf\u548c\u901a\u7528\u955c\u50cf\uff0c\u5bf9\u901a\u7528\u955c\u50cf\u8fdb\u884c\u9884\u70ed\uff0c\u63d0\u524d\u5206\u53d1\u5230\u673a\u5668\u4e2d\uff0c\u51cf\u5c11\u955c\u50cf\u4e0b\u8f7d\u8017\u65f6\u3002\u901a\u8fc7\u955c\u50cf\u9884\u70ed\uff0c\u53ef\u4ee5\u5c06\u542f\u52a8\u8017\u65f6\u4ece\u5206\u949f\u7ea7\u964d\u4f4e\u5230\u79d2\u7ea7\u3002<\/li>\u672c\u5730\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u673a\u4e2d\uff0c\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\u3002\u540c\u4e00\u4e2a worker \u673a\u4e2d\u7684\u6240\u6709\u4efb\u52a1\u5b9e\u4f8b\u5171\u4eab\u8ba1\u7b97\u8d44\u6e90\u548c\u6267\u884c\u73af\u5883\u3002\u4f18\u70b9\u662f\u542f\u52a8\u8017\u65f6\u77ed\uff0coverhead \u5c0f\uff1b\u7f3a\u70b9\u662f\u8d44\u6e90\u548c\u73af\u5883\u4e0d\u9694\u79bb\uff0c\u4e00\u4e2a\u4efb\u52a1\u5b9e\u4f8b\u6267\u884c\u5f02\u5e38\u6709\u53ef\u80fd\u5bfc\u81f4\u6574\u4e2a worker \u673a crash\u3002\u672c\u5730\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u4e0d\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Hive \u548c Sensor \u4efb\u52a1\u3002\u672c\u5730\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\u4e00\u822c\u5728\u4e9a\u79d2\u7ea7\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n2. \u5173\u952e\u6280\u672f\uff1a\u9ad8\u53ef\u7528<\/h1>\n\n\n\n\u9ad8\u53ef\u7528\u5bf9\u8c03\u5ea6\u7cfb\u7edf\u6765\u8bf4\u975e\u5e38\u91cd\u8981\u3002\u4e3a\u4e86\u4fdd\u969c Kwaiflow \u7684\u9ad8\u53ef\u7528\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e24\u65b9\u9762\u8fdb\u884c\u8003\u8651\uff1a\u7cfb\u7edf\u8bbe\u8ba1\u548c\u6545\u969c\u53d1\u73b0\u5904\u7406\u3002\u5728\u7cfb\u7edf\u8bbe\u8ba1\u4e0a\uff0cKwaiflow \u53ef\u4ee5\u505a\u5230\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5373\u4efb\u52a1\u5b9e\u4f8b\u5728\u590d\u6742\u73af\u5883\u4e2d Exactly Once \u6267\u884c\uff0c\u505a\u5230\u4e0d\u6f0f\uff0c\u4e14\u5c3d\u91cf\u4e0d\u91cd\u3002<\/p>\n\n\n\n\u5bf9\u4e8e\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5e38\u89c1\u7684\u6545\u969c\u573a\u666f\u5305\u62ec\u7ec4\u4ef6\u6545\u969c\u6216\u8005\u7ec4\u4ef6\u5931\u8054\u3002\u4f8b\u5982 scheduler crash\u3001\u5bb9\u5668\u5316\u4efb\u52a1\u4e0e worker \u5931\u8054\u7b49\u3002<\/p>\n\n\n\n\u4e3a\u4e86\u8fbe\u5230\u9ad8\u53ef\u9760\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e09\u65b9\u9762\u8003\u8651\uff1a<\/p>\n\n\n\nFailover \u673a\u5236\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u548c\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\uff0c\u6765\u5b9e\u73b0\u7ec4\u4ef6\u7684\u81ea\u52a8\u5bb9\u9519\u3002\u4f8b\u5982 Kwaiflow \u91c7\u7528\u4e3b\u5907 Master\uff0c\u591a worker \u7684\u8bbe\u8ba1\u6765\u907f\u514d\u5355\u70b9\u95ee\u9898\uff1b\u5404\u4e2a\u7ec4\u4ef6\u4e4b\u95f4\u91c7\u7528\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\u6765\u907f\u514d\u5931\u8054\u95ee\u9898\u3002\u534f\u8bae\u5305\u62ec scheduler Executor \u901a\u4fe1\u534f\u8bae\u3001Executor Runner \u901a\u4fe1\u534f\u8bae\u3001External Job \u901a\u4fe1\u534f\u8bae\u3002\u53f3\u56fe\u5c55\u793a\u4e86 Executor Runner \u901a\u4fe1\u534f\u8bae\u7684\u4e3b\u8981\u6d41\u7a0b\uff0c\u534f\u8bae\u89c4\u5b9a\u4e86\u4efb\u52a1\u63d0\u4ea4\u3001\u6b63\u5e38\u6267\u884c\u3001\u5f02\u5e38\u6267\u884c\u3001\u901a\u4fe1\u5931\u8054\u7684\u5904\u7406\u529e\u6cd5\uff0c\u4e0d\u4f9d\u8d56\u5916\u90e8\u7cfb\u7edf\u7684\u72b6\u6001\u3002<\/li>\u907f\u514d\u9057\u6f0f\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u6d88\u606f ack \u673a\u5236\uff0c\u4fdd\u969c\u6d88\u606f\u4e0d\u4e22\u5931\uff1b\u540c\u65f6\u901a\u8fc7\u5b9a\u671f\u515c\u5e95\u5de1\u68c0\uff0c\u4fdd\u969c\u4efb\u52a1\u5b9e\u4f8b\u4e0d\u9057\u6f0f\u3002<\/li>\u907f\u514d\u91cd\u590d\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u72b6\u6001\u673a\u8f6c\u79fb\u56fe\uff0c\u907f\u514d\u4e0d\u5408\u7406\u72b6\u6001\u8f6c\u53d8\uff1b\u540c\u65f6\u901a\u8fc7\u91cd\u8bd5\u524d\u6e05\u7406\u524d\u4e00\u4e2a\u5b9e\u4f8b\uff0c\u907f\u514d\u91cd\u590d\u6267\u884c\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u9ad8\u53ef\u7528\u65b9\u9762\uff0c\u8fd8\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u7cfb\u7edf\u8bbe\u8ba1\u662f\u5206\u7ea7\u4fdd\u969c\u3002\u5feb\u624b\u5728\u8fdb\u884c\u5927\u578b\u6d3b\u52a8\u4f8b\u5982\u6625\u8282\u3001\u5965\u8fd0\u65f6\uff0c\u6574\u4f53\u6570\u636e\u91cf\u5927\u5e45\u5ea6\u589e\u957f\uff0c\u5c40\u90e8\u6570\u636e\u5448\u6570\u500d\u589e\u957f\u3002\u4f46\u8ba1\u7b97\u8d44\u6e90\u662f\u6709\u9650\u7684\uff0c\u8ba1\u7b97\u8d44\u6e90\u7684\u589e\u957f\u5f80\u5f80\u4e0d\u80fd\u5339\u914d\u6570\u636e\u91cf\u7684\u589e\u957f\uff0c\u4e0d\u80fd\u8ba9\u6240\u6709\u7684\u4efb\u52a1\u548c\u5f80\u5e38\u4e00\u6837\u6309\u65f6\u4ea7\u51fa\u3002\u8fd9\u65f6\u5019\u6211\u4eec\u5c31\u9700\u8981\u8fdb\u884c\u5206\u7ea7\u4fdd\u969c\u3002<\/p>\n\n\n\n\u6240\u8c13\u5206\u7ea7\u4fdd\u969c\uff0c\u5c31\u662f\u5728\u8d44\u6e90\u6709\u9650\u7684\u60c5\u51b5\u4e0b\uff0c\u8ba9\u9ad8\u4f18\u4efb\u52a1\u5f97\u5230\u7279\u6743\uff0c\u4f18\u5148\u5f97\u5230\u6267\u884c\uff0c\u4f18\u5148\u83b7\u5f97\u5145\u8db3\u7684\u4f18\u8d28\u8d44\u6e90\uff0c\u4fdd\u969c\u4ea7\u51fa\u65f6\u95f4\uff1b\u800c\u4f4e\u4f18\u4efb\u52a1\u5219\u4f1a\u88ab\u5ef6\u8fdf\u8c03\u5ea6\u6267\u884c\uff0c\u5206\u914d\u66f4\u5c11\u7684\u8d44\u6e90\u3002<\/p>\n\n\n\n\u5728\u5feb\u624b\uff0c\u6574\u4e2a\u79bb\u7ebf\u4f53\u7cfb\uff0c\u5305\u62ec Kwaiflow\u3001Hive\u3001Yarn\u3001HDFS \u7b49\uff0c\u90fd\u5177\u6709\u5206\u7ea7\u4fdd\u969c\u7684\u80fd\u529b\u3002\u8fd9\u91cc\u4ecb\u7ecd Kwaiflow \u7684\u5206\u7ea7\u4fdd\u969c\u80fd\u529b\uff0c\u5305\u62ec\u4e09\u65b9\u9762\uff1a<\/p>\n\n\n\nKwaiflow \u8c03\u5ea6\u5668\u5177\u6709\u5206\u7ea7\u8c03\u5ea6\u7684\u80fd\u529b<\/strong>\u3002Kwaiflow \u8c03\u5ea6\u5668\u80fd\u611f\u77e5\u5230\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u7684\u72b6\u6001\uff0c\u5728\u8d44\u6e90\u4e0d\u8db3\u65f6\uff0cKwaiflow \u4efb\u52a1\u4f1a\u5728\u8c03\u5ea6\u5668\u6392\u961f\uff0c\u9ad8\u4f18\u4efb\u52a1\u6392\u5728\u524d\u9762\uff0c\u4f4e\u4f18\u4efb\u52a1\u6392\u5728\u540e\u9762\uff1b\u5f53\u8d44\u6e90\u5f97\u5230\u91ca\u653e\u65f6\uff0c\u9ad8\u4f18\u4efb\u52a1\u4f18\u5148\u88ab\u8c03\u5ea6\u3002<\/li>Kwaiflow \u7684\u6267\u884c\u5668\u6309\u7167\u4e0d\u540c\u4f18\u5148\u7ea7\u8fdb\u884c\u5206\u7ec4<\/strong>\u3002\u5305\u62ec\u4e09\u7ec4\uff1aP0 \u6267\u884c\u5668\u7ec4\u3001P1 \u6267\u884c\u5668\u7ec4\u4ee5\u53ca P2 P3 \u6267\u884c\u5668\u7ec4\u3002P0 \u6267\u884c\u5668\u7528\u4e8e\u6267\u884c\u6700\u9ad8\u4f18\u5148\u7ea7\u7684 P0 \u4efb\u52a1\uff0c\u5177\u6709\u5145\u8db3\u7684 worker\uff0cP0 \u4efb\u52a1\u5b9e\u4f8b\u57fa\u672c\u4e0d\u4f1a\u5728\u6267\u884c\u5668\u5c42\u88ab\u9650\u5236\u3002\u5bf9\u4e8e P2 P3 \u5206\u7ec4\uff0c\u5728\u8c03\u5ea6\u9ad8\u5cf0\u671f\uff0c\u4efb\u52a1\u5b9e\u4f8b\u5f88\u591a\u65f6\uff0c\u53ef\u80fd\u5b58\u5728\u6392\u961f\u6267\u884c\u7684\u60c5\u51b5\u3002<\/li>Kwaiflow \u5177\u6709\u8f83\u5f3a\u7684\u4eba\u5de5\u7ba1\u63a7\u80fd\u529b<\/strong>\uff0c\u53ef\u4ee5\u4eba\u4e3a\u5730\u5141\u8bb8\u6216\u8005\u963b\u65ad\u67d0\u4e9b\u4efb\u52a1\u7684\u8c03\u5ea6\u3002\u5178\u578b\u4f7f\u7528\u573a\u666f\u662f\u5728\u5927\u578b\u6d3b\u52a8\u671f\u95f4\uff0c\u53ef\u4ee5\u6839\u636e\u9884\u6848\uff0c\u5bf9\u4f4e\u4f18\u5148\u7ea7\u7684\u4efb\u52a1\u4eba\u4e3a\u8fdb\u884c\u5ef6\u8fdf\u8c03\u5ea6\uff0c\u4fdd\u969c\u8d44\u6e90\u5206\u914d\u7ed9\u9ad8\u4f18\u4efb\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u524d\u9762\u4e3b\u8981\u4ece\u7cfb\u7edf\u8bbe\u8ba1\u65b9\u9762\u4ecb\u7ecd\u4e86\u7ebf\u4e0a\u6545\u969c\u7684\u81ea\u52a8\u89c4\u907f\u3002Kwaiflow \u9ad8\u53ef\u7528\u7684\u7b2c\u4e8c\u4e2a\u65b9\u9762\u662f\u6545\u969c\u7684\u53d1\u73b0\u548c\u5904\u7406\u3002\u5982\u679c\u6545\u969c\u53d1\u73b0\u4e0d\u53ca\u65f6\u3001\u5904\u7406\u4e0d\u8fc5\u901f\uff0c\u4f1a\u51fa\u73b0\u5927\u89c4\u6a21\u7684\u8c03\u5ea6\u9519\u8bef\u6216\u8005\u8c03\u5ea6\u5ef6\u8fdf\u6545\u969c\u3002\u5728\u5feb\u624b\u8c03\u5ea6\u7cfb\u7edf\u53d1\u5c55\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u78b0\u5230\u8fc7\u8fd9\u6837\u7684\u5927\u6545\u969c\uff0c\u4e3a\u4e86\u907f\u514d\u518d\u6b21\u53d1\u751f\uff0c\u6211\u4eec\u5efa\u7acb\u4e86\u5b8c\u5907\u7684\u76d1\u63a7\u9884\u6848\u4f53\u7cfb\u3002<\/p>\n\n\n\n\u5728\u76d1\u63a7\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5206\u6210\u4f7f\u7528\u5c42\u3001\u670d\u52a1\u5c42\u3001\u4f9d\u8d56\u5c42\u4e09\u4e2a\u5c42\u6b21\uff0c\u5e76\u5212\u5206\u76d1\u63a7\u4f18\u5148\u7ea7\uff0c\u91c7\u7528\u4e0d\u540c\u7684\u54cd\u5e94\u65b9\u5f0f\u3002<\/li>\u5728\u6545\u969c\u9884\u6848\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u6709\u4e24\u7c7b\u9884\u6848\uff1a\u7cfb\u7edf\u6545\u969c\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u8c03\u5ea6\u7cfb\u7edf\u81ea\u8eab\u95ee\u9898\uff1b\u6570\u636e\u5f02\u5e38\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u94fe\u8def\u6570\u636e\u4e0d\u6b63\u786e\u7684\u95ee\u9898\u3002\u6211\u4eec\u6c89\u6dc0\u4e86\u591a\u573a\u666f\u7684\u963b\u65ad\u6062\u590d\u548c\u8865\u6570\u636e\u5de5\u5177\uff0c\u80fd\u591f\u5728\u6570\u5206\u949f\u5185\u542f\u52a8\u6570\u636e\u6062\u590d\u3002<\/li>\u5728\u6f14\u7ec3\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5b9a\u671f\u5bf9\u9884\u6848\u8fdb\u884c\u6f14\u7ec3\uff0c\u4fdd\u8bc1\u9884\u6848\u7684\u53ef\u7528\u6027\uff0c\u64cd\u4f5c\u7684\u719f\u7ec3\u6027\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n3. \u5173\u952e\u6280\u672f\uff1a\u5f00\u653e\u80fd\u529b<\/h1>\n\n\n\n\u5f00\u653e\u662f\u6570\u636e\u4e2d\u53f0\u7684\u6838\u5fc3\u7ade\u4e89\u529b\u3002\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u7ed9\u4e88\u4f7f\u7528\u8005\u81ea\u7531\u7684\u53d1\u6325\u7a7a\u95f4\uff0c\u6ee1\u8db3\u66f4\u591a\u4f7f\u7528\u573a\u666f\uff1b\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u6784\u5efa\u6570\u636e\u751f\u6001\uff0c\u63d0\u4f9b\u66f4\u4e30\u5bcc\u7684\u80fd\u529b\u3002Kwaiflow \u63d0\u4f9b\u4e86\u591a\u79cd\u5f00\u653e\u80fd\u529b\uff1a<\/p>\n\n\n\nKwaiflow \u5177\u6709\u5f00\u653e\u7684 API\uff0c\u652f\u6301\u591a\u8bed\u8a00 SDK\uff0c\u63d0\u4f9b\u4e86\u6807\u51c6\u5316\u7684\u63a5\u5165\u6d41\u7a0b\u3001\u4f7f\u7528\u624b\u518c\u548c\u63a5\u5165 demo\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u6807\u51c6\u7684\u4e8b\u4ef6\u3002\u5305\u62ec\u4efb\u52a1\u64cd\u4f5c\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d8\u66f4\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u8bca\u65ad\u4e8b\u4ef6\u7b49\u3002\u6839\u636e\u8fd9\u4e9b\u4e8b\u4ef6\uff0c\u53ef\u4ee5\u5b8c\u6574\u590d\u73b0\u51fa\u4efb\u52a1\u548c\u4efb\u52a1\u5b9e\u4f8b\u7684\u5168\u751f\u547d\u5468\u671f\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u63d2\u4ef6\u5316\u4efb\u52a1\u7c7b\u578b\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5b9a\u4e49\u548c\u5f00\u53d1\u81ea\u5b9a\u4e49\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u5e76\u8fdb\u884c\u7075\u6d3b\u6d4b\u8bd5\u3001\u7070\u5ea6\u4e0a\u7ebf\u548c\u7ba1\u7406\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86 Hook\uff0c\u53ef\u4ee5\u5728\u7528\u6237\u4ee3\u7801\u8fd0\u884c\u524d\u540e\u6267\u884c\u3002\u5305\u62ec\u6267\u884c\u524d\u7684 Prehook \u548c\u6267\u884c\u540e\u7684 Posthook\u3002\u5e38\u89c1\u573a\u666f\u5305\u62ec\u7528\u4e8e\u4ee3\u7801\u6e32\u67d3\u3001\u524d\u7f6e\u68c0\u67e5\u7684 Prehook\uff0c\u4ee5\u53ca\u7528\u4e8e\u6267\u884c\u540e\u6570\u636e\u8d28\u91cf\u68c0\u6d4b\u7684 Posthook\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u4e0e\u6210\u679c<\/strong><\/p>\n\n\n\n\u5982\u679c\u628a\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6bd4\u4f5c\u5927\u697c\u7684\u9aa8\u67b6\uff0c\u90a3\u4e48\u57fa\u4e8e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u5c31\u662f\u88c5\u4fee\u5b8c\u5584\u3001\u9002\u4e8e\u4eba\u5de5\u4f5c\u751f\u6d3b\u7684\u5927\u53a6\u3002\u901a\u8fc7\u5e94\u7528\uff0c\u80fd\u66f4\u597d\u5730\u4f53\u73b0\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4ef7\u503c\u3002\u5728\u5feb\u624b\uff0c\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4e00\u4e2a\u5178\u578b\u5e94\u7528\u3002<\/p>\n\n\n\n\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u5feb\u624b\u7684\u4e00\u7ad9\u5f0f\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u4f7f\u7528 kwaiflow \u4f5c\u4e3a\u7edf\u4e00\u7684\u7f16\u6392\u4e0e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u6784\u5efa\u4e86\u5404\u7c7b\u7684\u6570\u636e\u5f00\u53d1\u8fd0\u7ef4\u7b49\u670d\u52a1\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u67e5\u8be2\u3001\u540c\u6b65\u3001\u5f00\u53d1\u3001\u670d\u52a1\u5316\u3001\u8fd0\u7ef4\u3001\u7ba1\u7406\u7b49\u80fd\u529b\u3002<\/p>\n\n\n\n\u8be5\u5e73\u53f0\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u4e00\u7ad9\u5f0f<\/strong>\uff1a\u5e73\u53f0\u6db5\u76d6\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u7684\u5404\u73af\u8282\uff0c\u5305\u62ec\u6570\u636e\u63a5\u5165\u3001\u6570\u636e\u52a0\u5de5\u3001\u6570\u636e\u5206\u53d1\u548c\u6570\u636e\u670d\u52a1\u5316\u3002\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u6e90\u7ba1\u7406\uff0c\u521b\u5efa\u6570\u636e\u63a5\u5165\u4efb\u52a1\u5c06\u5404\u79cd\u6570\u636e\u6e90\u5bfc\u5165\u5230\u5927\u6570\u636e\u7cfb\u7edf\u4e2d\uff1b\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u667a\u80fd IDE \u7f16\u5199\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03 ETL \u4efb\u52a1\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5de5\u5904\u7406\uff0c\u4ea7\u751f\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b\u7528\u6237\u8fd8\u53ef\u4ee5\u521b\u5efa\u6570\u636e\u5206\u53d1\u4efb\u52a1\uff0c\u5c06\u9ad8\u4ef7\u503c\u6570\u636e\u5206\u53d1\u5230\u5176\u5b83\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u4f8b\u5982\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u975e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u7f13\u5b58\u7cfb\u7edf\u3001OLAP \u5f15\u64ce\u7b49\u3002\u7528\u6237\u4e5f\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u914d\u7f6e\u7684\u65b9\u5f0f\u521b\u5efa\u670d\u52a1\u5316 API\uff0c\u4e3a\u7ebf\u4e0a\u7cfb\u7edf\u63d0\u4f9b\u670d\u52a1\u3002<\/li>\u901a\u7528<\/strong>\uff1a\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u80fd\u7edf\u4e00\u8fd0\u7ef4 Kwaiflow \u6240\u6709\u4efb\u52a1\uff0c\u5305\u62ec\u4efb\u52a1\u8fd0\u7ef4\u3001\u5b9e\u4f8b\u8fd0\u7ef4\u3001\u94fe\u8def\u8fd0\u7ef4\u7b49\u65b9\u5f0f\uff0c\u9002\u5408\u6570\u636e\u5f00\u53d1\u3001\u5b9a\u65f6\u8c03\u5ea6\u3001\u89e6\u53d1\u5f0f\u8c03\u5ea6\u7b49\u573a\u666f\u3002<\/li>\u667a\u80fd<\/strong>\uff1a\u5728\u5f00\u53d1\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd IDE\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4ee3\u7801\u95ee\u9898\uff1b\u5728\u8fd0\u7ef4\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd\u76d1\u63a7\u3001\u667a\u80fd\u8bca\u65ad\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4efb\u52a1\u548c\u94fe\u8def\u95ee\u9898\uff0c\u5e76\u8f85\u52a9\u5b9a\u4f4d\u95ee\u9898\u539f\u56e0\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8981\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u4e0d\u4ec5\u8981\u6709\u5f3a\u5927\u7684\u81ea\u8eab\u80fd\u529b\uff0c\u66f4\u8981\u6709\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\u3002\u5728\u5feb\u624b\uff0cKwaiflow \u548c\u5927\u6570\u636e\u7684\u5176\u5b83\u7cfb\u7edf\u6df1\u5ea6\u96c6\u6210\uff0c\u63a5\u5165\u4e86 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u4fbf\u6377\u5730\u4f7f\u7528\u5176\u5b83\u5927\u6570\u636e\u7cfb\u7edf\u7684\u80fd\u529b\u3002\u53ef\u4ee5\u8bf4\uff0c\u81ea\u8eab\u80fd\u529b\u548c\u751f\u6001\u4f53\u7cfb\u5bf9 Kwaiflow \u6765\u8bf4\u540c\u7b49\u91cd\u8981\u3002<\/p>\n\n\n\n\u9996\u5148\uff0c\u5c31\u81ea\u8eab\u800c\u8a00\uff0cKwaiflow \u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u6267\u884c\u80fd\u529b\u3002\u5305\u62ec\u591a\u573a\u666f\u8c03\u5ea6\u80fd\u529b\u3001\u591a\u6837\u5316\u7684\u6267\u884c\u80fd\u529b\u3001\u6613\u7528\u7684\u8fd0\u7ef4\u80fd\u529b\u548c\u9ad8\u53ef\u7528\u7684\u7279\u6027\u3002<\/p>\n\n\n\n\u5176\u6b21\uff0cKwaiflow \u5177\u6709\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\u3002\u63a5\u5165 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u65b9\u4fbf\u5730\u4f7f\u7528\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\u3002<\/p>\n\n\n\n\u6700\u540e\uff0cKwaiflow \u65e0\u7f1d\u96c6\u6210\u4e86\u5176\u5b83\u4e2d\u53f0\u80fd\u529b\u3002\u5305\u62ec\u6570\u636e\u8d28\u91cf\u3001\u6570\u636e\u5b89\u5168\u4f53\u7cfb\u3001\u5b8c\u6574\u51c6\u786e\u7684\u4efb\u52a1\u5b9e\u4f8b\u8840\u7f18\u3001\u94fe\u8def\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5c06\u4ece\u6027\u80fd\u3001\u529f\u80fd\u548c\u4f7f\u7528\u60c5\u51b5\u4e09\u4e2a\u65b9\u9762\u4ecb\u7ecd Kwaiflow \u7684\u6210\u679c\u3002<\/p>\n\n\n\n\u5728\u6027\u80fd\u65b9\u9762<\/strong>\uff0c\u548c Airflow \u76f8\u6bd4\uff0c\u6709\u6781\u5927\u7684\u63d0\u5347\uff1a<\/p>\n\n\n\n\u5728\u89c4\u6a21\u4e0a\uff0cKwaiflow \u521d\u7248\u8bbe\u8ba1\u5bb9\u91cf\u4e3a\u767e\u4e07\u7ea7\u522b\u4efb\u52a1\uff0c\u5f53\u524d\u5df2\u6709\u6570\u5341\u4e07\u7684\u4efb\u52a1\u6570\uff0c\u548c Airflow \u5355\u96c6\u7fa4\u4e0d\u8d85\u8fc7 1 \u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\u3002<\/li>\u5728\u6027\u80fd\u4e0a\uff0cKwaiflow \u8c03\u5ea6\u9ad8\u5cf0\u671f\u7684\u8c03\u5ea6\u5ef6\u8fdf P99 \u5c0f\u4e8e 5 \u79d2\uff0c\u548c Airflow 5 \u5206\u949f\u76f8\u6bd4\uff0c\u6709\u6570\u91cf\u7ea7\u7684\u63d0\u5347\uff1bKwaiflow \u8d77\u8c03\u901f\u7387\u5341\u6570\u4e07\u6bcf\u5206\u949f\uff0c\u548c Airflow \u6570\u5343\u6bcf\u5206\u949f\u5bf9\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\uff1bKwaiflow \u8fd0\u884c\u7684\u5e76\u53d1\u5b9e\u4f8b\u6570\u5341\u6570\u4e07\u4e07\uff0c\u548c Airflow \u5c0f\u4e8e1\u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u5341\u6570\u500d\u3002<\/li>\u5728\u7a33\u5b9a\u6027\u4e0a\uff0cKwaiflow \u53ef\u7528\u6027\u4e3a 99.99%\uff0c Airflow \u5219\u4e3a 99.5%\uff1bKwaiflow \u5e74\u6545\u969c\u6570\u7ea6 1 \u4e2a\uff0c\u800c Airflow \u5e74\u5747\u4e3a 8 \u4e2a\u3002<\/li><\/ul>\n\n\n\n\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5728\u8c03\u5ea6\u6a21\u578b\u4e0a\uff0cKwaiflow \u91c7\u7528\u4e86\u4e24\u5c42\u5b9e\u4f53\u7684\u8c03\u5ea6\u6a21\u578b\uff1a<\/p>\n\n\n\n
\u5728\u4f9d\u8d56\u5173\u7cfb\u65b9\u9762\uff0cDAG \u4e4b\u95f4\u53ef\u4ee5\u76f8\u4e92\u4f9d\u8d56\uff0c\u65e2\u53ef\u4ee5\u540c\u5468\u671f\u4f9d\u8d56\uff0c\u4e5f\u53ef\u4ee5\u8de8\u5468\u671f\u4f9d\u8d56\uff0c\u8fd8\u53ef\u4ee5\u6709\u4f9d\u8d56\u504f\u79fb\u3002DAG \u5185\u7684 Task \u4e4b\u95f4\u4e5f\u53ef\u4ee5\u4f9d\u8d56\uff0c\u7531\u4e8e\u4ed6\u4eec\u8c03\u5ea6\u5c5e\u6027\u4e00\u81f4\uff0c\u6240\u4ee5\u90fd\u4e3a\u540c\u5468\u671f\u4f9d\u8d56\u3002<\/p>\n\n\n\n
\u4e00\u822c\u6765\u8bb2\uff0c\u5e38\u89c1\u7684\u8c03\u5ea6\u6a21\u578b\u9664\u4e86\u53cc\u5c42\u5b9e\u4f53\u6a21\u578b\u5916\uff0c\u8fd8\u6709\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u3002\u5355\u5c42\u5b9e\u4f53\u6a21\u578b\u6ca1\u6709 DAG \u7684\u6982\u5ff5\uff0c\u53ea\u6709 Task\uff0cTask \u5177\u6709\u8c03\u5ea6\u5c5e\u6027\uff0cTask \u4e4b\u95f4\u76f8\u4e92\u4f9d\u8d56\u3002\u4e24\u79cd\u6a21\u578b\u5404\u6709\u4f18\u52a3\u3002\u53cc\u5c42\u6a21\u578b\u66f4\u9002\u5408\u5feb\u624b\u7684\u60c5\u51b5\uff0c\u5177\u6709\u66f4\u5f3a\u7684\u8868\u8fbe\u529b\uff0c\u4f7f\u7528\u573a\u666f\u66f4\u5e7f\u6cdb\uff0c\u5f53\u7136\u4e5f\u5177\u6709\u4e00\u5b9a\u7684\u590d\u6742\u6027\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5728\u7cfb\u7edf\u67b6\u6784\u4e0a\uff1a<\/p>\n\n\n\nAPI Server \u63d0\u4f9b\u5404\u5f0f\u5404\u6837\u7684\u63a5\u53e3\uff0c\u8d1f\u8d23\u7edf\u4e00\u63a5\u5165\u3002<\/li>Scheduler \u8d1f\u8d23\u8c03\u5ea6\uff0c\u4e0d\u540c\u7684\u8c03\u5ea6\u573a\u666f\u4f1a\u6709\u4e0d\u540c\u7c7b\u578b\u7684\u8c03\u5ea6\u5668\uff0c\u5305\u62ec\u4f8b\u884c\u3001\u89e6\u53d1\u5f0f\u3001\u8865\u6570\u636e\u3001\u963b\u65ad\u8c03\u5ea6\u5668\u3002\u5728\u4f8b\u884c\u8c03\u5ea6\u5668\u4e2d\uff0c\u4efb\u52a1\u5b9e\u4f8b\u751f\u6210\u540e\uff0c\u4f1a\u4f9d\u6b21\u7ecf\u8fc7\u5b9a\u65f6\u68c0\u6d4b\u3001\u4f9d\u8d56\u68c0\u6d4b\u548c\u8d44\u6e90\u68c0\u6d4b\u3002\u5982\u679c\u90fd\u901a\u8fc7\uff0c\u4f1a\u63d0\u4ea4\u5230 Queue Service \u4e2d\u3002<\/li>Queue Service \u4e3a\u5e26 ack \u673a\u5236\u7684\u6d88\u606f\u961f\u5217\u670d\u52a1\uff0c\u4f1a\u6709\u4e0d\u540c\u7684 channel\uff0c\u4ee5\u4fbf\u9694\u79bb\u4efb\u52a1\u3002<\/li>Worker \u8d1f\u8d23\u4efb\u52a1\u7684\u6267\u884c\uff0c\u4ece\u5c5e\u4e00\u4e2a worker \u5206\u7ec4\u3002\u4e0d\u540c\u5206\u7ec4\u7684 Worker \u6d88\u8d39 Queue Service \u4e2d\u4e0d\u540c Channel \u7684\u4efb\u52a1\uff0c\u6839\u636e\u4e0d\u540c\u7684\u4efb\u52a1\u7c7b\u578b\u8fdb\u884c\u6267\u884c\u3002\u6267\u884c\u5206\u4e3a\u672c\u5730\u6267\u884c\u548c\u5bb9\u5668\u5316\u6267\u884c\u4e24\u79cd\u65b9\u5f0f\uff0c\u672c\u5730\u6267\u884c\u662f\u6307\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u5185\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\uff1b\u5177\u6709\u542f\u52a8\u5feb\u7684\u7279\u70b9\uff1b\u5bb9\u5668\u5316\u6267\u884c\u662f\u6307\u5728 k8s \u8fdc\u7a0b\u6267\u884c\u7528\u6237\u4ee3\u7801\uff0c\u5177\u6709\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\u7684\u7279\u70b9\u3002<\/li><\/ul>\n\n\n\n\u9664\u6b64\u4e4b\u5916\uff0c\u8fd8\u6709\u5176\u5b83\u5173\u952e\u6a21\u5757\uff0c\u5305\u62ec\u65e5\u5fd7\u670d\u52a1\u3001\u62a5\u8b66\u670d\u52a1\u3001\u4e8b\u4ef6\u670d\u52a1\u3001\u5b9e\u4f8b\u8840\u7f18\u670d\u52a1\u7b49\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5173\u952e\u6280\u672f<\/strong><\/p>\n\n\n\n1. \u5173\u952e\u6280\u672f\uff1a\u4f4e\u8c03\u5ea6\u5ef6\u8fdf<\/h1>\n\n\n\n\u8c03\u5ea6\u5ef6\u8fdf\u662f\u6307\u7406\u8bba\u8d77\u8c03\u65f6\u523b\u5230\u5b9e\u9645\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\u7684\u65f6\u95f4\u5dee\u3002\u8c03\u5ea6\u5ef6\u8fdf\u662f\u8861\u91cf\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6027\u80fd\u7684\u91cd\u8981\u6307\u6807\u4e4b\u4e00\uff0c\u8be5\u6307\u6807\u8d8a\u5c0f\u8d8a\u597d\u3002<\/p>\n\n\n\n\u4efb\u52a1\u5b9e\u4f8b\u4ece\u751f\u6210\uff0c\u5230\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\uff0c\u9700\u8981\u7ecf\u8fc7\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\u3001\u7b49\u5f85\u4f9d\u8d56\u5c31\u7eea\u3001\u7b49\u5f85\u8d44\u6e90\u5c31\u7eea\u548c\u51c6\u5907\u8fd0\u884c\u73af\u5883\u56db\u4e2a\u9636\u6bb5\u3002\u8981\u6709\u8f83\u5c0f\u7684\u8c03\u5ea6\u5ef6\u8fdf\uff0c\u5c31\u9700\u8981\u51cf\u5c11\u5404\u4e2a\u9636\u6bb5\u7684\u7cfb\u7edf\u65f6\u95f4\u635f\u8017\u3002\u8c03\u5ea6\u5ef6\u8fdf\u7684\u4e3b\u8981\u56e0\u7d20\u4e0e\u5904\u7406\u65b9\u6848\u6709\uff1a<\/p>\n\n\n\n\u5b9a\u65f6\u5668<\/strong>\u3002\u5b9a\u65f6\u5668\u5728\u63a2\u6d4b\u65f6\u95f4\u5c31\u7eea\u73af\u8282\u8d77\u4f5c\u7528\uff0c\u4e00\u4e2a\u7cbe\u51c6\u7684\u3001\u652f\u6301\u767e\u4e07\u7ea7\u522b\u9ad8\u541e\u5410\u7684\u5b9a\u65f6\u5668\uff0c\u5bf9\u4f4e\u8c03\u5ea6\u5ef6\u8fdf\u81f3\u5173\u91cd\u8981\u3002\u4f18\u79c0\u7684\u5b9a\u65f6\u5668\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u6570\u636e\u5e93\u8bbf\u95ee<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d1\u751f\u53d8\u66f4\u540e\uff0c\u9700\u8981\u5bf9\u72b6\u6001\u8fdb\u884c\u6301\u4e45\u5316\u3002\u901a\u8fc7\u7d22\u5f15\u3001\u8bfb\u5199\u5206\u79bb\u3001\u5206\u5e93\u5206\u8868\u7b49\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5c06\u5355\u6b21\u6570\u636e\u5e93\u8bbf\u95ee\u8017\u65f6\u63a7\u5236\u5728 1 ~ 3ms\uff0c\u603b\u4f53\u8017\u65f6\u63a7\u5236\u5728 10ms \u5de6\u53f3 \u3002<\/li>\u72b6\u6001\u8f6c\u53d8<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u81ea\u751f\u6210\u5230\u8fd0\u884c\u7ed3\u675f\uff0c\u4f1a\u7ecf\u5386\u591a\u6b21\u72b6\u6001\u8f6c\u53d8\u3002\u72b6\u6001\u8f6c\u53d8\u9ad8\u6548\u4e0e\u5426\u662f\u8c03\u5ea6\u5ef6\u8fdf\u7684\u91cd\u8981\u56e0\u7d20\u3002\u4e00\u822c\u6765\u8bf4\u6709\u4e24\u79cd\u529e\u6cd5\uff1a\u8f6e\u8be2\u4e0e\u4e8b\u4ef6\u89e6\u53d1\u3002\u6211\u4eec\u91c7\u7528\u7684\u662f\u4e8b\u4ef6\u89e6\u53d1\u65b9\u5f0f\uff0c\u7b2c\u4e00\u65f6\u95f4\u611f\u77e5\u72b6\u6001\u8f6c\u53d8\u3002\u901a\u8fc7\u4e8b\u4ef6\u89e6\u53d1\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u8fd0\u884c\u73af\u5883\u51c6\u5907<\/strong>\u3002\u8fd9\u4e2a\u73af\u8282\u4e3b\u8981\u5de5\u4f5c\u5305\u62ec\u52a0\u8f7d\u955c\u50cf\u3001\u521d\u59cb\u5316\u8fd0\u884c\u73af\u5883\u7b49\u3002\u6211\u4eec\u4e3b\u8981\u91c7\u7528\u4e86\u9884\u52a0\u8f7d\u548c\u955c\u50cf\u9884\u70ed\u6280\u672f\u3002\u4e0d\u540c\u7684\u8fd0\u884c\u73af\u5883\uff0c\u65f6\u95f4\u635f\u8017\u4e0d\u4e00\u6837\uff0c\u4f1a\u5728\u4e9a\u79d2\u5230\u5206\u949f\u4e0d\u7b49\u3002<\/li><\/ul>\n\n\n\n\u8fd9\u56db\u4e2a\u56e0\u7d20\u4e2d\uff0c\u540e\u4e24\u8005\u76f8\u5bf9\u8f83\u590d\u6742\uff0c\u63a5\u4e0b\u6765\u7740\u91cd\u4ecb\u7ecd\u72b6\u6001\u8f6c\u53d8\u548c\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e24\u90e8\u5206\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u9996\u5148\u770b\u72b6\u6001\u8f6c\u53d8\u8fd9\u4e2a\u56e0\u7d20\u3002\u4efb\u52a1\u4ece\u53d1\u5e03\uff0c\u5230\u8c03\u5ea6\u6267\u884c\u5b8c\u6210\uff0c\u4f1a\u7ecf\u5386\u6570\u6b21\u6216\u8005\u5341\u6570\u6b21\u72b6\u6001\u53d8\u5316\u3002\u5982\u4f55\u8fdb\u884c\u5feb\u901f\u9ad8\u6548\u5730\u72b6\u6001\u8f6c\u53d8\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u95ee\u9898\u3002Kwaiflow \u7684\u89e3\u51b3\u529e\u6cd5\u662f\u91c7\u7528 Akka actor\u3002\u5145\u5206\u5229\u7528\u4e86 akka actor \u9ad8\u6027\u80fd\u7279\u70b9\u3002<\/p>\n\n\n\n\u5177\u4f53\u6765\u8bb2\uff1a<\/p>\n\n\n\n1. Kwaiflow \u7684\u4efb\u52a1\u4ece API Server \u53d1\u5e03\u540e\uff0c\u7ecf\u8fc7 Entry Actor \u52a0\u8f7d\u5230 DagLoader Actors \u4e2d\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\uff1b<\/p>\n\n\n\n2. \u5728\u65f6\u95f4\u5c31\u7eea\u540e\uff0c\u7531 Instance Generator Actors \u751f\u6210\u4efb\u52a1\u5b9e\u4f8b\uff0c\u7136\u540e\u8fdb\u5165 Dependency Detector Actor \u63a2\u6d4b\u4e0a\u6e38\u4f9d\u8d56\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n3. \u5728\u4f9d\u8d56\u5c31\u7eea\u540e\uff0c\u8fdb\u5165 Resource Detector Actor \u63a2\u6d4b\u8d44\u6e90\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n4. \u5728\u8d44\u6e90\u5c31\u7eea\u540e\uff0c\u4efb\u52a1\u5b9e\u4f8b\u901a\u8fc7 Queue Service \u4e0b\u53d1\u5230 worker \u4e2d\u3002<\/p>\n\n\n\n5. \u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u88ab\u63a5\u6536\u540e\uff0c\u5c06\u4f1a\u7531 Processor Actor \u6267\u884c\uff0c\u6267\u884c\u524d\u540e\u4f1a\u4f9d\u6b21\u7ecf\u5386\u4ee3\u7801\u6e32\u67d3\u3001Prehook\u3001\u4ee3\u7801\u6267\u884c\u3001Posthook \u56db\u4e2a\u6b65\u9aa4\u3002<\/p>\n\n\n\n6. \u5982\u679c\u6267\u884c\u6210\u529f\uff0c\u5219\u6d41\u7a0b\u7ec8\u6b62\uff1b\u5982\u679c\u6267\u884c\u5931\u8d25\uff0cPosthook \u4f1a\u5c06\u4fe1\u606f\u901a\u8fc7 Processor Actor\u3001ResultHandlerActor \u4f20\u9012\u7ed9 scheduler \u7684 RetryerActor \u8fdb\u884c\u91cd\u8bd5\u64cd\u4f5c\u3002<\/p>\n\n\n\n\u6574\u4e2a\u6d41\u7a0b\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u5168\u6d41\u7a0b\u4e8b\u4ef6\u89e6\u53d1<\/strong>\uff1a\u65e0\u8f6e\u8be2\uff0c\u4efb\u52a1\u53d1\u5e03\u3001\u8c03\u5ea6\u3001\u6267\u884c\u3001\u91cd\u8bd5\uff0c\u5747\u4e3a\u4e8b\u4ef6\u89e6\u53d1\u3002<\/li>\u9ad8\u541e\u5410<\/strong>\uff1a\u91c7\u7528\u5f02\u6b65\u5e76\u53d1\u7684\u65b9\u5f0f\uff0c\u80fd\u5feb\u901f\u8c03\u8d77\u5927\u91cf\u4efb\u52a1\u5b9e\u4f8b<\/li>\u7b80\u5355\u6613\u7528<\/strong>\uff1a\u65e0\u9700\u4f7f\u7528\u5e95\u5c42 API \u8fdb\u884c\u9501\u548c\u7ebf\u7a0b\u7ba1\u7406\uff0c\u4e13\u6ce8\u4e1a\u52a1\u5b9e\u73b0\u3002<\/li><\/ul>\n\n\n\n\u91c7\u7528 actor\uff0c\u72b6\u6001\u8f6c\u53d8\u5bfc\u81f4\u7684\u65f6\u95f4\u635f\u8017\u63a7\u5236\u5728\u6beb\u79d2\u7ea7\u522b\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u63a5\u4e0b\u6765\u6211\u4eec\u770b\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e2a\u56e0\u7d20\u3002\u8fd9\u548c\u6267\u884c\u573a\u666f\u6709\u5173\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e0d\u540c\u7684\u6267\u884c\u573a\u666f\uff0cKwaiflow \u63d0\u4f9b\u4e86\u4e24\u79cd\u6267\u884c\u65b9\u5f0f\uff1a\u5bb9\u5668\u5316\u6267\u884c\u548c\u672c\u5730\u6267\u884c\u3002<\/p>\n\n\n\n\u5bb9\u5668\u5316\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u6bcf\u6b21\u6267\u884c\u524d\uff0c\u5728 k8s \u6309\u9700\u7533\u8bf7\u5bb9\u5668\u8d44\u6e90\uff0c\u5728\u5bb9\u5668\u4e2d\u6267\u884c\u4efb\u52a1\u5b9e\u4f8b\uff0c\u6267\u884c\u5b8c\u540e\uff0c\u53ca\u65f6\u91ca\u653e\u5bb9\u5668\u8d44\u6e90\u3002\u4f18\u70b9\u662f\u5b9e\u73b0\u4e86\u6267\u884c\u65f6\u7684\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\uff1b\u7f3a\u70b9\u662f\u6bcf\u6b21\u90fd\u9700\u8981\u7533\u8bf7\u548c\u521d\u59cb\u5316\u5bb9\u5668\u8d44\u6e90\uff0c\u542f\u52a8\u8017\u65f6\u957f\u3002\u5bb9\u5668\u5316\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Bash \u4efb\u52a1\u3002\u4e3a\u4e86\u51cf\u5c11\u5bb9\u5668\u5316\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\uff0c\u6211\u4eec\u5c06\u955c\u50cf\u5206\u4e3a\u81ea\u5b9a\u4e49\u955c\u50cf\u548c\u901a\u7528\u955c\u50cf\uff0c\u5bf9\u901a\u7528\u955c\u50cf\u8fdb\u884c\u9884\u70ed\uff0c\u63d0\u524d\u5206\u53d1\u5230\u673a\u5668\u4e2d\uff0c\u51cf\u5c11\u955c\u50cf\u4e0b\u8f7d\u8017\u65f6\u3002\u901a\u8fc7\u955c\u50cf\u9884\u70ed\uff0c\u53ef\u4ee5\u5c06\u542f\u52a8\u8017\u65f6\u4ece\u5206\u949f\u7ea7\u964d\u4f4e\u5230\u79d2\u7ea7\u3002<\/li>\u672c\u5730\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u673a\u4e2d\uff0c\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\u3002\u540c\u4e00\u4e2a worker \u673a\u4e2d\u7684\u6240\u6709\u4efb\u52a1\u5b9e\u4f8b\u5171\u4eab\u8ba1\u7b97\u8d44\u6e90\u548c\u6267\u884c\u73af\u5883\u3002\u4f18\u70b9\u662f\u542f\u52a8\u8017\u65f6\u77ed\uff0coverhead \u5c0f\uff1b\u7f3a\u70b9\u662f\u8d44\u6e90\u548c\u73af\u5883\u4e0d\u9694\u79bb\uff0c\u4e00\u4e2a\u4efb\u52a1\u5b9e\u4f8b\u6267\u884c\u5f02\u5e38\u6709\u53ef\u80fd\u5bfc\u81f4\u6574\u4e2a worker \u673a crash\u3002\u672c\u5730\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u4e0d\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Hive \u548c Sensor \u4efb\u52a1\u3002\u672c\u5730\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\u4e00\u822c\u5728\u4e9a\u79d2\u7ea7\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n2. \u5173\u952e\u6280\u672f\uff1a\u9ad8\u53ef\u7528<\/h1>\n\n\n\n\u9ad8\u53ef\u7528\u5bf9\u8c03\u5ea6\u7cfb\u7edf\u6765\u8bf4\u975e\u5e38\u91cd\u8981\u3002\u4e3a\u4e86\u4fdd\u969c Kwaiflow \u7684\u9ad8\u53ef\u7528\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e24\u65b9\u9762\u8fdb\u884c\u8003\u8651\uff1a\u7cfb\u7edf\u8bbe\u8ba1\u548c\u6545\u969c\u53d1\u73b0\u5904\u7406\u3002\u5728\u7cfb\u7edf\u8bbe\u8ba1\u4e0a\uff0cKwaiflow \u53ef\u4ee5\u505a\u5230\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5373\u4efb\u52a1\u5b9e\u4f8b\u5728\u590d\u6742\u73af\u5883\u4e2d Exactly Once \u6267\u884c\uff0c\u505a\u5230\u4e0d\u6f0f\uff0c\u4e14\u5c3d\u91cf\u4e0d\u91cd\u3002<\/p>\n\n\n\n\u5bf9\u4e8e\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5e38\u89c1\u7684\u6545\u969c\u573a\u666f\u5305\u62ec\u7ec4\u4ef6\u6545\u969c\u6216\u8005\u7ec4\u4ef6\u5931\u8054\u3002\u4f8b\u5982 scheduler crash\u3001\u5bb9\u5668\u5316\u4efb\u52a1\u4e0e worker \u5931\u8054\u7b49\u3002<\/p>\n\n\n\n\u4e3a\u4e86\u8fbe\u5230\u9ad8\u53ef\u9760\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e09\u65b9\u9762\u8003\u8651\uff1a<\/p>\n\n\n\nFailover \u673a\u5236\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u548c\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\uff0c\u6765\u5b9e\u73b0\u7ec4\u4ef6\u7684\u81ea\u52a8\u5bb9\u9519\u3002\u4f8b\u5982 Kwaiflow \u91c7\u7528\u4e3b\u5907 Master\uff0c\u591a worker \u7684\u8bbe\u8ba1\u6765\u907f\u514d\u5355\u70b9\u95ee\u9898\uff1b\u5404\u4e2a\u7ec4\u4ef6\u4e4b\u95f4\u91c7\u7528\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\u6765\u907f\u514d\u5931\u8054\u95ee\u9898\u3002\u534f\u8bae\u5305\u62ec scheduler Executor \u901a\u4fe1\u534f\u8bae\u3001Executor Runner \u901a\u4fe1\u534f\u8bae\u3001External Job \u901a\u4fe1\u534f\u8bae\u3002\u53f3\u56fe\u5c55\u793a\u4e86 Executor Runner \u901a\u4fe1\u534f\u8bae\u7684\u4e3b\u8981\u6d41\u7a0b\uff0c\u534f\u8bae\u89c4\u5b9a\u4e86\u4efb\u52a1\u63d0\u4ea4\u3001\u6b63\u5e38\u6267\u884c\u3001\u5f02\u5e38\u6267\u884c\u3001\u901a\u4fe1\u5931\u8054\u7684\u5904\u7406\u529e\u6cd5\uff0c\u4e0d\u4f9d\u8d56\u5916\u90e8\u7cfb\u7edf\u7684\u72b6\u6001\u3002<\/li>\u907f\u514d\u9057\u6f0f\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u6d88\u606f ack \u673a\u5236\uff0c\u4fdd\u969c\u6d88\u606f\u4e0d\u4e22\u5931\uff1b\u540c\u65f6\u901a\u8fc7\u5b9a\u671f\u515c\u5e95\u5de1\u68c0\uff0c\u4fdd\u969c\u4efb\u52a1\u5b9e\u4f8b\u4e0d\u9057\u6f0f\u3002<\/li>\u907f\u514d\u91cd\u590d\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u72b6\u6001\u673a\u8f6c\u79fb\u56fe\uff0c\u907f\u514d\u4e0d\u5408\u7406\u72b6\u6001\u8f6c\u53d8\uff1b\u540c\u65f6\u901a\u8fc7\u91cd\u8bd5\u524d\u6e05\u7406\u524d\u4e00\u4e2a\u5b9e\u4f8b\uff0c\u907f\u514d\u91cd\u590d\u6267\u884c\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u9ad8\u53ef\u7528\u65b9\u9762\uff0c\u8fd8\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u7cfb\u7edf\u8bbe\u8ba1\u662f\u5206\u7ea7\u4fdd\u969c\u3002\u5feb\u624b\u5728\u8fdb\u884c\u5927\u578b\u6d3b\u52a8\u4f8b\u5982\u6625\u8282\u3001\u5965\u8fd0\u65f6\uff0c\u6574\u4f53\u6570\u636e\u91cf\u5927\u5e45\u5ea6\u589e\u957f\uff0c\u5c40\u90e8\u6570\u636e\u5448\u6570\u500d\u589e\u957f\u3002\u4f46\u8ba1\u7b97\u8d44\u6e90\u662f\u6709\u9650\u7684\uff0c\u8ba1\u7b97\u8d44\u6e90\u7684\u589e\u957f\u5f80\u5f80\u4e0d\u80fd\u5339\u914d\u6570\u636e\u91cf\u7684\u589e\u957f\uff0c\u4e0d\u80fd\u8ba9\u6240\u6709\u7684\u4efb\u52a1\u548c\u5f80\u5e38\u4e00\u6837\u6309\u65f6\u4ea7\u51fa\u3002\u8fd9\u65f6\u5019\u6211\u4eec\u5c31\u9700\u8981\u8fdb\u884c\u5206\u7ea7\u4fdd\u969c\u3002<\/p>\n\n\n\n\u6240\u8c13\u5206\u7ea7\u4fdd\u969c\uff0c\u5c31\u662f\u5728\u8d44\u6e90\u6709\u9650\u7684\u60c5\u51b5\u4e0b\uff0c\u8ba9\u9ad8\u4f18\u4efb\u52a1\u5f97\u5230\u7279\u6743\uff0c\u4f18\u5148\u5f97\u5230\u6267\u884c\uff0c\u4f18\u5148\u83b7\u5f97\u5145\u8db3\u7684\u4f18\u8d28\u8d44\u6e90\uff0c\u4fdd\u969c\u4ea7\u51fa\u65f6\u95f4\uff1b\u800c\u4f4e\u4f18\u4efb\u52a1\u5219\u4f1a\u88ab\u5ef6\u8fdf\u8c03\u5ea6\u6267\u884c\uff0c\u5206\u914d\u66f4\u5c11\u7684\u8d44\u6e90\u3002<\/p>\n\n\n\n\u5728\u5feb\u624b\uff0c\u6574\u4e2a\u79bb\u7ebf\u4f53\u7cfb\uff0c\u5305\u62ec Kwaiflow\u3001Hive\u3001Yarn\u3001HDFS \u7b49\uff0c\u90fd\u5177\u6709\u5206\u7ea7\u4fdd\u969c\u7684\u80fd\u529b\u3002\u8fd9\u91cc\u4ecb\u7ecd Kwaiflow \u7684\u5206\u7ea7\u4fdd\u969c\u80fd\u529b\uff0c\u5305\u62ec\u4e09\u65b9\u9762\uff1a<\/p>\n\n\n\nKwaiflow \u8c03\u5ea6\u5668\u5177\u6709\u5206\u7ea7\u8c03\u5ea6\u7684\u80fd\u529b<\/strong>\u3002Kwaiflow \u8c03\u5ea6\u5668\u80fd\u611f\u77e5\u5230\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u7684\u72b6\u6001\uff0c\u5728\u8d44\u6e90\u4e0d\u8db3\u65f6\uff0cKwaiflow \u4efb\u52a1\u4f1a\u5728\u8c03\u5ea6\u5668\u6392\u961f\uff0c\u9ad8\u4f18\u4efb\u52a1\u6392\u5728\u524d\u9762\uff0c\u4f4e\u4f18\u4efb\u52a1\u6392\u5728\u540e\u9762\uff1b\u5f53\u8d44\u6e90\u5f97\u5230\u91ca\u653e\u65f6\uff0c\u9ad8\u4f18\u4efb\u52a1\u4f18\u5148\u88ab\u8c03\u5ea6\u3002<\/li>Kwaiflow \u7684\u6267\u884c\u5668\u6309\u7167\u4e0d\u540c\u4f18\u5148\u7ea7\u8fdb\u884c\u5206\u7ec4<\/strong>\u3002\u5305\u62ec\u4e09\u7ec4\uff1aP0 \u6267\u884c\u5668\u7ec4\u3001P1 \u6267\u884c\u5668\u7ec4\u4ee5\u53ca P2 P3 \u6267\u884c\u5668\u7ec4\u3002P0 \u6267\u884c\u5668\u7528\u4e8e\u6267\u884c\u6700\u9ad8\u4f18\u5148\u7ea7\u7684 P0 \u4efb\u52a1\uff0c\u5177\u6709\u5145\u8db3\u7684 worker\uff0cP0 \u4efb\u52a1\u5b9e\u4f8b\u57fa\u672c\u4e0d\u4f1a\u5728\u6267\u884c\u5668\u5c42\u88ab\u9650\u5236\u3002\u5bf9\u4e8e P2 P3 \u5206\u7ec4\uff0c\u5728\u8c03\u5ea6\u9ad8\u5cf0\u671f\uff0c\u4efb\u52a1\u5b9e\u4f8b\u5f88\u591a\u65f6\uff0c\u53ef\u80fd\u5b58\u5728\u6392\u961f\u6267\u884c\u7684\u60c5\u51b5\u3002<\/li>Kwaiflow \u5177\u6709\u8f83\u5f3a\u7684\u4eba\u5de5\u7ba1\u63a7\u80fd\u529b<\/strong>\uff0c\u53ef\u4ee5\u4eba\u4e3a\u5730\u5141\u8bb8\u6216\u8005\u963b\u65ad\u67d0\u4e9b\u4efb\u52a1\u7684\u8c03\u5ea6\u3002\u5178\u578b\u4f7f\u7528\u573a\u666f\u662f\u5728\u5927\u578b\u6d3b\u52a8\u671f\u95f4\uff0c\u53ef\u4ee5\u6839\u636e\u9884\u6848\uff0c\u5bf9\u4f4e\u4f18\u5148\u7ea7\u7684\u4efb\u52a1\u4eba\u4e3a\u8fdb\u884c\u5ef6\u8fdf\u8c03\u5ea6\uff0c\u4fdd\u969c\u8d44\u6e90\u5206\u914d\u7ed9\u9ad8\u4f18\u4efb\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u524d\u9762\u4e3b\u8981\u4ece\u7cfb\u7edf\u8bbe\u8ba1\u65b9\u9762\u4ecb\u7ecd\u4e86\u7ebf\u4e0a\u6545\u969c\u7684\u81ea\u52a8\u89c4\u907f\u3002Kwaiflow \u9ad8\u53ef\u7528\u7684\u7b2c\u4e8c\u4e2a\u65b9\u9762\u662f\u6545\u969c\u7684\u53d1\u73b0\u548c\u5904\u7406\u3002\u5982\u679c\u6545\u969c\u53d1\u73b0\u4e0d\u53ca\u65f6\u3001\u5904\u7406\u4e0d\u8fc5\u901f\uff0c\u4f1a\u51fa\u73b0\u5927\u89c4\u6a21\u7684\u8c03\u5ea6\u9519\u8bef\u6216\u8005\u8c03\u5ea6\u5ef6\u8fdf\u6545\u969c\u3002\u5728\u5feb\u624b\u8c03\u5ea6\u7cfb\u7edf\u53d1\u5c55\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u78b0\u5230\u8fc7\u8fd9\u6837\u7684\u5927\u6545\u969c\uff0c\u4e3a\u4e86\u907f\u514d\u518d\u6b21\u53d1\u751f\uff0c\u6211\u4eec\u5efa\u7acb\u4e86\u5b8c\u5907\u7684\u76d1\u63a7\u9884\u6848\u4f53\u7cfb\u3002<\/p>\n\n\n\n\u5728\u76d1\u63a7\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5206\u6210\u4f7f\u7528\u5c42\u3001\u670d\u52a1\u5c42\u3001\u4f9d\u8d56\u5c42\u4e09\u4e2a\u5c42\u6b21\uff0c\u5e76\u5212\u5206\u76d1\u63a7\u4f18\u5148\u7ea7\uff0c\u91c7\u7528\u4e0d\u540c\u7684\u54cd\u5e94\u65b9\u5f0f\u3002<\/li>\u5728\u6545\u969c\u9884\u6848\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u6709\u4e24\u7c7b\u9884\u6848\uff1a\u7cfb\u7edf\u6545\u969c\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u8c03\u5ea6\u7cfb\u7edf\u81ea\u8eab\u95ee\u9898\uff1b\u6570\u636e\u5f02\u5e38\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u94fe\u8def\u6570\u636e\u4e0d\u6b63\u786e\u7684\u95ee\u9898\u3002\u6211\u4eec\u6c89\u6dc0\u4e86\u591a\u573a\u666f\u7684\u963b\u65ad\u6062\u590d\u548c\u8865\u6570\u636e\u5de5\u5177\uff0c\u80fd\u591f\u5728\u6570\u5206\u949f\u5185\u542f\u52a8\u6570\u636e\u6062\u590d\u3002<\/li>\u5728\u6f14\u7ec3\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5b9a\u671f\u5bf9\u9884\u6848\u8fdb\u884c\u6f14\u7ec3\uff0c\u4fdd\u8bc1\u9884\u6848\u7684\u53ef\u7528\u6027\uff0c\u64cd\u4f5c\u7684\u719f\u7ec3\u6027\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n3. \u5173\u952e\u6280\u672f\uff1a\u5f00\u653e\u80fd\u529b<\/h1>\n\n\n\n\u5f00\u653e\u662f\u6570\u636e\u4e2d\u53f0\u7684\u6838\u5fc3\u7ade\u4e89\u529b\u3002\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u7ed9\u4e88\u4f7f\u7528\u8005\u81ea\u7531\u7684\u53d1\u6325\u7a7a\u95f4\uff0c\u6ee1\u8db3\u66f4\u591a\u4f7f\u7528\u573a\u666f\uff1b\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u6784\u5efa\u6570\u636e\u751f\u6001\uff0c\u63d0\u4f9b\u66f4\u4e30\u5bcc\u7684\u80fd\u529b\u3002Kwaiflow \u63d0\u4f9b\u4e86\u591a\u79cd\u5f00\u653e\u80fd\u529b\uff1a<\/p>\n\n\n\nKwaiflow \u5177\u6709\u5f00\u653e\u7684 API\uff0c\u652f\u6301\u591a\u8bed\u8a00 SDK\uff0c\u63d0\u4f9b\u4e86\u6807\u51c6\u5316\u7684\u63a5\u5165\u6d41\u7a0b\u3001\u4f7f\u7528\u624b\u518c\u548c\u63a5\u5165 demo\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u6807\u51c6\u7684\u4e8b\u4ef6\u3002\u5305\u62ec\u4efb\u52a1\u64cd\u4f5c\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d8\u66f4\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u8bca\u65ad\u4e8b\u4ef6\u7b49\u3002\u6839\u636e\u8fd9\u4e9b\u4e8b\u4ef6\uff0c\u53ef\u4ee5\u5b8c\u6574\u590d\u73b0\u51fa\u4efb\u52a1\u548c\u4efb\u52a1\u5b9e\u4f8b\u7684\u5168\u751f\u547d\u5468\u671f\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u63d2\u4ef6\u5316\u4efb\u52a1\u7c7b\u578b\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5b9a\u4e49\u548c\u5f00\u53d1\u81ea\u5b9a\u4e49\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u5e76\u8fdb\u884c\u7075\u6d3b\u6d4b\u8bd5\u3001\u7070\u5ea6\u4e0a\u7ebf\u548c\u7ba1\u7406\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86 Hook\uff0c\u53ef\u4ee5\u5728\u7528\u6237\u4ee3\u7801\u8fd0\u884c\u524d\u540e\u6267\u884c\u3002\u5305\u62ec\u6267\u884c\u524d\u7684 Prehook \u548c\u6267\u884c\u540e\u7684 Posthook\u3002\u5e38\u89c1\u573a\u666f\u5305\u62ec\u7528\u4e8e\u4ee3\u7801\u6e32\u67d3\u3001\u524d\u7f6e\u68c0\u67e5\u7684 Prehook\uff0c\u4ee5\u53ca\u7528\u4e8e\u6267\u884c\u540e\u6570\u636e\u8d28\u91cf\u68c0\u6d4b\u7684 Posthook\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u4e0e\u6210\u679c<\/strong><\/p>\n\n\n\n\u5982\u679c\u628a\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6bd4\u4f5c\u5927\u697c\u7684\u9aa8\u67b6\uff0c\u90a3\u4e48\u57fa\u4e8e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u5c31\u662f\u88c5\u4fee\u5b8c\u5584\u3001\u9002\u4e8e\u4eba\u5de5\u4f5c\u751f\u6d3b\u7684\u5927\u53a6\u3002\u901a\u8fc7\u5e94\u7528\uff0c\u80fd\u66f4\u597d\u5730\u4f53\u73b0\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4ef7\u503c\u3002\u5728\u5feb\u624b\uff0c\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4e00\u4e2a\u5178\u578b\u5e94\u7528\u3002<\/p>\n\n\n\n\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u5feb\u624b\u7684\u4e00\u7ad9\u5f0f\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u4f7f\u7528 kwaiflow \u4f5c\u4e3a\u7edf\u4e00\u7684\u7f16\u6392\u4e0e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u6784\u5efa\u4e86\u5404\u7c7b\u7684\u6570\u636e\u5f00\u53d1\u8fd0\u7ef4\u7b49\u670d\u52a1\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u67e5\u8be2\u3001\u540c\u6b65\u3001\u5f00\u53d1\u3001\u670d\u52a1\u5316\u3001\u8fd0\u7ef4\u3001\u7ba1\u7406\u7b49\u80fd\u529b\u3002<\/p>\n\n\n\n\u8be5\u5e73\u53f0\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u4e00\u7ad9\u5f0f<\/strong>\uff1a\u5e73\u53f0\u6db5\u76d6\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u7684\u5404\u73af\u8282\uff0c\u5305\u62ec\u6570\u636e\u63a5\u5165\u3001\u6570\u636e\u52a0\u5de5\u3001\u6570\u636e\u5206\u53d1\u548c\u6570\u636e\u670d\u52a1\u5316\u3002\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u6e90\u7ba1\u7406\uff0c\u521b\u5efa\u6570\u636e\u63a5\u5165\u4efb\u52a1\u5c06\u5404\u79cd\u6570\u636e\u6e90\u5bfc\u5165\u5230\u5927\u6570\u636e\u7cfb\u7edf\u4e2d\uff1b\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u667a\u80fd IDE \u7f16\u5199\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03 ETL \u4efb\u52a1\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5de5\u5904\u7406\uff0c\u4ea7\u751f\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b\u7528\u6237\u8fd8\u53ef\u4ee5\u521b\u5efa\u6570\u636e\u5206\u53d1\u4efb\u52a1\uff0c\u5c06\u9ad8\u4ef7\u503c\u6570\u636e\u5206\u53d1\u5230\u5176\u5b83\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u4f8b\u5982\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u975e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u7f13\u5b58\u7cfb\u7edf\u3001OLAP \u5f15\u64ce\u7b49\u3002\u7528\u6237\u4e5f\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u914d\u7f6e\u7684\u65b9\u5f0f\u521b\u5efa\u670d\u52a1\u5316 API\uff0c\u4e3a\u7ebf\u4e0a\u7cfb\u7edf\u63d0\u4f9b\u670d\u52a1\u3002<\/li>\u901a\u7528<\/strong>\uff1a\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u80fd\u7edf\u4e00\u8fd0\u7ef4 Kwaiflow \u6240\u6709\u4efb\u52a1\uff0c\u5305\u62ec\u4efb\u52a1\u8fd0\u7ef4\u3001\u5b9e\u4f8b\u8fd0\u7ef4\u3001\u94fe\u8def\u8fd0\u7ef4\u7b49\u65b9\u5f0f\uff0c\u9002\u5408\u6570\u636e\u5f00\u53d1\u3001\u5b9a\u65f6\u8c03\u5ea6\u3001\u89e6\u53d1\u5f0f\u8c03\u5ea6\u7b49\u573a\u666f\u3002<\/li>\u667a\u80fd<\/strong>\uff1a\u5728\u5f00\u53d1\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd IDE\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4ee3\u7801\u95ee\u9898\uff1b\u5728\u8fd0\u7ef4\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd\u76d1\u63a7\u3001\u667a\u80fd\u8bca\u65ad\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4efb\u52a1\u548c\u94fe\u8def\u95ee\u9898\uff0c\u5e76\u8f85\u52a9\u5b9a\u4f4d\u95ee\u9898\u539f\u56e0\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8981\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u4e0d\u4ec5\u8981\u6709\u5f3a\u5927\u7684\u81ea\u8eab\u80fd\u529b\uff0c\u66f4\u8981\u6709\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\u3002\u5728\u5feb\u624b\uff0cKwaiflow \u548c\u5927\u6570\u636e\u7684\u5176\u5b83\u7cfb\u7edf\u6df1\u5ea6\u96c6\u6210\uff0c\u63a5\u5165\u4e86 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u4fbf\u6377\u5730\u4f7f\u7528\u5176\u5b83\u5927\u6570\u636e\u7cfb\u7edf\u7684\u80fd\u529b\u3002\u53ef\u4ee5\u8bf4\uff0c\u81ea\u8eab\u80fd\u529b\u548c\u751f\u6001\u4f53\u7cfb\u5bf9 Kwaiflow \u6765\u8bf4\u540c\u7b49\u91cd\u8981\u3002<\/p>\n\n\n\n\u9996\u5148\uff0c\u5c31\u81ea\u8eab\u800c\u8a00\uff0cKwaiflow \u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u6267\u884c\u80fd\u529b\u3002\u5305\u62ec\u591a\u573a\u666f\u8c03\u5ea6\u80fd\u529b\u3001\u591a\u6837\u5316\u7684\u6267\u884c\u80fd\u529b\u3001\u6613\u7528\u7684\u8fd0\u7ef4\u80fd\u529b\u548c\u9ad8\u53ef\u7528\u7684\u7279\u6027\u3002<\/p>\n\n\n\n\u5176\u6b21\uff0cKwaiflow \u5177\u6709\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\u3002\u63a5\u5165 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u65b9\u4fbf\u5730\u4f7f\u7528\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\u3002<\/p>\n\n\n\n\u6700\u540e\uff0cKwaiflow \u65e0\u7f1d\u96c6\u6210\u4e86\u5176\u5b83\u4e2d\u53f0\u80fd\u529b\u3002\u5305\u62ec\u6570\u636e\u8d28\u91cf\u3001\u6570\u636e\u5b89\u5168\u4f53\u7cfb\u3001\u5b8c\u6574\u51c6\u786e\u7684\u4efb\u52a1\u5b9e\u4f8b\u8840\u7f18\u3001\u94fe\u8def\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5c06\u4ece\u6027\u80fd\u3001\u529f\u80fd\u548c\u4f7f\u7528\u60c5\u51b5\u4e09\u4e2a\u65b9\u9762\u4ecb\u7ecd Kwaiflow \u7684\u6210\u679c\u3002<\/p>\n\n\n\n\u5728\u6027\u80fd\u65b9\u9762<\/strong>\uff0c\u548c Airflow \u76f8\u6bd4\uff0c\u6709\u6781\u5927\u7684\u63d0\u5347\uff1a<\/p>\n\n\n\n\u5728\u89c4\u6a21\u4e0a\uff0cKwaiflow \u521d\u7248\u8bbe\u8ba1\u5bb9\u91cf\u4e3a\u767e\u4e07\u7ea7\u522b\u4efb\u52a1\uff0c\u5f53\u524d\u5df2\u6709\u6570\u5341\u4e07\u7684\u4efb\u52a1\u6570\uff0c\u548c Airflow \u5355\u96c6\u7fa4\u4e0d\u8d85\u8fc7 1 \u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\u3002<\/li>\u5728\u6027\u80fd\u4e0a\uff0cKwaiflow \u8c03\u5ea6\u9ad8\u5cf0\u671f\u7684\u8c03\u5ea6\u5ef6\u8fdf P99 \u5c0f\u4e8e 5 \u79d2\uff0c\u548c Airflow 5 \u5206\u949f\u76f8\u6bd4\uff0c\u6709\u6570\u91cf\u7ea7\u7684\u63d0\u5347\uff1bKwaiflow \u8d77\u8c03\u901f\u7387\u5341\u6570\u4e07\u6bcf\u5206\u949f\uff0c\u548c Airflow \u6570\u5343\u6bcf\u5206\u949f\u5bf9\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\uff1bKwaiflow \u8fd0\u884c\u7684\u5e76\u53d1\u5b9e\u4f8b\u6570\u5341\u6570\u4e07\u4e07\uff0c\u548c Airflow \u5c0f\u4e8e1\u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u5341\u6570\u500d\u3002<\/li>\u5728\u7a33\u5b9a\u6027\u4e0a\uff0cKwaiflow \u53ef\u7528\u6027\u4e3a 99.99%\uff0c Airflow \u5219\u4e3a 99.5%\uff1bKwaiflow \u5e74\u6545\u969c\u6570\u7ea6 1 \u4e2a\uff0c\u800c Airflow \u5e74\u5747\u4e3a 8 \u4e2a\u3002<\/li><\/ul>\n\n\n\n\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5728\u7cfb\u7edf\u67b6\u6784\u4e0a\uff1a<\/p>\n\n\n\n
\u9664\u6b64\u4e4b\u5916\uff0c\u8fd8\u6709\u5176\u5b83\u5173\u952e\u6a21\u5757\uff0c\u5305\u62ec\u65e5\u5fd7\u670d\u52a1\u3001\u62a5\u8b66\u670d\u52a1\u3001\u4e8b\u4ef6\u670d\u52a1\u3001\u5b9e\u4f8b\u8840\u7f18\u670d\u52a1\u7b49\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n03<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5173\u952e\u6280\u672f<\/strong><\/p>\n\n\n\n1. \u5173\u952e\u6280\u672f\uff1a\u4f4e\u8c03\u5ea6\u5ef6\u8fdf<\/h1>\n\n\n\n\u8c03\u5ea6\u5ef6\u8fdf\u662f\u6307\u7406\u8bba\u8d77\u8c03\u65f6\u523b\u5230\u5b9e\u9645\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\u7684\u65f6\u95f4\u5dee\u3002\u8c03\u5ea6\u5ef6\u8fdf\u662f\u8861\u91cf\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6027\u80fd\u7684\u91cd\u8981\u6307\u6807\u4e4b\u4e00\uff0c\u8be5\u6307\u6807\u8d8a\u5c0f\u8d8a\u597d\u3002<\/p>\n\n\n\n\u4efb\u52a1\u5b9e\u4f8b\u4ece\u751f\u6210\uff0c\u5230\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\uff0c\u9700\u8981\u7ecf\u8fc7\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\u3001\u7b49\u5f85\u4f9d\u8d56\u5c31\u7eea\u3001\u7b49\u5f85\u8d44\u6e90\u5c31\u7eea\u548c\u51c6\u5907\u8fd0\u884c\u73af\u5883\u56db\u4e2a\u9636\u6bb5\u3002\u8981\u6709\u8f83\u5c0f\u7684\u8c03\u5ea6\u5ef6\u8fdf\uff0c\u5c31\u9700\u8981\u51cf\u5c11\u5404\u4e2a\u9636\u6bb5\u7684\u7cfb\u7edf\u65f6\u95f4\u635f\u8017\u3002\u8c03\u5ea6\u5ef6\u8fdf\u7684\u4e3b\u8981\u56e0\u7d20\u4e0e\u5904\u7406\u65b9\u6848\u6709\uff1a<\/p>\n\n\n\n\u5b9a\u65f6\u5668<\/strong>\u3002\u5b9a\u65f6\u5668\u5728\u63a2\u6d4b\u65f6\u95f4\u5c31\u7eea\u73af\u8282\u8d77\u4f5c\u7528\uff0c\u4e00\u4e2a\u7cbe\u51c6\u7684\u3001\u652f\u6301\u767e\u4e07\u7ea7\u522b\u9ad8\u541e\u5410\u7684\u5b9a\u65f6\u5668\uff0c\u5bf9\u4f4e\u8c03\u5ea6\u5ef6\u8fdf\u81f3\u5173\u91cd\u8981\u3002\u4f18\u79c0\u7684\u5b9a\u65f6\u5668\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u6570\u636e\u5e93\u8bbf\u95ee<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d1\u751f\u53d8\u66f4\u540e\uff0c\u9700\u8981\u5bf9\u72b6\u6001\u8fdb\u884c\u6301\u4e45\u5316\u3002\u901a\u8fc7\u7d22\u5f15\u3001\u8bfb\u5199\u5206\u79bb\u3001\u5206\u5e93\u5206\u8868\u7b49\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5c06\u5355\u6b21\u6570\u636e\u5e93\u8bbf\u95ee\u8017\u65f6\u63a7\u5236\u5728 1 ~ 3ms\uff0c\u603b\u4f53\u8017\u65f6\u63a7\u5236\u5728 10ms \u5de6\u53f3 \u3002<\/li>\u72b6\u6001\u8f6c\u53d8<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u81ea\u751f\u6210\u5230\u8fd0\u884c\u7ed3\u675f\uff0c\u4f1a\u7ecf\u5386\u591a\u6b21\u72b6\u6001\u8f6c\u53d8\u3002\u72b6\u6001\u8f6c\u53d8\u9ad8\u6548\u4e0e\u5426\u662f\u8c03\u5ea6\u5ef6\u8fdf\u7684\u91cd\u8981\u56e0\u7d20\u3002\u4e00\u822c\u6765\u8bf4\u6709\u4e24\u79cd\u529e\u6cd5\uff1a\u8f6e\u8be2\u4e0e\u4e8b\u4ef6\u89e6\u53d1\u3002\u6211\u4eec\u91c7\u7528\u7684\u662f\u4e8b\u4ef6\u89e6\u53d1\u65b9\u5f0f\uff0c\u7b2c\u4e00\u65f6\u95f4\u611f\u77e5\u72b6\u6001\u8f6c\u53d8\u3002\u901a\u8fc7\u4e8b\u4ef6\u89e6\u53d1\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u8fd0\u884c\u73af\u5883\u51c6\u5907<\/strong>\u3002\u8fd9\u4e2a\u73af\u8282\u4e3b\u8981\u5de5\u4f5c\u5305\u62ec\u52a0\u8f7d\u955c\u50cf\u3001\u521d\u59cb\u5316\u8fd0\u884c\u73af\u5883\u7b49\u3002\u6211\u4eec\u4e3b\u8981\u91c7\u7528\u4e86\u9884\u52a0\u8f7d\u548c\u955c\u50cf\u9884\u70ed\u6280\u672f\u3002\u4e0d\u540c\u7684\u8fd0\u884c\u73af\u5883\uff0c\u65f6\u95f4\u635f\u8017\u4e0d\u4e00\u6837\uff0c\u4f1a\u5728\u4e9a\u79d2\u5230\u5206\u949f\u4e0d\u7b49\u3002<\/li><\/ul>\n\n\n\n\u8fd9\u56db\u4e2a\u56e0\u7d20\u4e2d\uff0c\u540e\u4e24\u8005\u76f8\u5bf9\u8f83\u590d\u6742\uff0c\u63a5\u4e0b\u6765\u7740\u91cd\u4ecb\u7ecd\u72b6\u6001\u8f6c\u53d8\u548c\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e24\u90e8\u5206\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u9996\u5148\u770b\u72b6\u6001\u8f6c\u53d8\u8fd9\u4e2a\u56e0\u7d20\u3002\u4efb\u52a1\u4ece\u53d1\u5e03\uff0c\u5230\u8c03\u5ea6\u6267\u884c\u5b8c\u6210\uff0c\u4f1a\u7ecf\u5386\u6570\u6b21\u6216\u8005\u5341\u6570\u6b21\u72b6\u6001\u53d8\u5316\u3002\u5982\u4f55\u8fdb\u884c\u5feb\u901f\u9ad8\u6548\u5730\u72b6\u6001\u8f6c\u53d8\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u95ee\u9898\u3002Kwaiflow \u7684\u89e3\u51b3\u529e\u6cd5\u662f\u91c7\u7528 Akka actor\u3002\u5145\u5206\u5229\u7528\u4e86 akka actor \u9ad8\u6027\u80fd\u7279\u70b9\u3002<\/p>\n\n\n\n\u5177\u4f53\u6765\u8bb2\uff1a<\/p>\n\n\n\n1. Kwaiflow \u7684\u4efb\u52a1\u4ece API Server \u53d1\u5e03\u540e\uff0c\u7ecf\u8fc7 Entry Actor \u52a0\u8f7d\u5230 DagLoader Actors \u4e2d\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\uff1b<\/p>\n\n\n\n2. \u5728\u65f6\u95f4\u5c31\u7eea\u540e\uff0c\u7531 Instance Generator Actors \u751f\u6210\u4efb\u52a1\u5b9e\u4f8b\uff0c\u7136\u540e\u8fdb\u5165 Dependency Detector Actor \u63a2\u6d4b\u4e0a\u6e38\u4f9d\u8d56\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n3. \u5728\u4f9d\u8d56\u5c31\u7eea\u540e\uff0c\u8fdb\u5165 Resource Detector Actor \u63a2\u6d4b\u8d44\u6e90\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n4. \u5728\u8d44\u6e90\u5c31\u7eea\u540e\uff0c\u4efb\u52a1\u5b9e\u4f8b\u901a\u8fc7 Queue Service \u4e0b\u53d1\u5230 worker \u4e2d\u3002<\/p>\n\n\n\n5. \u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u88ab\u63a5\u6536\u540e\uff0c\u5c06\u4f1a\u7531 Processor Actor \u6267\u884c\uff0c\u6267\u884c\u524d\u540e\u4f1a\u4f9d\u6b21\u7ecf\u5386\u4ee3\u7801\u6e32\u67d3\u3001Prehook\u3001\u4ee3\u7801\u6267\u884c\u3001Posthook \u56db\u4e2a\u6b65\u9aa4\u3002<\/p>\n\n\n\n6. \u5982\u679c\u6267\u884c\u6210\u529f\uff0c\u5219\u6d41\u7a0b\u7ec8\u6b62\uff1b\u5982\u679c\u6267\u884c\u5931\u8d25\uff0cPosthook \u4f1a\u5c06\u4fe1\u606f\u901a\u8fc7 Processor Actor\u3001ResultHandlerActor \u4f20\u9012\u7ed9 scheduler \u7684 RetryerActor \u8fdb\u884c\u91cd\u8bd5\u64cd\u4f5c\u3002<\/p>\n\n\n\n\u6574\u4e2a\u6d41\u7a0b\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u5168\u6d41\u7a0b\u4e8b\u4ef6\u89e6\u53d1<\/strong>\uff1a\u65e0\u8f6e\u8be2\uff0c\u4efb\u52a1\u53d1\u5e03\u3001\u8c03\u5ea6\u3001\u6267\u884c\u3001\u91cd\u8bd5\uff0c\u5747\u4e3a\u4e8b\u4ef6\u89e6\u53d1\u3002<\/li>\u9ad8\u541e\u5410<\/strong>\uff1a\u91c7\u7528\u5f02\u6b65\u5e76\u53d1\u7684\u65b9\u5f0f\uff0c\u80fd\u5feb\u901f\u8c03\u8d77\u5927\u91cf\u4efb\u52a1\u5b9e\u4f8b<\/li>\u7b80\u5355\u6613\u7528<\/strong>\uff1a\u65e0\u9700\u4f7f\u7528\u5e95\u5c42 API \u8fdb\u884c\u9501\u548c\u7ebf\u7a0b\u7ba1\u7406\uff0c\u4e13\u6ce8\u4e1a\u52a1\u5b9e\u73b0\u3002<\/li><\/ul>\n\n\n\n\u91c7\u7528 actor\uff0c\u72b6\u6001\u8f6c\u53d8\u5bfc\u81f4\u7684\u65f6\u95f4\u635f\u8017\u63a7\u5236\u5728\u6beb\u79d2\u7ea7\u522b\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u63a5\u4e0b\u6765\u6211\u4eec\u770b\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e2a\u56e0\u7d20\u3002\u8fd9\u548c\u6267\u884c\u573a\u666f\u6709\u5173\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e0d\u540c\u7684\u6267\u884c\u573a\u666f\uff0cKwaiflow \u63d0\u4f9b\u4e86\u4e24\u79cd\u6267\u884c\u65b9\u5f0f\uff1a\u5bb9\u5668\u5316\u6267\u884c\u548c\u672c\u5730\u6267\u884c\u3002<\/p>\n\n\n\n\u5bb9\u5668\u5316\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u6bcf\u6b21\u6267\u884c\u524d\uff0c\u5728 k8s \u6309\u9700\u7533\u8bf7\u5bb9\u5668\u8d44\u6e90\uff0c\u5728\u5bb9\u5668\u4e2d\u6267\u884c\u4efb\u52a1\u5b9e\u4f8b\uff0c\u6267\u884c\u5b8c\u540e\uff0c\u53ca\u65f6\u91ca\u653e\u5bb9\u5668\u8d44\u6e90\u3002\u4f18\u70b9\u662f\u5b9e\u73b0\u4e86\u6267\u884c\u65f6\u7684\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\uff1b\u7f3a\u70b9\u662f\u6bcf\u6b21\u90fd\u9700\u8981\u7533\u8bf7\u548c\u521d\u59cb\u5316\u5bb9\u5668\u8d44\u6e90\uff0c\u542f\u52a8\u8017\u65f6\u957f\u3002\u5bb9\u5668\u5316\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Bash \u4efb\u52a1\u3002\u4e3a\u4e86\u51cf\u5c11\u5bb9\u5668\u5316\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\uff0c\u6211\u4eec\u5c06\u955c\u50cf\u5206\u4e3a\u81ea\u5b9a\u4e49\u955c\u50cf\u548c\u901a\u7528\u955c\u50cf\uff0c\u5bf9\u901a\u7528\u955c\u50cf\u8fdb\u884c\u9884\u70ed\uff0c\u63d0\u524d\u5206\u53d1\u5230\u673a\u5668\u4e2d\uff0c\u51cf\u5c11\u955c\u50cf\u4e0b\u8f7d\u8017\u65f6\u3002\u901a\u8fc7\u955c\u50cf\u9884\u70ed\uff0c\u53ef\u4ee5\u5c06\u542f\u52a8\u8017\u65f6\u4ece\u5206\u949f\u7ea7\u964d\u4f4e\u5230\u79d2\u7ea7\u3002<\/li>\u672c\u5730\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u673a\u4e2d\uff0c\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\u3002\u540c\u4e00\u4e2a worker \u673a\u4e2d\u7684\u6240\u6709\u4efb\u52a1\u5b9e\u4f8b\u5171\u4eab\u8ba1\u7b97\u8d44\u6e90\u548c\u6267\u884c\u73af\u5883\u3002\u4f18\u70b9\u662f\u542f\u52a8\u8017\u65f6\u77ed\uff0coverhead \u5c0f\uff1b\u7f3a\u70b9\u662f\u8d44\u6e90\u548c\u73af\u5883\u4e0d\u9694\u79bb\uff0c\u4e00\u4e2a\u4efb\u52a1\u5b9e\u4f8b\u6267\u884c\u5f02\u5e38\u6709\u53ef\u80fd\u5bfc\u81f4\u6574\u4e2a worker \u673a crash\u3002\u672c\u5730\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u4e0d\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Hive \u548c Sensor \u4efb\u52a1\u3002\u672c\u5730\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\u4e00\u822c\u5728\u4e9a\u79d2\u7ea7\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n2. \u5173\u952e\u6280\u672f\uff1a\u9ad8\u53ef\u7528<\/h1>\n\n\n\n\u9ad8\u53ef\u7528\u5bf9\u8c03\u5ea6\u7cfb\u7edf\u6765\u8bf4\u975e\u5e38\u91cd\u8981\u3002\u4e3a\u4e86\u4fdd\u969c Kwaiflow \u7684\u9ad8\u53ef\u7528\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e24\u65b9\u9762\u8fdb\u884c\u8003\u8651\uff1a\u7cfb\u7edf\u8bbe\u8ba1\u548c\u6545\u969c\u53d1\u73b0\u5904\u7406\u3002\u5728\u7cfb\u7edf\u8bbe\u8ba1\u4e0a\uff0cKwaiflow \u53ef\u4ee5\u505a\u5230\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5373\u4efb\u52a1\u5b9e\u4f8b\u5728\u590d\u6742\u73af\u5883\u4e2d Exactly Once \u6267\u884c\uff0c\u505a\u5230\u4e0d\u6f0f\uff0c\u4e14\u5c3d\u91cf\u4e0d\u91cd\u3002<\/p>\n\n\n\n\u5bf9\u4e8e\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5e38\u89c1\u7684\u6545\u969c\u573a\u666f\u5305\u62ec\u7ec4\u4ef6\u6545\u969c\u6216\u8005\u7ec4\u4ef6\u5931\u8054\u3002\u4f8b\u5982 scheduler crash\u3001\u5bb9\u5668\u5316\u4efb\u52a1\u4e0e worker \u5931\u8054\u7b49\u3002<\/p>\n\n\n\n\u4e3a\u4e86\u8fbe\u5230\u9ad8\u53ef\u9760\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e09\u65b9\u9762\u8003\u8651\uff1a<\/p>\n\n\n\nFailover \u673a\u5236\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u548c\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\uff0c\u6765\u5b9e\u73b0\u7ec4\u4ef6\u7684\u81ea\u52a8\u5bb9\u9519\u3002\u4f8b\u5982 Kwaiflow \u91c7\u7528\u4e3b\u5907 Master\uff0c\u591a worker \u7684\u8bbe\u8ba1\u6765\u907f\u514d\u5355\u70b9\u95ee\u9898\uff1b\u5404\u4e2a\u7ec4\u4ef6\u4e4b\u95f4\u91c7\u7528\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\u6765\u907f\u514d\u5931\u8054\u95ee\u9898\u3002\u534f\u8bae\u5305\u62ec scheduler Executor \u901a\u4fe1\u534f\u8bae\u3001Executor Runner \u901a\u4fe1\u534f\u8bae\u3001External Job \u901a\u4fe1\u534f\u8bae\u3002\u53f3\u56fe\u5c55\u793a\u4e86 Executor Runner \u901a\u4fe1\u534f\u8bae\u7684\u4e3b\u8981\u6d41\u7a0b\uff0c\u534f\u8bae\u89c4\u5b9a\u4e86\u4efb\u52a1\u63d0\u4ea4\u3001\u6b63\u5e38\u6267\u884c\u3001\u5f02\u5e38\u6267\u884c\u3001\u901a\u4fe1\u5931\u8054\u7684\u5904\u7406\u529e\u6cd5\uff0c\u4e0d\u4f9d\u8d56\u5916\u90e8\u7cfb\u7edf\u7684\u72b6\u6001\u3002<\/li>\u907f\u514d\u9057\u6f0f\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u6d88\u606f ack \u673a\u5236\uff0c\u4fdd\u969c\u6d88\u606f\u4e0d\u4e22\u5931\uff1b\u540c\u65f6\u901a\u8fc7\u5b9a\u671f\u515c\u5e95\u5de1\u68c0\uff0c\u4fdd\u969c\u4efb\u52a1\u5b9e\u4f8b\u4e0d\u9057\u6f0f\u3002<\/li>\u907f\u514d\u91cd\u590d\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u72b6\u6001\u673a\u8f6c\u79fb\u56fe\uff0c\u907f\u514d\u4e0d\u5408\u7406\u72b6\u6001\u8f6c\u53d8\uff1b\u540c\u65f6\u901a\u8fc7\u91cd\u8bd5\u524d\u6e05\u7406\u524d\u4e00\u4e2a\u5b9e\u4f8b\uff0c\u907f\u514d\u91cd\u590d\u6267\u884c\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u9ad8\u53ef\u7528\u65b9\u9762\uff0c\u8fd8\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u7cfb\u7edf\u8bbe\u8ba1\u662f\u5206\u7ea7\u4fdd\u969c\u3002\u5feb\u624b\u5728\u8fdb\u884c\u5927\u578b\u6d3b\u52a8\u4f8b\u5982\u6625\u8282\u3001\u5965\u8fd0\u65f6\uff0c\u6574\u4f53\u6570\u636e\u91cf\u5927\u5e45\u5ea6\u589e\u957f\uff0c\u5c40\u90e8\u6570\u636e\u5448\u6570\u500d\u589e\u957f\u3002\u4f46\u8ba1\u7b97\u8d44\u6e90\u662f\u6709\u9650\u7684\uff0c\u8ba1\u7b97\u8d44\u6e90\u7684\u589e\u957f\u5f80\u5f80\u4e0d\u80fd\u5339\u914d\u6570\u636e\u91cf\u7684\u589e\u957f\uff0c\u4e0d\u80fd\u8ba9\u6240\u6709\u7684\u4efb\u52a1\u548c\u5f80\u5e38\u4e00\u6837\u6309\u65f6\u4ea7\u51fa\u3002\u8fd9\u65f6\u5019\u6211\u4eec\u5c31\u9700\u8981\u8fdb\u884c\u5206\u7ea7\u4fdd\u969c\u3002<\/p>\n\n\n\n\u6240\u8c13\u5206\u7ea7\u4fdd\u969c\uff0c\u5c31\u662f\u5728\u8d44\u6e90\u6709\u9650\u7684\u60c5\u51b5\u4e0b\uff0c\u8ba9\u9ad8\u4f18\u4efb\u52a1\u5f97\u5230\u7279\u6743\uff0c\u4f18\u5148\u5f97\u5230\u6267\u884c\uff0c\u4f18\u5148\u83b7\u5f97\u5145\u8db3\u7684\u4f18\u8d28\u8d44\u6e90\uff0c\u4fdd\u969c\u4ea7\u51fa\u65f6\u95f4\uff1b\u800c\u4f4e\u4f18\u4efb\u52a1\u5219\u4f1a\u88ab\u5ef6\u8fdf\u8c03\u5ea6\u6267\u884c\uff0c\u5206\u914d\u66f4\u5c11\u7684\u8d44\u6e90\u3002<\/p>\n\n\n\n\u5728\u5feb\u624b\uff0c\u6574\u4e2a\u79bb\u7ebf\u4f53\u7cfb\uff0c\u5305\u62ec Kwaiflow\u3001Hive\u3001Yarn\u3001HDFS \u7b49\uff0c\u90fd\u5177\u6709\u5206\u7ea7\u4fdd\u969c\u7684\u80fd\u529b\u3002\u8fd9\u91cc\u4ecb\u7ecd Kwaiflow \u7684\u5206\u7ea7\u4fdd\u969c\u80fd\u529b\uff0c\u5305\u62ec\u4e09\u65b9\u9762\uff1a<\/p>\n\n\n\nKwaiflow \u8c03\u5ea6\u5668\u5177\u6709\u5206\u7ea7\u8c03\u5ea6\u7684\u80fd\u529b<\/strong>\u3002Kwaiflow \u8c03\u5ea6\u5668\u80fd\u611f\u77e5\u5230\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u7684\u72b6\u6001\uff0c\u5728\u8d44\u6e90\u4e0d\u8db3\u65f6\uff0cKwaiflow \u4efb\u52a1\u4f1a\u5728\u8c03\u5ea6\u5668\u6392\u961f\uff0c\u9ad8\u4f18\u4efb\u52a1\u6392\u5728\u524d\u9762\uff0c\u4f4e\u4f18\u4efb\u52a1\u6392\u5728\u540e\u9762\uff1b\u5f53\u8d44\u6e90\u5f97\u5230\u91ca\u653e\u65f6\uff0c\u9ad8\u4f18\u4efb\u52a1\u4f18\u5148\u88ab\u8c03\u5ea6\u3002<\/li>Kwaiflow \u7684\u6267\u884c\u5668\u6309\u7167\u4e0d\u540c\u4f18\u5148\u7ea7\u8fdb\u884c\u5206\u7ec4<\/strong>\u3002\u5305\u62ec\u4e09\u7ec4\uff1aP0 \u6267\u884c\u5668\u7ec4\u3001P1 \u6267\u884c\u5668\u7ec4\u4ee5\u53ca P2 P3 \u6267\u884c\u5668\u7ec4\u3002P0 \u6267\u884c\u5668\u7528\u4e8e\u6267\u884c\u6700\u9ad8\u4f18\u5148\u7ea7\u7684 P0 \u4efb\u52a1\uff0c\u5177\u6709\u5145\u8db3\u7684 worker\uff0cP0 \u4efb\u52a1\u5b9e\u4f8b\u57fa\u672c\u4e0d\u4f1a\u5728\u6267\u884c\u5668\u5c42\u88ab\u9650\u5236\u3002\u5bf9\u4e8e P2 P3 \u5206\u7ec4\uff0c\u5728\u8c03\u5ea6\u9ad8\u5cf0\u671f\uff0c\u4efb\u52a1\u5b9e\u4f8b\u5f88\u591a\u65f6\uff0c\u53ef\u80fd\u5b58\u5728\u6392\u961f\u6267\u884c\u7684\u60c5\u51b5\u3002<\/li>Kwaiflow \u5177\u6709\u8f83\u5f3a\u7684\u4eba\u5de5\u7ba1\u63a7\u80fd\u529b<\/strong>\uff0c\u53ef\u4ee5\u4eba\u4e3a\u5730\u5141\u8bb8\u6216\u8005\u963b\u65ad\u67d0\u4e9b\u4efb\u52a1\u7684\u8c03\u5ea6\u3002\u5178\u578b\u4f7f\u7528\u573a\u666f\u662f\u5728\u5927\u578b\u6d3b\u52a8\u671f\u95f4\uff0c\u53ef\u4ee5\u6839\u636e\u9884\u6848\uff0c\u5bf9\u4f4e\u4f18\u5148\u7ea7\u7684\u4efb\u52a1\u4eba\u4e3a\u8fdb\u884c\u5ef6\u8fdf\u8c03\u5ea6\uff0c\u4fdd\u969c\u8d44\u6e90\u5206\u914d\u7ed9\u9ad8\u4f18\u4efb\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u524d\u9762\u4e3b\u8981\u4ece\u7cfb\u7edf\u8bbe\u8ba1\u65b9\u9762\u4ecb\u7ecd\u4e86\u7ebf\u4e0a\u6545\u969c\u7684\u81ea\u52a8\u89c4\u907f\u3002Kwaiflow \u9ad8\u53ef\u7528\u7684\u7b2c\u4e8c\u4e2a\u65b9\u9762\u662f\u6545\u969c\u7684\u53d1\u73b0\u548c\u5904\u7406\u3002\u5982\u679c\u6545\u969c\u53d1\u73b0\u4e0d\u53ca\u65f6\u3001\u5904\u7406\u4e0d\u8fc5\u901f\uff0c\u4f1a\u51fa\u73b0\u5927\u89c4\u6a21\u7684\u8c03\u5ea6\u9519\u8bef\u6216\u8005\u8c03\u5ea6\u5ef6\u8fdf\u6545\u969c\u3002\u5728\u5feb\u624b\u8c03\u5ea6\u7cfb\u7edf\u53d1\u5c55\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u78b0\u5230\u8fc7\u8fd9\u6837\u7684\u5927\u6545\u969c\uff0c\u4e3a\u4e86\u907f\u514d\u518d\u6b21\u53d1\u751f\uff0c\u6211\u4eec\u5efa\u7acb\u4e86\u5b8c\u5907\u7684\u76d1\u63a7\u9884\u6848\u4f53\u7cfb\u3002<\/p>\n\n\n\n\u5728\u76d1\u63a7\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5206\u6210\u4f7f\u7528\u5c42\u3001\u670d\u52a1\u5c42\u3001\u4f9d\u8d56\u5c42\u4e09\u4e2a\u5c42\u6b21\uff0c\u5e76\u5212\u5206\u76d1\u63a7\u4f18\u5148\u7ea7\uff0c\u91c7\u7528\u4e0d\u540c\u7684\u54cd\u5e94\u65b9\u5f0f\u3002<\/li>\u5728\u6545\u969c\u9884\u6848\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u6709\u4e24\u7c7b\u9884\u6848\uff1a\u7cfb\u7edf\u6545\u969c\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u8c03\u5ea6\u7cfb\u7edf\u81ea\u8eab\u95ee\u9898\uff1b\u6570\u636e\u5f02\u5e38\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u94fe\u8def\u6570\u636e\u4e0d\u6b63\u786e\u7684\u95ee\u9898\u3002\u6211\u4eec\u6c89\u6dc0\u4e86\u591a\u573a\u666f\u7684\u963b\u65ad\u6062\u590d\u548c\u8865\u6570\u636e\u5de5\u5177\uff0c\u80fd\u591f\u5728\u6570\u5206\u949f\u5185\u542f\u52a8\u6570\u636e\u6062\u590d\u3002<\/li>\u5728\u6f14\u7ec3\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5b9a\u671f\u5bf9\u9884\u6848\u8fdb\u884c\u6f14\u7ec3\uff0c\u4fdd\u8bc1\u9884\u6848\u7684\u53ef\u7528\u6027\uff0c\u64cd\u4f5c\u7684\u719f\u7ec3\u6027\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n3. \u5173\u952e\u6280\u672f\uff1a\u5f00\u653e\u80fd\u529b<\/h1>\n\n\n\n\u5f00\u653e\u662f\u6570\u636e\u4e2d\u53f0\u7684\u6838\u5fc3\u7ade\u4e89\u529b\u3002\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u7ed9\u4e88\u4f7f\u7528\u8005\u81ea\u7531\u7684\u53d1\u6325\u7a7a\u95f4\uff0c\u6ee1\u8db3\u66f4\u591a\u4f7f\u7528\u573a\u666f\uff1b\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u6784\u5efa\u6570\u636e\u751f\u6001\uff0c\u63d0\u4f9b\u66f4\u4e30\u5bcc\u7684\u80fd\u529b\u3002Kwaiflow \u63d0\u4f9b\u4e86\u591a\u79cd\u5f00\u653e\u80fd\u529b\uff1a<\/p>\n\n\n\nKwaiflow \u5177\u6709\u5f00\u653e\u7684 API\uff0c\u652f\u6301\u591a\u8bed\u8a00 SDK\uff0c\u63d0\u4f9b\u4e86\u6807\u51c6\u5316\u7684\u63a5\u5165\u6d41\u7a0b\u3001\u4f7f\u7528\u624b\u518c\u548c\u63a5\u5165 demo\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u6807\u51c6\u7684\u4e8b\u4ef6\u3002\u5305\u62ec\u4efb\u52a1\u64cd\u4f5c\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d8\u66f4\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u8bca\u65ad\u4e8b\u4ef6\u7b49\u3002\u6839\u636e\u8fd9\u4e9b\u4e8b\u4ef6\uff0c\u53ef\u4ee5\u5b8c\u6574\u590d\u73b0\u51fa\u4efb\u52a1\u548c\u4efb\u52a1\u5b9e\u4f8b\u7684\u5168\u751f\u547d\u5468\u671f\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u63d2\u4ef6\u5316\u4efb\u52a1\u7c7b\u578b\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5b9a\u4e49\u548c\u5f00\u53d1\u81ea\u5b9a\u4e49\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u5e76\u8fdb\u884c\u7075\u6d3b\u6d4b\u8bd5\u3001\u7070\u5ea6\u4e0a\u7ebf\u548c\u7ba1\u7406\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86 Hook\uff0c\u53ef\u4ee5\u5728\u7528\u6237\u4ee3\u7801\u8fd0\u884c\u524d\u540e\u6267\u884c\u3002\u5305\u62ec\u6267\u884c\u524d\u7684 Prehook \u548c\u6267\u884c\u540e\u7684 Posthook\u3002\u5e38\u89c1\u573a\u666f\u5305\u62ec\u7528\u4e8e\u4ee3\u7801\u6e32\u67d3\u3001\u524d\u7f6e\u68c0\u67e5\u7684 Prehook\uff0c\u4ee5\u53ca\u7528\u4e8e\u6267\u884c\u540e\u6570\u636e\u8d28\u91cf\u68c0\u6d4b\u7684 Posthook\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u4e0e\u6210\u679c<\/strong><\/p>\n\n\n\n\u5982\u679c\u628a\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6bd4\u4f5c\u5927\u697c\u7684\u9aa8\u67b6\uff0c\u90a3\u4e48\u57fa\u4e8e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u5c31\u662f\u88c5\u4fee\u5b8c\u5584\u3001\u9002\u4e8e\u4eba\u5de5\u4f5c\u751f\u6d3b\u7684\u5927\u53a6\u3002\u901a\u8fc7\u5e94\u7528\uff0c\u80fd\u66f4\u597d\u5730\u4f53\u73b0\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4ef7\u503c\u3002\u5728\u5feb\u624b\uff0c\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4e00\u4e2a\u5178\u578b\u5e94\u7528\u3002<\/p>\n\n\n\n\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u5feb\u624b\u7684\u4e00\u7ad9\u5f0f\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u4f7f\u7528 kwaiflow \u4f5c\u4e3a\u7edf\u4e00\u7684\u7f16\u6392\u4e0e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u6784\u5efa\u4e86\u5404\u7c7b\u7684\u6570\u636e\u5f00\u53d1\u8fd0\u7ef4\u7b49\u670d\u52a1\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u67e5\u8be2\u3001\u540c\u6b65\u3001\u5f00\u53d1\u3001\u670d\u52a1\u5316\u3001\u8fd0\u7ef4\u3001\u7ba1\u7406\u7b49\u80fd\u529b\u3002<\/p>\n\n\n\n\u8be5\u5e73\u53f0\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u4e00\u7ad9\u5f0f<\/strong>\uff1a\u5e73\u53f0\u6db5\u76d6\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u7684\u5404\u73af\u8282\uff0c\u5305\u62ec\u6570\u636e\u63a5\u5165\u3001\u6570\u636e\u52a0\u5de5\u3001\u6570\u636e\u5206\u53d1\u548c\u6570\u636e\u670d\u52a1\u5316\u3002\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u6e90\u7ba1\u7406\uff0c\u521b\u5efa\u6570\u636e\u63a5\u5165\u4efb\u52a1\u5c06\u5404\u79cd\u6570\u636e\u6e90\u5bfc\u5165\u5230\u5927\u6570\u636e\u7cfb\u7edf\u4e2d\uff1b\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u667a\u80fd IDE \u7f16\u5199\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03 ETL \u4efb\u52a1\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5de5\u5904\u7406\uff0c\u4ea7\u751f\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b\u7528\u6237\u8fd8\u53ef\u4ee5\u521b\u5efa\u6570\u636e\u5206\u53d1\u4efb\u52a1\uff0c\u5c06\u9ad8\u4ef7\u503c\u6570\u636e\u5206\u53d1\u5230\u5176\u5b83\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u4f8b\u5982\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u975e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u7f13\u5b58\u7cfb\u7edf\u3001OLAP \u5f15\u64ce\u7b49\u3002\u7528\u6237\u4e5f\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u914d\u7f6e\u7684\u65b9\u5f0f\u521b\u5efa\u670d\u52a1\u5316 API\uff0c\u4e3a\u7ebf\u4e0a\u7cfb\u7edf\u63d0\u4f9b\u670d\u52a1\u3002<\/li>\u901a\u7528<\/strong>\uff1a\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u80fd\u7edf\u4e00\u8fd0\u7ef4 Kwaiflow \u6240\u6709\u4efb\u52a1\uff0c\u5305\u62ec\u4efb\u52a1\u8fd0\u7ef4\u3001\u5b9e\u4f8b\u8fd0\u7ef4\u3001\u94fe\u8def\u8fd0\u7ef4\u7b49\u65b9\u5f0f\uff0c\u9002\u5408\u6570\u636e\u5f00\u53d1\u3001\u5b9a\u65f6\u8c03\u5ea6\u3001\u89e6\u53d1\u5f0f\u8c03\u5ea6\u7b49\u573a\u666f\u3002<\/li>\u667a\u80fd<\/strong>\uff1a\u5728\u5f00\u53d1\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd IDE\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4ee3\u7801\u95ee\u9898\uff1b\u5728\u8fd0\u7ef4\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd\u76d1\u63a7\u3001\u667a\u80fd\u8bca\u65ad\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4efb\u52a1\u548c\u94fe\u8def\u95ee\u9898\uff0c\u5e76\u8f85\u52a9\u5b9a\u4f4d\u95ee\u9898\u539f\u56e0\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8981\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u4e0d\u4ec5\u8981\u6709\u5f3a\u5927\u7684\u81ea\u8eab\u80fd\u529b\uff0c\u66f4\u8981\u6709\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\u3002\u5728\u5feb\u624b\uff0cKwaiflow \u548c\u5927\u6570\u636e\u7684\u5176\u5b83\u7cfb\u7edf\u6df1\u5ea6\u96c6\u6210\uff0c\u63a5\u5165\u4e86 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u4fbf\u6377\u5730\u4f7f\u7528\u5176\u5b83\u5927\u6570\u636e\u7cfb\u7edf\u7684\u80fd\u529b\u3002\u53ef\u4ee5\u8bf4\uff0c\u81ea\u8eab\u80fd\u529b\u548c\u751f\u6001\u4f53\u7cfb\u5bf9 Kwaiflow \u6765\u8bf4\u540c\u7b49\u91cd\u8981\u3002<\/p>\n\n\n\n\u9996\u5148\uff0c\u5c31\u81ea\u8eab\u800c\u8a00\uff0cKwaiflow \u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u6267\u884c\u80fd\u529b\u3002\u5305\u62ec\u591a\u573a\u666f\u8c03\u5ea6\u80fd\u529b\u3001\u591a\u6837\u5316\u7684\u6267\u884c\u80fd\u529b\u3001\u6613\u7528\u7684\u8fd0\u7ef4\u80fd\u529b\u548c\u9ad8\u53ef\u7528\u7684\u7279\u6027\u3002<\/p>\n\n\n\n\u5176\u6b21\uff0cKwaiflow \u5177\u6709\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\u3002\u63a5\u5165 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u65b9\u4fbf\u5730\u4f7f\u7528\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\u3002<\/p>\n\n\n\n\u6700\u540e\uff0cKwaiflow \u65e0\u7f1d\u96c6\u6210\u4e86\u5176\u5b83\u4e2d\u53f0\u80fd\u529b\u3002\u5305\u62ec\u6570\u636e\u8d28\u91cf\u3001\u6570\u636e\u5b89\u5168\u4f53\u7cfb\u3001\u5b8c\u6574\u51c6\u786e\u7684\u4efb\u52a1\u5b9e\u4f8b\u8840\u7f18\u3001\u94fe\u8def\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5c06\u4ece\u6027\u80fd\u3001\u529f\u80fd\u548c\u4f7f\u7528\u60c5\u51b5\u4e09\u4e2a\u65b9\u9762\u4ecb\u7ecd Kwaiflow \u7684\u6210\u679c\u3002<\/p>\n\n\n\n\u5728\u6027\u80fd\u65b9\u9762<\/strong>\uff0c\u548c Airflow \u76f8\u6bd4\uff0c\u6709\u6781\u5927\u7684\u63d0\u5347\uff1a<\/p>\n\n\n\n\u5728\u89c4\u6a21\u4e0a\uff0cKwaiflow \u521d\u7248\u8bbe\u8ba1\u5bb9\u91cf\u4e3a\u767e\u4e07\u7ea7\u522b\u4efb\u52a1\uff0c\u5f53\u524d\u5df2\u6709\u6570\u5341\u4e07\u7684\u4efb\u52a1\u6570\uff0c\u548c Airflow \u5355\u96c6\u7fa4\u4e0d\u8d85\u8fc7 1 \u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\u3002<\/li>\u5728\u6027\u80fd\u4e0a\uff0cKwaiflow \u8c03\u5ea6\u9ad8\u5cf0\u671f\u7684\u8c03\u5ea6\u5ef6\u8fdf P99 \u5c0f\u4e8e 5 \u79d2\uff0c\u548c Airflow 5 \u5206\u949f\u76f8\u6bd4\uff0c\u6709\u6570\u91cf\u7ea7\u7684\u63d0\u5347\uff1bKwaiflow \u8d77\u8c03\u901f\u7387\u5341\u6570\u4e07\u6bcf\u5206\u949f\uff0c\u548c Airflow \u6570\u5343\u6bcf\u5206\u949f\u5bf9\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\uff1bKwaiflow \u8fd0\u884c\u7684\u5e76\u53d1\u5b9e\u4f8b\u6570\u5341\u6570\u4e07\u4e07\uff0c\u548c Airflow \u5c0f\u4e8e1\u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u5341\u6570\u500d\u3002<\/li>\u5728\u7a33\u5b9a\u6027\u4e0a\uff0cKwaiflow \u53ef\u7528\u6027\u4e3a 99.99%\uff0c Airflow \u5219\u4e3a 99.5%\uff1bKwaiflow \u5e74\u6545\u969c\u6570\u7ea6 1 \u4e2a\uff0c\u800c Airflow \u5e74\u5747\u4e3a 8 \u4e2a\u3002<\/li><\/ul>\n\n\n\n\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
03<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5173\u952e\u6280\u672f<\/strong><\/p>\n\n\n\n1. \u5173\u952e\u6280\u672f\uff1a\u4f4e\u8c03\u5ea6\u5ef6\u8fdf<\/h1>\n\n\n\n\u8c03\u5ea6\u5ef6\u8fdf\u662f\u6307\u7406\u8bba\u8d77\u8c03\u65f6\u523b\u5230\u5b9e\u9645\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\u7684\u65f6\u95f4\u5dee\u3002\u8c03\u5ea6\u5ef6\u8fdf\u662f\u8861\u91cf\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6027\u80fd\u7684\u91cd\u8981\u6307\u6807\u4e4b\u4e00\uff0c\u8be5\u6307\u6807\u8d8a\u5c0f\u8d8a\u597d\u3002<\/p>\n\n\n\n\u4efb\u52a1\u5b9e\u4f8b\u4ece\u751f\u6210\uff0c\u5230\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\uff0c\u9700\u8981\u7ecf\u8fc7\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\u3001\u7b49\u5f85\u4f9d\u8d56\u5c31\u7eea\u3001\u7b49\u5f85\u8d44\u6e90\u5c31\u7eea\u548c\u51c6\u5907\u8fd0\u884c\u73af\u5883\u56db\u4e2a\u9636\u6bb5\u3002\u8981\u6709\u8f83\u5c0f\u7684\u8c03\u5ea6\u5ef6\u8fdf\uff0c\u5c31\u9700\u8981\u51cf\u5c11\u5404\u4e2a\u9636\u6bb5\u7684\u7cfb\u7edf\u65f6\u95f4\u635f\u8017\u3002\u8c03\u5ea6\u5ef6\u8fdf\u7684\u4e3b\u8981\u56e0\u7d20\u4e0e\u5904\u7406\u65b9\u6848\u6709\uff1a<\/p>\n\n\n\n\u5b9a\u65f6\u5668<\/strong>\u3002\u5b9a\u65f6\u5668\u5728\u63a2\u6d4b\u65f6\u95f4\u5c31\u7eea\u73af\u8282\u8d77\u4f5c\u7528\uff0c\u4e00\u4e2a\u7cbe\u51c6\u7684\u3001\u652f\u6301\u767e\u4e07\u7ea7\u522b\u9ad8\u541e\u5410\u7684\u5b9a\u65f6\u5668\uff0c\u5bf9\u4f4e\u8c03\u5ea6\u5ef6\u8fdf\u81f3\u5173\u91cd\u8981\u3002\u4f18\u79c0\u7684\u5b9a\u65f6\u5668\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u6570\u636e\u5e93\u8bbf\u95ee<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d1\u751f\u53d8\u66f4\u540e\uff0c\u9700\u8981\u5bf9\u72b6\u6001\u8fdb\u884c\u6301\u4e45\u5316\u3002\u901a\u8fc7\u7d22\u5f15\u3001\u8bfb\u5199\u5206\u79bb\u3001\u5206\u5e93\u5206\u8868\u7b49\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5c06\u5355\u6b21\u6570\u636e\u5e93\u8bbf\u95ee\u8017\u65f6\u63a7\u5236\u5728 1 ~ 3ms\uff0c\u603b\u4f53\u8017\u65f6\u63a7\u5236\u5728 10ms \u5de6\u53f3 \u3002<\/li>\u72b6\u6001\u8f6c\u53d8<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u81ea\u751f\u6210\u5230\u8fd0\u884c\u7ed3\u675f\uff0c\u4f1a\u7ecf\u5386\u591a\u6b21\u72b6\u6001\u8f6c\u53d8\u3002\u72b6\u6001\u8f6c\u53d8\u9ad8\u6548\u4e0e\u5426\u662f\u8c03\u5ea6\u5ef6\u8fdf\u7684\u91cd\u8981\u56e0\u7d20\u3002\u4e00\u822c\u6765\u8bf4\u6709\u4e24\u79cd\u529e\u6cd5\uff1a\u8f6e\u8be2\u4e0e\u4e8b\u4ef6\u89e6\u53d1\u3002\u6211\u4eec\u91c7\u7528\u7684\u662f\u4e8b\u4ef6\u89e6\u53d1\u65b9\u5f0f\uff0c\u7b2c\u4e00\u65f6\u95f4\u611f\u77e5\u72b6\u6001\u8f6c\u53d8\u3002\u901a\u8fc7\u4e8b\u4ef6\u89e6\u53d1\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u8fd0\u884c\u73af\u5883\u51c6\u5907<\/strong>\u3002\u8fd9\u4e2a\u73af\u8282\u4e3b\u8981\u5de5\u4f5c\u5305\u62ec\u52a0\u8f7d\u955c\u50cf\u3001\u521d\u59cb\u5316\u8fd0\u884c\u73af\u5883\u7b49\u3002\u6211\u4eec\u4e3b\u8981\u91c7\u7528\u4e86\u9884\u52a0\u8f7d\u548c\u955c\u50cf\u9884\u70ed\u6280\u672f\u3002\u4e0d\u540c\u7684\u8fd0\u884c\u73af\u5883\uff0c\u65f6\u95f4\u635f\u8017\u4e0d\u4e00\u6837\uff0c\u4f1a\u5728\u4e9a\u79d2\u5230\u5206\u949f\u4e0d\u7b49\u3002<\/li><\/ul>\n\n\n\n\u8fd9\u56db\u4e2a\u56e0\u7d20\u4e2d\uff0c\u540e\u4e24\u8005\u76f8\u5bf9\u8f83\u590d\u6742\uff0c\u63a5\u4e0b\u6765\u7740\u91cd\u4ecb\u7ecd\u72b6\u6001\u8f6c\u53d8\u548c\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e24\u90e8\u5206\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u9996\u5148\u770b\u72b6\u6001\u8f6c\u53d8\u8fd9\u4e2a\u56e0\u7d20\u3002\u4efb\u52a1\u4ece\u53d1\u5e03\uff0c\u5230\u8c03\u5ea6\u6267\u884c\u5b8c\u6210\uff0c\u4f1a\u7ecf\u5386\u6570\u6b21\u6216\u8005\u5341\u6570\u6b21\u72b6\u6001\u53d8\u5316\u3002\u5982\u4f55\u8fdb\u884c\u5feb\u901f\u9ad8\u6548\u5730\u72b6\u6001\u8f6c\u53d8\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u95ee\u9898\u3002Kwaiflow \u7684\u89e3\u51b3\u529e\u6cd5\u662f\u91c7\u7528 Akka actor\u3002\u5145\u5206\u5229\u7528\u4e86 akka actor \u9ad8\u6027\u80fd\u7279\u70b9\u3002<\/p>\n\n\n\n\u5177\u4f53\u6765\u8bb2\uff1a<\/p>\n\n\n\n1. Kwaiflow \u7684\u4efb\u52a1\u4ece API Server \u53d1\u5e03\u540e\uff0c\u7ecf\u8fc7 Entry Actor \u52a0\u8f7d\u5230 DagLoader Actors \u4e2d\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\uff1b<\/p>\n\n\n\n2. \u5728\u65f6\u95f4\u5c31\u7eea\u540e\uff0c\u7531 Instance Generator Actors \u751f\u6210\u4efb\u52a1\u5b9e\u4f8b\uff0c\u7136\u540e\u8fdb\u5165 Dependency Detector Actor \u63a2\u6d4b\u4e0a\u6e38\u4f9d\u8d56\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n3. \u5728\u4f9d\u8d56\u5c31\u7eea\u540e\uff0c\u8fdb\u5165 Resource Detector Actor \u63a2\u6d4b\u8d44\u6e90\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n4. \u5728\u8d44\u6e90\u5c31\u7eea\u540e\uff0c\u4efb\u52a1\u5b9e\u4f8b\u901a\u8fc7 Queue Service \u4e0b\u53d1\u5230 worker \u4e2d\u3002<\/p>\n\n\n\n5. \u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u88ab\u63a5\u6536\u540e\uff0c\u5c06\u4f1a\u7531 Processor Actor \u6267\u884c\uff0c\u6267\u884c\u524d\u540e\u4f1a\u4f9d\u6b21\u7ecf\u5386\u4ee3\u7801\u6e32\u67d3\u3001Prehook\u3001\u4ee3\u7801\u6267\u884c\u3001Posthook \u56db\u4e2a\u6b65\u9aa4\u3002<\/p>\n\n\n\n6. \u5982\u679c\u6267\u884c\u6210\u529f\uff0c\u5219\u6d41\u7a0b\u7ec8\u6b62\uff1b\u5982\u679c\u6267\u884c\u5931\u8d25\uff0cPosthook \u4f1a\u5c06\u4fe1\u606f\u901a\u8fc7 Processor Actor\u3001ResultHandlerActor \u4f20\u9012\u7ed9 scheduler \u7684 RetryerActor \u8fdb\u884c\u91cd\u8bd5\u64cd\u4f5c\u3002<\/p>\n\n\n\n\u6574\u4e2a\u6d41\u7a0b\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u5168\u6d41\u7a0b\u4e8b\u4ef6\u89e6\u53d1<\/strong>\uff1a\u65e0\u8f6e\u8be2\uff0c\u4efb\u52a1\u53d1\u5e03\u3001\u8c03\u5ea6\u3001\u6267\u884c\u3001\u91cd\u8bd5\uff0c\u5747\u4e3a\u4e8b\u4ef6\u89e6\u53d1\u3002<\/li>\u9ad8\u541e\u5410<\/strong>\uff1a\u91c7\u7528\u5f02\u6b65\u5e76\u53d1\u7684\u65b9\u5f0f\uff0c\u80fd\u5feb\u901f\u8c03\u8d77\u5927\u91cf\u4efb\u52a1\u5b9e\u4f8b<\/li>\u7b80\u5355\u6613\u7528<\/strong>\uff1a\u65e0\u9700\u4f7f\u7528\u5e95\u5c42 API \u8fdb\u884c\u9501\u548c\u7ebf\u7a0b\u7ba1\u7406\uff0c\u4e13\u6ce8\u4e1a\u52a1\u5b9e\u73b0\u3002<\/li><\/ul>\n\n\n\n\u91c7\u7528 actor\uff0c\u72b6\u6001\u8f6c\u53d8\u5bfc\u81f4\u7684\u65f6\u95f4\u635f\u8017\u63a7\u5236\u5728\u6beb\u79d2\u7ea7\u522b\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u63a5\u4e0b\u6765\u6211\u4eec\u770b\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e2a\u56e0\u7d20\u3002\u8fd9\u548c\u6267\u884c\u573a\u666f\u6709\u5173\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e0d\u540c\u7684\u6267\u884c\u573a\u666f\uff0cKwaiflow \u63d0\u4f9b\u4e86\u4e24\u79cd\u6267\u884c\u65b9\u5f0f\uff1a\u5bb9\u5668\u5316\u6267\u884c\u548c\u672c\u5730\u6267\u884c\u3002<\/p>\n\n\n\n\u5bb9\u5668\u5316\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u6bcf\u6b21\u6267\u884c\u524d\uff0c\u5728 k8s \u6309\u9700\u7533\u8bf7\u5bb9\u5668\u8d44\u6e90\uff0c\u5728\u5bb9\u5668\u4e2d\u6267\u884c\u4efb\u52a1\u5b9e\u4f8b\uff0c\u6267\u884c\u5b8c\u540e\uff0c\u53ca\u65f6\u91ca\u653e\u5bb9\u5668\u8d44\u6e90\u3002\u4f18\u70b9\u662f\u5b9e\u73b0\u4e86\u6267\u884c\u65f6\u7684\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\uff1b\u7f3a\u70b9\u662f\u6bcf\u6b21\u90fd\u9700\u8981\u7533\u8bf7\u548c\u521d\u59cb\u5316\u5bb9\u5668\u8d44\u6e90\uff0c\u542f\u52a8\u8017\u65f6\u957f\u3002\u5bb9\u5668\u5316\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Bash \u4efb\u52a1\u3002\u4e3a\u4e86\u51cf\u5c11\u5bb9\u5668\u5316\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\uff0c\u6211\u4eec\u5c06\u955c\u50cf\u5206\u4e3a\u81ea\u5b9a\u4e49\u955c\u50cf\u548c\u901a\u7528\u955c\u50cf\uff0c\u5bf9\u901a\u7528\u955c\u50cf\u8fdb\u884c\u9884\u70ed\uff0c\u63d0\u524d\u5206\u53d1\u5230\u673a\u5668\u4e2d\uff0c\u51cf\u5c11\u955c\u50cf\u4e0b\u8f7d\u8017\u65f6\u3002\u901a\u8fc7\u955c\u50cf\u9884\u70ed\uff0c\u53ef\u4ee5\u5c06\u542f\u52a8\u8017\u65f6\u4ece\u5206\u949f\u7ea7\u964d\u4f4e\u5230\u79d2\u7ea7\u3002<\/li>\u672c\u5730\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u673a\u4e2d\uff0c\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\u3002\u540c\u4e00\u4e2a worker \u673a\u4e2d\u7684\u6240\u6709\u4efb\u52a1\u5b9e\u4f8b\u5171\u4eab\u8ba1\u7b97\u8d44\u6e90\u548c\u6267\u884c\u73af\u5883\u3002\u4f18\u70b9\u662f\u542f\u52a8\u8017\u65f6\u77ed\uff0coverhead \u5c0f\uff1b\u7f3a\u70b9\u662f\u8d44\u6e90\u548c\u73af\u5883\u4e0d\u9694\u79bb\uff0c\u4e00\u4e2a\u4efb\u52a1\u5b9e\u4f8b\u6267\u884c\u5f02\u5e38\u6709\u53ef\u80fd\u5bfc\u81f4\u6574\u4e2a worker \u673a crash\u3002\u672c\u5730\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u4e0d\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Hive \u548c Sensor \u4efb\u52a1\u3002\u672c\u5730\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\u4e00\u822c\u5728\u4e9a\u79d2\u7ea7\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n2. \u5173\u952e\u6280\u672f\uff1a\u9ad8\u53ef\u7528<\/h1>\n\n\n\n\u9ad8\u53ef\u7528\u5bf9\u8c03\u5ea6\u7cfb\u7edf\u6765\u8bf4\u975e\u5e38\u91cd\u8981\u3002\u4e3a\u4e86\u4fdd\u969c Kwaiflow \u7684\u9ad8\u53ef\u7528\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e24\u65b9\u9762\u8fdb\u884c\u8003\u8651\uff1a\u7cfb\u7edf\u8bbe\u8ba1\u548c\u6545\u969c\u53d1\u73b0\u5904\u7406\u3002\u5728\u7cfb\u7edf\u8bbe\u8ba1\u4e0a\uff0cKwaiflow \u53ef\u4ee5\u505a\u5230\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5373\u4efb\u52a1\u5b9e\u4f8b\u5728\u590d\u6742\u73af\u5883\u4e2d Exactly Once \u6267\u884c\uff0c\u505a\u5230\u4e0d\u6f0f\uff0c\u4e14\u5c3d\u91cf\u4e0d\u91cd\u3002<\/p>\n\n\n\n\u5bf9\u4e8e\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5e38\u89c1\u7684\u6545\u969c\u573a\u666f\u5305\u62ec\u7ec4\u4ef6\u6545\u969c\u6216\u8005\u7ec4\u4ef6\u5931\u8054\u3002\u4f8b\u5982 scheduler crash\u3001\u5bb9\u5668\u5316\u4efb\u52a1\u4e0e worker \u5931\u8054\u7b49\u3002<\/p>\n\n\n\n\u4e3a\u4e86\u8fbe\u5230\u9ad8\u53ef\u9760\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e09\u65b9\u9762\u8003\u8651\uff1a<\/p>\n\n\n\nFailover \u673a\u5236\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u548c\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\uff0c\u6765\u5b9e\u73b0\u7ec4\u4ef6\u7684\u81ea\u52a8\u5bb9\u9519\u3002\u4f8b\u5982 Kwaiflow \u91c7\u7528\u4e3b\u5907 Master\uff0c\u591a worker \u7684\u8bbe\u8ba1\u6765\u907f\u514d\u5355\u70b9\u95ee\u9898\uff1b\u5404\u4e2a\u7ec4\u4ef6\u4e4b\u95f4\u91c7\u7528\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\u6765\u907f\u514d\u5931\u8054\u95ee\u9898\u3002\u534f\u8bae\u5305\u62ec scheduler Executor \u901a\u4fe1\u534f\u8bae\u3001Executor Runner \u901a\u4fe1\u534f\u8bae\u3001External Job \u901a\u4fe1\u534f\u8bae\u3002\u53f3\u56fe\u5c55\u793a\u4e86 Executor Runner \u901a\u4fe1\u534f\u8bae\u7684\u4e3b\u8981\u6d41\u7a0b\uff0c\u534f\u8bae\u89c4\u5b9a\u4e86\u4efb\u52a1\u63d0\u4ea4\u3001\u6b63\u5e38\u6267\u884c\u3001\u5f02\u5e38\u6267\u884c\u3001\u901a\u4fe1\u5931\u8054\u7684\u5904\u7406\u529e\u6cd5\uff0c\u4e0d\u4f9d\u8d56\u5916\u90e8\u7cfb\u7edf\u7684\u72b6\u6001\u3002<\/li>\u907f\u514d\u9057\u6f0f\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u6d88\u606f ack \u673a\u5236\uff0c\u4fdd\u969c\u6d88\u606f\u4e0d\u4e22\u5931\uff1b\u540c\u65f6\u901a\u8fc7\u5b9a\u671f\u515c\u5e95\u5de1\u68c0\uff0c\u4fdd\u969c\u4efb\u52a1\u5b9e\u4f8b\u4e0d\u9057\u6f0f\u3002<\/li>\u907f\u514d\u91cd\u590d\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u72b6\u6001\u673a\u8f6c\u79fb\u56fe\uff0c\u907f\u514d\u4e0d\u5408\u7406\u72b6\u6001\u8f6c\u53d8\uff1b\u540c\u65f6\u901a\u8fc7\u91cd\u8bd5\u524d\u6e05\u7406\u524d\u4e00\u4e2a\u5b9e\u4f8b\uff0c\u907f\u514d\u91cd\u590d\u6267\u884c\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u9ad8\u53ef\u7528\u65b9\u9762\uff0c\u8fd8\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u7cfb\u7edf\u8bbe\u8ba1\u662f\u5206\u7ea7\u4fdd\u969c\u3002\u5feb\u624b\u5728\u8fdb\u884c\u5927\u578b\u6d3b\u52a8\u4f8b\u5982\u6625\u8282\u3001\u5965\u8fd0\u65f6\uff0c\u6574\u4f53\u6570\u636e\u91cf\u5927\u5e45\u5ea6\u589e\u957f\uff0c\u5c40\u90e8\u6570\u636e\u5448\u6570\u500d\u589e\u957f\u3002\u4f46\u8ba1\u7b97\u8d44\u6e90\u662f\u6709\u9650\u7684\uff0c\u8ba1\u7b97\u8d44\u6e90\u7684\u589e\u957f\u5f80\u5f80\u4e0d\u80fd\u5339\u914d\u6570\u636e\u91cf\u7684\u589e\u957f\uff0c\u4e0d\u80fd\u8ba9\u6240\u6709\u7684\u4efb\u52a1\u548c\u5f80\u5e38\u4e00\u6837\u6309\u65f6\u4ea7\u51fa\u3002\u8fd9\u65f6\u5019\u6211\u4eec\u5c31\u9700\u8981\u8fdb\u884c\u5206\u7ea7\u4fdd\u969c\u3002<\/p>\n\n\n\n\u6240\u8c13\u5206\u7ea7\u4fdd\u969c\uff0c\u5c31\u662f\u5728\u8d44\u6e90\u6709\u9650\u7684\u60c5\u51b5\u4e0b\uff0c\u8ba9\u9ad8\u4f18\u4efb\u52a1\u5f97\u5230\u7279\u6743\uff0c\u4f18\u5148\u5f97\u5230\u6267\u884c\uff0c\u4f18\u5148\u83b7\u5f97\u5145\u8db3\u7684\u4f18\u8d28\u8d44\u6e90\uff0c\u4fdd\u969c\u4ea7\u51fa\u65f6\u95f4\uff1b\u800c\u4f4e\u4f18\u4efb\u52a1\u5219\u4f1a\u88ab\u5ef6\u8fdf\u8c03\u5ea6\u6267\u884c\uff0c\u5206\u914d\u66f4\u5c11\u7684\u8d44\u6e90\u3002<\/p>\n\n\n\n\u5728\u5feb\u624b\uff0c\u6574\u4e2a\u79bb\u7ebf\u4f53\u7cfb\uff0c\u5305\u62ec Kwaiflow\u3001Hive\u3001Yarn\u3001HDFS \u7b49\uff0c\u90fd\u5177\u6709\u5206\u7ea7\u4fdd\u969c\u7684\u80fd\u529b\u3002\u8fd9\u91cc\u4ecb\u7ecd Kwaiflow \u7684\u5206\u7ea7\u4fdd\u969c\u80fd\u529b\uff0c\u5305\u62ec\u4e09\u65b9\u9762\uff1a<\/p>\n\n\n\nKwaiflow \u8c03\u5ea6\u5668\u5177\u6709\u5206\u7ea7\u8c03\u5ea6\u7684\u80fd\u529b<\/strong>\u3002Kwaiflow \u8c03\u5ea6\u5668\u80fd\u611f\u77e5\u5230\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u7684\u72b6\u6001\uff0c\u5728\u8d44\u6e90\u4e0d\u8db3\u65f6\uff0cKwaiflow \u4efb\u52a1\u4f1a\u5728\u8c03\u5ea6\u5668\u6392\u961f\uff0c\u9ad8\u4f18\u4efb\u52a1\u6392\u5728\u524d\u9762\uff0c\u4f4e\u4f18\u4efb\u52a1\u6392\u5728\u540e\u9762\uff1b\u5f53\u8d44\u6e90\u5f97\u5230\u91ca\u653e\u65f6\uff0c\u9ad8\u4f18\u4efb\u52a1\u4f18\u5148\u88ab\u8c03\u5ea6\u3002<\/li>Kwaiflow \u7684\u6267\u884c\u5668\u6309\u7167\u4e0d\u540c\u4f18\u5148\u7ea7\u8fdb\u884c\u5206\u7ec4<\/strong>\u3002\u5305\u62ec\u4e09\u7ec4\uff1aP0 \u6267\u884c\u5668\u7ec4\u3001P1 \u6267\u884c\u5668\u7ec4\u4ee5\u53ca P2 P3 \u6267\u884c\u5668\u7ec4\u3002P0 \u6267\u884c\u5668\u7528\u4e8e\u6267\u884c\u6700\u9ad8\u4f18\u5148\u7ea7\u7684 P0 \u4efb\u52a1\uff0c\u5177\u6709\u5145\u8db3\u7684 worker\uff0cP0 \u4efb\u52a1\u5b9e\u4f8b\u57fa\u672c\u4e0d\u4f1a\u5728\u6267\u884c\u5668\u5c42\u88ab\u9650\u5236\u3002\u5bf9\u4e8e P2 P3 \u5206\u7ec4\uff0c\u5728\u8c03\u5ea6\u9ad8\u5cf0\u671f\uff0c\u4efb\u52a1\u5b9e\u4f8b\u5f88\u591a\u65f6\uff0c\u53ef\u80fd\u5b58\u5728\u6392\u961f\u6267\u884c\u7684\u60c5\u51b5\u3002<\/li>Kwaiflow \u5177\u6709\u8f83\u5f3a\u7684\u4eba\u5de5\u7ba1\u63a7\u80fd\u529b<\/strong>\uff0c\u53ef\u4ee5\u4eba\u4e3a\u5730\u5141\u8bb8\u6216\u8005\u963b\u65ad\u67d0\u4e9b\u4efb\u52a1\u7684\u8c03\u5ea6\u3002\u5178\u578b\u4f7f\u7528\u573a\u666f\u662f\u5728\u5927\u578b\u6d3b\u52a8\u671f\u95f4\uff0c\u53ef\u4ee5\u6839\u636e\u9884\u6848\uff0c\u5bf9\u4f4e\u4f18\u5148\u7ea7\u7684\u4efb\u52a1\u4eba\u4e3a\u8fdb\u884c\u5ef6\u8fdf\u8c03\u5ea6\uff0c\u4fdd\u969c\u8d44\u6e90\u5206\u914d\u7ed9\u9ad8\u4f18\u4efb\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u524d\u9762\u4e3b\u8981\u4ece\u7cfb\u7edf\u8bbe\u8ba1\u65b9\u9762\u4ecb\u7ecd\u4e86\u7ebf\u4e0a\u6545\u969c\u7684\u81ea\u52a8\u89c4\u907f\u3002Kwaiflow \u9ad8\u53ef\u7528\u7684\u7b2c\u4e8c\u4e2a\u65b9\u9762\u662f\u6545\u969c\u7684\u53d1\u73b0\u548c\u5904\u7406\u3002\u5982\u679c\u6545\u969c\u53d1\u73b0\u4e0d\u53ca\u65f6\u3001\u5904\u7406\u4e0d\u8fc5\u901f\uff0c\u4f1a\u51fa\u73b0\u5927\u89c4\u6a21\u7684\u8c03\u5ea6\u9519\u8bef\u6216\u8005\u8c03\u5ea6\u5ef6\u8fdf\u6545\u969c\u3002\u5728\u5feb\u624b\u8c03\u5ea6\u7cfb\u7edf\u53d1\u5c55\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u78b0\u5230\u8fc7\u8fd9\u6837\u7684\u5927\u6545\u969c\uff0c\u4e3a\u4e86\u907f\u514d\u518d\u6b21\u53d1\u751f\uff0c\u6211\u4eec\u5efa\u7acb\u4e86\u5b8c\u5907\u7684\u76d1\u63a7\u9884\u6848\u4f53\u7cfb\u3002<\/p>\n\n\n\n\u5728\u76d1\u63a7\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5206\u6210\u4f7f\u7528\u5c42\u3001\u670d\u52a1\u5c42\u3001\u4f9d\u8d56\u5c42\u4e09\u4e2a\u5c42\u6b21\uff0c\u5e76\u5212\u5206\u76d1\u63a7\u4f18\u5148\u7ea7\uff0c\u91c7\u7528\u4e0d\u540c\u7684\u54cd\u5e94\u65b9\u5f0f\u3002<\/li>\u5728\u6545\u969c\u9884\u6848\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u6709\u4e24\u7c7b\u9884\u6848\uff1a\u7cfb\u7edf\u6545\u969c\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u8c03\u5ea6\u7cfb\u7edf\u81ea\u8eab\u95ee\u9898\uff1b\u6570\u636e\u5f02\u5e38\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u94fe\u8def\u6570\u636e\u4e0d\u6b63\u786e\u7684\u95ee\u9898\u3002\u6211\u4eec\u6c89\u6dc0\u4e86\u591a\u573a\u666f\u7684\u963b\u65ad\u6062\u590d\u548c\u8865\u6570\u636e\u5de5\u5177\uff0c\u80fd\u591f\u5728\u6570\u5206\u949f\u5185\u542f\u52a8\u6570\u636e\u6062\u590d\u3002<\/li>\u5728\u6f14\u7ec3\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5b9a\u671f\u5bf9\u9884\u6848\u8fdb\u884c\u6f14\u7ec3\uff0c\u4fdd\u8bc1\u9884\u6848\u7684\u53ef\u7528\u6027\uff0c\u64cd\u4f5c\u7684\u719f\u7ec3\u6027\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n3. \u5173\u952e\u6280\u672f\uff1a\u5f00\u653e\u80fd\u529b<\/h1>\n\n\n\n\u5f00\u653e\u662f\u6570\u636e\u4e2d\u53f0\u7684\u6838\u5fc3\u7ade\u4e89\u529b\u3002\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u7ed9\u4e88\u4f7f\u7528\u8005\u81ea\u7531\u7684\u53d1\u6325\u7a7a\u95f4\uff0c\u6ee1\u8db3\u66f4\u591a\u4f7f\u7528\u573a\u666f\uff1b\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u6784\u5efa\u6570\u636e\u751f\u6001\uff0c\u63d0\u4f9b\u66f4\u4e30\u5bcc\u7684\u80fd\u529b\u3002Kwaiflow \u63d0\u4f9b\u4e86\u591a\u79cd\u5f00\u653e\u80fd\u529b\uff1a<\/p>\n\n\n\nKwaiflow \u5177\u6709\u5f00\u653e\u7684 API\uff0c\u652f\u6301\u591a\u8bed\u8a00 SDK\uff0c\u63d0\u4f9b\u4e86\u6807\u51c6\u5316\u7684\u63a5\u5165\u6d41\u7a0b\u3001\u4f7f\u7528\u624b\u518c\u548c\u63a5\u5165 demo\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u6807\u51c6\u7684\u4e8b\u4ef6\u3002\u5305\u62ec\u4efb\u52a1\u64cd\u4f5c\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d8\u66f4\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u8bca\u65ad\u4e8b\u4ef6\u7b49\u3002\u6839\u636e\u8fd9\u4e9b\u4e8b\u4ef6\uff0c\u53ef\u4ee5\u5b8c\u6574\u590d\u73b0\u51fa\u4efb\u52a1\u548c\u4efb\u52a1\u5b9e\u4f8b\u7684\u5168\u751f\u547d\u5468\u671f\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u63d2\u4ef6\u5316\u4efb\u52a1\u7c7b\u578b\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5b9a\u4e49\u548c\u5f00\u53d1\u81ea\u5b9a\u4e49\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u5e76\u8fdb\u884c\u7075\u6d3b\u6d4b\u8bd5\u3001\u7070\u5ea6\u4e0a\u7ebf\u548c\u7ba1\u7406\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86 Hook\uff0c\u53ef\u4ee5\u5728\u7528\u6237\u4ee3\u7801\u8fd0\u884c\u524d\u540e\u6267\u884c\u3002\u5305\u62ec\u6267\u884c\u524d\u7684 Prehook \u548c\u6267\u884c\u540e\u7684 Posthook\u3002\u5e38\u89c1\u573a\u666f\u5305\u62ec\u7528\u4e8e\u4ee3\u7801\u6e32\u67d3\u3001\u524d\u7f6e\u68c0\u67e5\u7684 Prehook\uff0c\u4ee5\u53ca\u7528\u4e8e\u6267\u884c\u540e\u6570\u636e\u8d28\u91cf\u68c0\u6d4b\u7684 Posthook\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u4e0e\u6210\u679c<\/strong><\/p>\n\n\n\n\u5982\u679c\u628a\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6bd4\u4f5c\u5927\u697c\u7684\u9aa8\u67b6\uff0c\u90a3\u4e48\u57fa\u4e8e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u5c31\u662f\u88c5\u4fee\u5b8c\u5584\u3001\u9002\u4e8e\u4eba\u5de5\u4f5c\u751f\u6d3b\u7684\u5927\u53a6\u3002\u901a\u8fc7\u5e94\u7528\uff0c\u80fd\u66f4\u597d\u5730\u4f53\u73b0\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4ef7\u503c\u3002\u5728\u5feb\u624b\uff0c\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4e00\u4e2a\u5178\u578b\u5e94\u7528\u3002<\/p>\n\n\n\n\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u5feb\u624b\u7684\u4e00\u7ad9\u5f0f\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u4f7f\u7528 kwaiflow \u4f5c\u4e3a\u7edf\u4e00\u7684\u7f16\u6392\u4e0e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u6784\u5efa\u4e86\u5404\u7c7b\u7684\u6570\u636e\u5f00\u53d1\u8fd0\u7ef4\u7b49\u670d\u52a1\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u67e5\u8be2\u3001\u540c\u6b65\u3001\u5f00\u53d1\u3001\u670d\u52a1\u5316\u3001\u8fd0\u7ef4\u3001\u7ba1\u7406\u7b49\u80fd\u529b\u3002<\/p>\n\n\n\n\u8be5\u5e73\u53f0\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u4e00\u7ad9\u5f0f<\/strong>\uff1a\u5e73\u53f0\u6db5\u76d6\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u7684\u5404\u73af\u8282\uff0c\u5305\u62ec\u6570\u636e\u63a5\u5165\u3001\u6570\u636e\u52a0\u5de5\u3001\u6570\u636e\u5206\u53d1\u548c\u6570\u636e\u670d\u52a1\u5316\u3002\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u6e90\u7ba1\u7406\uff0c\u521b\u5efa\u6570\u636e\u63a5\u5165\u4efb\u52a1\u5c06\u5404\u79cd\u6570\u636e\u6e90\u5bfc\u5165\u5230\u5927\u6570\u636e\u7cfb\u7edf\u4e2d\uff1b\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u667a\u80fd IDE \u7f16\u5199\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03 ETL \u4efb\u52a1\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5de5\u5904\u7406\uff0c\u4ea7\u751f\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b\u7528\u6237\u8fd8\u53ef\u4ee5\u521b\u5efa\u6570\u636e\u5206\u53d1\u4efb\u52a1\uff0c\u5c06\u9ad8\u4ef7\u503c\u6570\u636e\u5206\u53d1\u5230\u5176\u5b83\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u4f8b\u5982\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u975e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u7f13\u5b58\u7cfb\u7edf\u3001OLAP \u5f15\u64ce\u7b49\u3002\u7528\u6237\u4e5f\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u914d\u7f6e\u7684\u65b9\u5f0f\u521b\u5efa\u670d\u52a1\u5316 API\uff0c\u4e3a\u7ebf\u4e0a\u7cfb\u7edf\u63d0\u4f9b\u670d\u52a1\u3002<\/li>\u901a\u7528<\/strong>\uff1a\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u80fd\u7edf\u4e00\u8fd0\u7ef4 Kwaiflow \u6240\u6709\u4efb\u52a1\uff0c\u5305\u62ec\u4efb\u52a1\u8fd0\u7ef4\u3001\u5b9e\u4f8b\u8fd0\u7ef4\u3001\u94fe\u8def\u8fd0\u7ef4\u7b49\u65b9\u5f0f\uff0c\u9002\u5408\u6570\u636e\u5f00\u53d1\u3001\u5b9a\u65f6\u8c03\u5ea6\u3001\u89e6\u53d1\u5f0f\u8c03\u5ea6\u7b49\u573a\u666f\u3002<\/li>\u667a\u80fd<\/strong>\uff1a\u5728\u5f00\u53d1\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd IDE\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4ee3\u7801\u95ee\u9898\uff1b\u5728\u8fd0\u7ef4\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd\u76d1\u63a7\u3001\u667a\u80fd\u8bca\u65ad\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4efb\u52a1\u548c\u94fe\u8def\u95ee\u9898\uff0c\u5e76\u8f85\u52a9\u5b9a\u4f4d\u95ee\u9898\u539f\u56e0\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8981\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u4e0d\u4ec5\u8981\u6709\u5f3a\u5927\u7684\u81ea\u8eab\u80fd\u529b\uff0c\u66f4\u8981\u6709\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\u3002\u5728\u5feb\u624b\uff0cKwaiflow \u548c\u5927\u6570\u636e\u7684\u5176\u5b83\u7cfb\u7edf\u6df1\u5ea6\u96c6\u6210\uff0c\u63a5\u5165\u4e86 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u4fbf\u6377\u5730\u4f7f\u7528\u5176\u5b83\u5927\u6570\u636e\u7cfb\u7edf\u7684\u80fd\u529b\u3002\u53ef\u4ee5\u8bf4\uff0c\u81ea\u8eab\u80fd\u529b\u548c\u751f\u6001\u4f53\u7cfb\u5bf9 Kwaiflow \u6765\u8bf4\u540c\u7b49\u91cd\u8981\u3002<\/p>\n\n\n\n\u9996\u5148\uff0c\u5c31\u81ea\u8eab\u800c\u8a00\uff0cKwaiflow \u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u6267\u884c\u80fd\u529b\u3002\u5305\u62ec\u591a\u573a\u666f\u8c03\u5ea6\u80fd\u529b\u3001\u591a\u6837\u5316\u7684\u6267\u884c\u80fd\u529b\u3001\u6613\u7528\u7684\u8fd0\u7ef4\u80fd\u529b\u548c\u9ad8\u53ef\u7528\u7684\u7279\u6027\u3002<\/p>\n\n\n\n\u5176\u6b21\uff0cKwaiflow \u5177\u6709\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\u3002\u63a5\u5165 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u65b9\u4fbf\u5730\u4f7f\u7528\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\u3002<\/p>\n\n\n\n\u6700\u540e\uff0cKwaiflow \u65e0\u7f1d\u96c6\u6210\u4e86\u5176\u5b83\u4e2d\u53f0\u80fd\u529b\u3002\u5305\u62ec\u6570\u636e\u8d28\u91cf\u3001\u6570\u636e\u5b89\u5168\u4f53\u7cfb\u3001\u5b8c\u6574\u51c6\u786e\u7684\u4efb\u52a1\u5b9e\u4f8b\u8840\u7f18\u3001\u94fe\u8def\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5c06\u4ece\u6027\u80fd\u3001\u529f\u80fd\u548c\u4f7f\u7528\u60c5\u51b5\u4e09\u4e2a\u65b9\u9762\u4ecb\u7ecd Kwaiflow \u7684\u6210\u679c\u3002<\/p>\n\n\n\n\u5728\u6027\u80fd\u65b9\u9762<\/strong>\uff0c\u548c Airflow \u76f8\u6bd4\uff0c\u6709\u6781\u5927\u7684\u63d0\u5347\uff1a<\/p>\n\n\n\n\u5728\u89c4\u6a21\u4e0a\uff0cKwaiflow \u521d\u7248\u8bbe\u8ba1\u5bb9\u91cf\u4e3a\u767e\u4e07\u7ea7\u522b\u4efb\u52a1\uff0c\u5f53\u524d\u5df2\u6709\u6570\u5341\u4e07\u7684\u4efb\u52a1\u6570\uff0c\u548c Airflow \u5355\u96c6\u7fa4\u4e0d\u8d85\u8fc7 1 \u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\u3002<\/li>\u5728\u6027\u80fd\u4e0a\uff0cKwaiflow \u8c03\u5ea6\u9ad8\u5cf0\u671f\u7684\u8c03\u5ea6\u5ef6\u8fdf P99 \u5c0f\u4e8e 5 \u79d2\uff0c\u548c Airflow 5 \u5206\u949f\u76f8\u6bd4\uff0c\u6709\u6570\u91cf\u7ea7\u7684\u63d0\u5347\uff1bKwaiflow \u8d77\u8c03\u901f\u7387\u5341\u6570\u4e07\u6bcf\u5206\u949f\uff0c\u548c Airflow \u6570\u5343\u6bcf\u5206\u949f\u5bf9\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\uff1bKwaiflow \u8fd0\u884c\u7684\u5e76\u53d1\u5b9e\u4f8b\u6570\u5341\u6570\u4e07\u4e07\uff0c\u548c Airflow \u5c0f\u4e8e1\u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u5341\u6570\u500d\u3002<\/li>\u5728\u7a33\u5b9a\u6027\u4e0a\uff0cKwaiflow \u53ef\u7528\u6027\u4e3a 99.99%\uff0c Airflow \u5219\u4e3a 99.5%\uff1bKwaiflow \u5e74\u6545\u969c\u6570\u7ea6 1 \u4e2a\uff0c\u800c Airflow \u5e74\u5747\u4e3a 8 \u4e2a\u3002<\/li><\/ul>\n\n\n\n\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u5173\u952e\u6280\u672f<\/strong><\/p>\n\n\n\n1. \u5173\u952e\u6280\u672f\uff1a\u4f4e\u8c03\u5ea6\u5ef6\u8fdf<\/h1>\n\n\n\n\u8c03\u5ea6\u5ef6\u8fdf\u662f\u6307\u7406\u8bba\u8d77\u8c03\u65f6\u523b\u5230\u5b9e\u9645\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\u7684\u65f6\u95f4\u5dee\u3002\u8c03\u5ea6\u5ef6\u8fdf\u662f\u8861\u91cf\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6027\u80fd\u7684\u91cd\u8981\u6307\u6807\u4e4b\u4e00\uff0c\u8be5\u6307\u6807\u8d8a\u5c0f\u8d8a\u597d\u3002<\/p>\n\n\n\n\u4efb\u52a1\u5b9e\u4f8b\u4ece\u751f\u6210\uff0c\u5230\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\uff0c\u9700\u8981\u7ecf\u8fc7\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\u3001\u7b49\u5f85\u4f9d\u8d56\u5c31\u7eea\u3001\u7b49\u5f85\u8d44\u6e90\u5c31\u7eea\u548c\u51c6\u5907\u8fd0\u884c\u73af\u5883\u56db\u4e2a\u9636\u6bb5\u3002\u8981\u6709\u8f83\u5c0f\u7684\u8c03\u5ea6\u5ef6\u8fdf\uff0c\u5c31\u9700\u8981\u51cf\u5c11\u5404\u4e2a\u9636\u6bb5\u7684\u7cfb\u7edf\u65f6\u95f4\u635f\u8017\u3002\u8c03\u5ea6\u5ef6\u8fdf\u7684\u4e3b\u8981\u56e0\u7d20\u4e0e\u5904\u7406\u65b9\u6848\u6709\uff1a<\/p>\n\n\n\n\u5b9a\u65f6\u5668<\/strong>\u3002\u5b9a\u65f6\u5668\u5728\u63a2\u6d4b\u65f6\u95f4\u5c31\u7eea\u73af\u8282\u8d77\u4f5c\u7528\uff0c\u4e00\u4e2a\u7cbe\u51c6\u7684\u3001\u652f\u6301\u767e\u4e07\u7ea7\u522b\u9ad8\u541e\u5410\u7684\u5b9a\u65f6\u5668\uff0c\u5bf9\u4f4e\u8c03\u5ea6\u5ef6\u8fdf\u81f3\u5173\u91cd\u8981\u3002\u4f18\u79c0\u7684\u5b9a\u65f6\u5668\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u6570\u636e\u5e93\u8bbf\u95ee<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d1\u751f\u53d8\u66f4\u540e\uff0c\u9700\u8981\u5bf9\u72b6\u6001\u8fdb\u884c\u6301\u4e45\u5316\u3002\u901a\u8fc7\u7d22\u5f15\u3001\u8bfb\u5199\u5206\u79bb\u3001\u5206\u5e93\u5206\u8868\u7b49\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5c06\u5355\u6b21\u6570\u636e\u5e93\u8bbf\u95ee\u8017\u65f6\u63a7\u5236\u5728 1 ~ 3ms\uff0c\u603b\u4f53\u8017\u65f6\u63a7\u5236\u5728 10ms \u5de6\u53f3 \u3002<\/li>\u72b6\u6001\u8f6c\u53d8<\/strong>\u3002\u4efb\u52a1\u5b9e\u4f8b\u81ea\u751f\u6210\u5230\u8fd0\u884c\u7ed3\u675f\uff0c\u4f1a\u7ecf\u5386\u591a\u6b21\u72b6\u6001\u8f6c\u53d8\u3002\u72b6\u6001\u8f6c\u53d8\u9ad8\u6548\u4e0e\u5426\u662f\u8c03\u5ea6\u5ef6\u8fdf\u7684\u91cd\u8981\u56e0\u7d20\u3002\u4e00\u822c\u6765\u8bf4\u6709\u4e24\u79cd\u529e\u6cd5\uff1a\u8f6e\u8be2\u4e0e\u4e8b\u4ef6\u89e6\u53d1\u3002\u6211\u4eec\u91c7\u7528\u7684\u662f\u4e8b\u4ef6\u89e6\u53d1\u65b9\u5f0f\uff0c\u7b2c\u4e00\u65f6\u95f4\u611f\u77e5\u72b6\u6001\u8f6c\u53d8\u3002\u901a\u8fc7\u4e8b\u4ef6\u89e6\u53d1\uff0c\u65f6\u95f4\u635f\u8017\u53ef\u4ee5\u63a7\u5236\u5728\u6beb\u79d2\u5185\u3002<\/li>\u8fd0\u884c\u73af\u5883\u51c6\u5907<\/strong>\u3002\u8fd9\u4e2a\u73af\u8282\u4e3b\u8981\u5de5\u4f5c\u5305\u62ec\u52a0\u8f7d\u955c\u50cf\u3001\u521d\u59cb\u5316\u8fd0\u884c\u73af\u5883\u7b49\u3002\u6211\u4eec\u4e3b\u8981\u91c7\u7528\u4e86\u9884\u52a0\u8f7d\u548c\u955c\u50cf\u9884\u70ed\u6280\u672f\u3002\u4e0d\u540c\u7684\u8fd0\u884c\u73af\u5883\uff0c\u65f6\u95f4\u635f\u8017\u4e0d\u4e00\u6837\uff0c\u4f1a\u5728\u4e9a\u79d2\u5230\u5206\u949f\u4e0d\u7b49\u3002<\/li><\/ul>\n\n\n\n\u8fd9\u56db\u4e2a\u56e0\u7d20\u4e2d\uff0c\u540e\u4e24\u8005\u76f8\u5bf9\u8f83\u590d\u6742\uff0c\u63a5\u4e0b\u6765\u7740\u91cd\u4ecb\u7ecd\u72b6\u6001\u8f6c\u53d8\u548c\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e24\u90e8\u5206\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u9996\u5148\u770b\u72b6\u6001\u8f6c\u53d8\u8fd9\u4e2a\u56e0\u7d20\u3002\u4efb\u52a1\u4ece\u53d1\u5e03\uff0c\u5230\u8c03\u5ea6\u6267\u884c\u5b8c\u6210\uff0c\u4f1a\u7ecf\u5386\u6570\u6b21\u6216\u8005\u5341\u6570\u6b21\u72b6\u6001\u53d8\u5316\u3002\u5982\u4f55\u8fdb\u884c\u5feb\u901f\u9ad8\u6548\u5730\u72b6\u6001\u8f6c\u53d8\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u95ee\u9898\u3002Kwaiflow \u7684\u89e3\u51b3\u529e\u6cd5\u662f\u91c7\u7528 Akka actor\u3002\u5145\u5206\u5229\u7528\u4e86 akka actor \u9ad8\u6027\u80fd\u7279\u70b9\u3002<\/p>\n\n\n\n\u5177\u4f53\u6765\u8bb2\uff1a<\/p>\n\n\n\n1. Kwaiflow \u7684\u4efb\u52a1\u4ece API Server \u53d1\u5e03\u540e\uff0c\u7ecf\u8fc7 Entry Actor \u52a0\u8f7d\u5230 DagLoader Actors \u4e2d\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\uff1b<\/p>\n\n\n\n2. \u5728\u65f6\u95f4\u5c31\u7eea\u540e\uff0c\u7531 Instance Generator Actors \u751f\u6210\u4efb\u52a1\u5b9e\u4f8b\uff0c\u7136\u540e\u8fdb\u5165 Dependency Detector Actor \u63a2\u6d4b\u4e0a\u6e38\u4f9d\u8d56\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n3. \u5728\u4f9d\u8d56\u5c31\u7eea\u540e\uff0c\u8fdb\u5165 Resource Detector Actor \u63a2\u6d4b\u8d44\u6e90\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n4. \u5728\u8d44\u6e90\u5c31\u7eea\u540e\uff0c\u4efb\u52a1\u5b9e\u4f8b\u901a\u8fc7 Queue Service \u4e0b\u53d1\u5230 worker \u4e2d\u3002<\/p>\n\n\n\n5. \u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u88ab\u63a5\u6536\u540e\uff0c\u5c06\u4f1a\u7531 Processor Actor \u6267\u884c\uff0c\u6267\u884c\u524d\u540e\u4f1a\u4f9d\u6b21\u7ecf\u5386\u4ee3\u7801\u6e32\u67d3\u3001Prehook\u3001\u4ee3\u7801\u6267\u884c\u3001Posthook \u56db\u4e2a\u6b65\u9aa4\u3002<\/p>\n\n\n\n6. \u5982\u679c\u6267\u884c\u6210\u529f\uff0c\u5219\u6d41\u7a0b\u7ec8\u6b62\uff1b\u5982\u679c\u6267\u884c\u5931\u8d25\uff0cPosthook \u4f1a\u5c06\u4fe1\u606f\u901a\u8fc7 Processor Actor\u3001ResultHandlerActor \u4f20\u9012\u7ed9 scheduler \u7684 RetryerActor \u8fdb\u884c\u91cd\u8bd5\u64cd\u4f5c\u3002<\/p>\n\n\n\n\u6574\u4e2a\u6d41\u7a0b\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u5168\u6d41\u7a0b\u4e8b\u4ef6\u89e6\u53d1<\/strong>\uff1a\u65e0\u8f6e\u8be2\uff0c\u4efb\u52a1\u53d1\u5e03\u3001\u8c03\u5ea6\u3001\u6267\u884c\u3001\u91cd\u8bd5\uff0c\u5747\u4e3a\u4e8b\u4ef6\u89e6\u53d1\u3002<\/li>\u9ad8\u541e\u5410<\/strong>\uff1a\u91c7\u7528\u5f02\u6b65\u5e76\u53d1\u7684\u65b9\u5f0f\uff0c\u80fd\u5feb\u901f\u8c03\u8d77\u5927\u91cf\u4efb\u52a1\u5b9e\u4f8b<\/li>\u7b80\u5355\u6613\u7528<\/strong>\uff1a\u65e0\u9700\u4f7f\u7528\u5e95\u5c42 API \u8fdb\u884c\u9501\u548c\u7ebf\u7a0b\u7ba1\u7406\uff0c\u4e13\u6ce8\u4e1a\u52a1\u5b9e\u73b0\u3002<\/li><\/ul>\n\n\n\n\u91c7\u7528 actor\uff0c\u72b6\u6001\u8f6c\u53d8\u5bfc\u81f4\u7684\u65f6\u95f4\u635f\u8017\u63a7\u5236\u5728\u6beb\u79d2\u7ea7\u522b\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u63a5\u4e0b\u6765\u6211\u4eec\u770b\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e2a\u56e0\u7d20\u3002\u8fd9\u548c\u6267\u884c\u573a\u666f\u6709\u5173\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e0d\u540c\u7684\u6267\u884c\u573a\u666f\uff0cKwaiflow \u63d0\u4f9b\u4e86\u4e24\u79cd\u6267\u884c\u65b9\u5f0f\uff1a\u5bb9\u5668\u5316\u6267\u884c\u548c\u672c\u5730\u6267\u884c\u3002<\/p>\n\n\n\n\u5bb9\u5668\u5316\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u6bcf\u6b21\u6267\u884c\u524d\uff0c\u5728 k8s \u6309\u9700\u7533\u8bf7\u5bb9\u5668\u8d44\u6e90\uff0c\u5728\u5bb9\u5668\u4e2d\u6267\u884c\u4efb\u52a1\u5b9e\u4f8b\uff0c\u6267\u884c\u5b8c\u540e\uff0c\u53ca\u65f6\u91ca\u653e\u5bb9\u5668\u8d44\u6e90\u3002\u4f18\u70b9\u662f\u5b9e\u73b0\u4e86\u6267\u884c\u65f6\u7684\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\uff1b\u7f3a\u70b9\u662f\u6bcf\u6b21\u90fd\u9700\u8981\u7533\u8bf7\u548c\u521d\u59cb\u5316\u5bb9\u5668\u8d44\u6e90\uff0c\u542f\u52a8\u8017\u65f6\u957f\u3002\u5bb9\u5668\u5316\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Bash \u4efb\u52a1\u3002\u4e3a\u4e86\u51cf\u5c11\u5bb9\u5668\u5316\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\uff0c\u6211\u4eec\u5c06\u955c\u50cf\u5206\u4e3a\u81ea\u5b9a\u4e49\u955c\u50cf\u548c\u901a\u7528\u955c\u50cf\uff0c\u5bf9\u901a\u7528\u955c\u50cf\u8fdb\u884c\u9884\u70ed\uff0c\u63d0\u524d\u5206\u53d1\u5230\u673a\u5668\u4e2d\uff0c\u51cf\u5c11\u955c\u50cf\u4e0b\u8f7d\u8017\u65f6\u3002\u901a\u8fc7\u955c\u50cf\u9884\u70ed\uff0c\u53ef\u4ee5\u5c06\u542f\u52a8\u8017\u65f6\u4ece\u5206\u949f\u7ea7\u964d\u4f4e\u5230\u79d2\u7ea7\u3002<\/li>\u672c\u5730\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u673a\u4e2d\uff0c\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\u3002\u540c\u4e00\u4e2a worker \u673a\u4e2d\u7684\u6240\u6709\u4efb\u52a1\u5b9e\u4f8b\u5171\u4eab\u8ba1\u7b97\u8d44\u6e90\u548c\u6267\u884c\u73af\u5883\u3002\u4f18\u70b9\u662f\u542f\u52a8\u8017\u65f6\u77ed\uff0coverhead \u5c0f\uff1b\u7f3a\u70b9\u662f\u8d44\u6e90\u548c\u73af\u5883\u4e0d\u9694\u79bb\uff0c\u4e00\u4e2a\u4efb\u52a1\u5b9e\u4f8b\u6267\u884c\u5f02\u5e38\u6709\u53ef\u80fd\u5bfc\u81f4\u6574\u4e2a worker \u673a crash\u3002\u672c\u5730\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u4e0d\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Hive \u548c Sensor \u4efb\u52a1\u3002\u672c\u5730\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\u4e00\u822c\u5728\u4e9a\u79d2\u7ea7\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n2. \u5173\u952e\u6280\u672f\uff1a\u9ad8\u53ef\u7528<\/h1>\n\n\n\n\u9ad8\u53ef\u7528\u5bf9\u8c03\u5ea6\u7cfb\u7edf\u6765\u8bf4\u975e\u5e38\u91cd\u8981\u3002\u4e3a\u4e86\u4fdd\u969c Kwaiflow \u7684\u9ad8\u53ef\u7528\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e24\u65b9\u9762\u8fdb\u884c\u8003\u8651\uff1a\u7cfb\u7edf\u8bbe\u8ba1\u548c\u6545\u969c\u53d1\u73b0\u5904\u7406\u3002\u5728\u7cfb\u7edf\u8bbe\u8ba1\u4e0a\uff0cKwaiflow \u53ef\u4ee5\u505a\u5230\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5373\u4efb\u52a1\u5b9e\u4f8b\u5728\u590d\u6742\u73af\u5883\u4e2d Exactly Once \u6267\u884c\uff0c\u505a\u5230\u4e0d\u6f0f\uff0c\u4e14\u5c3d\u91cf\u4e0d\u91cd\u3002<\/p>\n\n\n\n\u5bf9\u4e8e\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5e38\u89c1\u7684\u6545\u969c\u573a\u666f\u5305\u62ec\u7ec4\u4ef6\u6545\u969c\u6216\u8005\u7ec4\u4ef6\u5931\u8054\u3002\u4f8b\u5982 scheduler crash\u3001\u5bb9\u5668\u5316\u4efb\u52a1\u4e0e worker \u5931\u8054\u7b49\u3002<\/p>\n\n\n\n\u4e3a\u4e86\u8fbe\u5230\u9ad8\u53ef\u9760\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e09\u65b9\u9762\u8003\u8651\uff1a<\/p>\n\n\n\nFailover \u673a\u5236\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u548c\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\uff0c\u6765\u5b9e\u73b0\u7ec4\u4ef6\u7684\u81ea\u52a8\u5bb9\u9519\u3002\u4f8b\u5982 Kwaiflow \u91c7\u7528\u4e3b\u5907 Master\uff0c\u591a worker \u7684\u8bbe\u8ba1\u6765\u907f\u514d\u5355\u70b9\u95ee\u9898\uff1b\u5404\u4e2a\u7ec4\u4ef6\u4e4b\u95f4\u91c7\u7528\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\u6765\u907f\u514d\u5931\u8054\u95ee\u9898\u3002\u534f\u8bae\u5305\u62ec scheduler Executor \u901a\u4fe1\u534f\u8bae\u3001Executor Runner \u901a\u4fe1\u534f\u8bae\u3001External Job \u901a\u4fe1\u534f\u8bae\u3002\u53f3\u56fe\u5c55\u793a\u4e86 Executor Runner \u901a\u4fe1\u534f\u8bae\u7684\u4e3b\u8981\u6d41\u7a0b\uff0c\u534f\u8bae\u89c4\u5b9a\u4e86\u4efb\u52a1\u63d0\u4ea4\u3001\u6b63\u5e38\u6267\u884c\u3001\u5f02\u5e38\u6267\u884c\u3001\u901a\u4fe1\u5931\u8054\u7684\u5904\u7406\u529e\u6cd5\uff0c\u4e0d\u4f9d\u8d56\u5916\u90e8\u7cfb\u7edf\u7684\u72b6\u6001\u3002<\/li>\u907f\u514d\u9057\u6f0f\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u6d88\u606f ack \u673a\u5236\uff0c\u4fdd\u969c\u6d88\u606f\u4e0d\u4e22\u5931\uff1b\u540c\u65f6\u901a\u8fc7\u5b9a\u671f\u515c\u5e95\u5de1\u68c0\uff0c\u4fdd\u969c\u4efb\u52a1\u5b9e\u4f8b\u4e0d\u9057\u6f0f\u3002<\/li>\u907f\u514d\u91cd\u590d\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u72b6\u6001\u673a\u8f6c\u79fb\u56fe\uff0c\u907f\u514d\u4e0d\u5408\u7406\u72b6\u6001\u8f6c\u53d8\uff1b\u540c\u65f6\u901a\u8fc7\u91cd\u8bd5\u524d\u6e05\u7406\u524d\u4e00\u4e2a\u5b9e\u4f8b\uff0c\u907f\u514d\u91cd\u590d\u6267\u884c\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u9ad8\u53ef\u7528\u65b9\u9762\uff0c\u8fd8\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u7cfb\u7edf\u8bbe\u8ba1\u662f\u5206\u7ea7\u4fdd\u969c\u3002\u5feb\u624b\u5728\u8fdb\u884c\u5927\u578b\u6d3b\u52a8\u4f8b\u5982\u6625\u8282\u3001\u5965\u8fd0\u65f6\uff0c\u6574\u4f53\u6570\u636e\u91cf\u5927\u5e45\u5ea6\u589e\u957f\uff0c\u5c40\u90e8\u6570\u636e\u5448\u6570\u500d\u589e\u957f\u3002\u4f46\u8ba1\u7b97\u8d44\u6e90\u662f\u6709\u9650\u7684\uff0c\u8ba1\u7b97\u8d44\u6e90\u7684\u589e\u957f\u5f80\u5f80\u4e0d\u80fd\u5339\u914d\u6570\u636e\u91cf\u7684\u589e\u957f\uff0c\u4e0d\u80fd\u8ba9\u6240\u6709\u7684\u4efb\u52a1\u548c\u5f80\u5e38\u4e00\u6837\u6309\u65f6\u4ea7\u51fa\u3002\u8fd9\u65f6\u5019\u6211\u4eec\u5c31\u9700\u8981\u8fdb\u884c\u5206\u7ea7\u4fdd\u969c\u3002<\/p>\n\n\n\n\u6240\u8c13\u5206\u7ea7\u4fdd\u969c\uff0c\u5c31\u662f\u5728\u8d44\u6e90\u6709\u9650\u7684\u60c5\u51b5\u4e0b\uff0c\u8ba9\u9ad8\u4f18\u4efb\u52a1\u5f97\u5230\u7279\u6743\uff0c\u4f18\u5148\u5f97\u5230\u6267\u884c\uff0c\u4f18\u5148\u83b7\u5f97\u5145\u8db3\u7684\u4f18\u8d28\u8d44\u6e90\uff0c\u4fdd\u969c\u4ea7\u51fa\u65f6\u95f4\uff1b\u800c\u4f4e\u4f18\u4efb\u52a1\u5219\u4f1a\u88ab\u5ef6\u8fdf\u8c03\u5ea6\u6267\u884c\uff0c\u5206\u914d\u66f4\u5c11\u7684\u8d44\u6e90\u3002<\/p>\n\n\n\n\u5728\u5feb\u624b\uff0c\u6574\u4e2a\u79bb\u7ebf\u4f53\u7cfb\uff0c\u5305\u62ec Kwaiflow\u3001Hive\u3001Yarn\u3001HDFS \u7b49\uff0c\u90fd\u5177\u6709\u5206\u7ea7\u4fdd\u969c\u7684\u80fd\u529b\u3002\u8fd9\u91cc\u4ecb\u7ecd Kwaiflow \u7684\u5206\u7ea7\u4fdd\u969c\u80fd\u529b\uff0c\u5305\u62ec\u4e09\u65b9\u9762\uff1a<\/p>\n\n\n\nKwaiflow \u8c03\u5ea6\u5668\u5177\u6709\u5206\u7ea7\u8c03\u5ea6\u7684\u80fd\u529b<\/strong>\u3002Kwaiflow \u8c03\u5ea6\u5668\u80fd\u611f\u77e5\u5230\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u7684\u72b6\u6001\uff0c\u5728\u8d44\u6e90\u4e0d\u8db3\u65f6\uff0cKwaiflow \u4efb\u52a1\u4f1a\u5728\u8c03\u5ea6\u5668\u6392\u961f\uff0c\u9ad8\u4f18\u4efb\u52a1\u6392\u5728\u524d\u9762\uff0c\u4f4e\u4f18\u4efb\u52a1\u6392\u5728\u540e\u9762\uff1b\u5f53\u8d44\u6e90\u5f97\u5230\u91ca\u653e\u65f6\uff0c\u9ad8\u4f18\u4efb\u52a1\u4f18\u5148\u88ab\u8c03\u5ea6\u3002<\/li>Kwaiflow \u7684\u6267\u884c\u5668\u6309\u7167\u4e0d\u540c\u4f18\u5148\u7ea7\u8fdb\u884c\u5206\u7ec4<\/strong>\u3002\u5305\u62ec\u4e09\u7ec4\uff1aP0 \u6267\u884c\u5668\u7ec4\u3001P1 \u6267\u884c\u5668\u7ec4\u4ee5\u53ca P2 P3 \u6267\u884c\u5668\u7ec4\u3002P0 \u6267\u884c\u5668\u7528\u4e8e\u6267\u884c\u6700\u9ad8\u4f18\u5148\u7ea7\u7684 P0 \u4efb\u52a1\uff0c\u5177\u6709\u5145\u8db3\u7684 worker\uff0cP0 \u4efb\u52a1\u5b9e\u4f8b\u57fa\u672c\u4e0d\u4f1a\u5728\u6267\u884c\u5668\u5c42\u88ab\u9650\u5236\u3002\u5bf9\u4e8e P2 P3 \u5206\u7ec4\uff0c\u5728\u8c03\u5ea6\u9ad8\u5cf0\u671f\uff0c\u4efb\u52a1\u5b9e\u4f8b\u5f88\u591a\u65f6\uff0c\u53ef\u80fd\u5b58\u5728\u6392\u961f\u6267\u884c\u7684\u60c5\u51b5\u3002<\/li>Kwaiflow \u5177\u6709\u8f83\u5f3a\u7684\u4eba\u5de5\u7ba1\u63a7\u80fd\u529b<\/strong>\uff0c\u53ef\u4ee5\u4eba\u4e3a\u5730\u5141\u8bb8\u6216\u8005\u963b\u65ad\u67d0\u4e9b\u4efb\u52a1\u7684\u8c03\u5ea6\u3002\u5178\u578b\u4f7f\u7528\u573a\u666f\u662f\u5728\u5927\u578b\u6d3b\u52a8\u671f\u95f4\uff0c\u53ef\u4ee5\u6839\u636e\u9884\u6848\uff0c\u5bf9\u4f4e\u4f18\u5148\u7ea7\u7684\u4efb\u52a1\u4eba\u4e3a\u8fdb\u884c\u5ef6\u8fdf\u8c03\u5ea6\uff0c\u4fdd\u969c\u8d44\u6e90\u5206\u914d\u7ed9\u9ad8\u4f18\u4efb\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u524d\u9762\u4e3b\u8981\u4ece\u7cfb\u7edf\u8bbe\u8ba1\u65b9\u9762\u4ecb\u7ecd\u4e86\u7ebf\u4e0a\u6545\u969c\u7684\u81ea\u52a8\u89c4\u907f\u3002Kwaiflow \u9ad8\u53ef\u7528\u7684\u7b2c\u4e8c\u4e2a\u65b9\u9762\u662f\u6545\u969c\u7684\u53d1\u73b0\u548c\u5904\u7406\u3002\u5982\u679c\u6545\u969c\u53d1\u73b0\u4e0d\u53ca\u65f6\u3001\u5904\u7406\u4e0d\u8fc5\u901f\uff0c\u4f1a\u51fa\u73b0\u5927\u89c4\u6a21\u7684\u8c03\u5ea6\u9519\u8bef\u6216\u8005\u8c03\u5ea6\u5ef6\u8fdf\u6545\u969c\u3002\u5728\u5feb\u624b\u8c03\u5ea6\u7cfb\u7edf\u53d1\u5c55\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u78b0\u5230\u8fc7\u8fd9\u6837\u7684\u5927\u6545\u969c\uff0c\u4e3a\u4e86\u907f\u514d\u518d\u6b21\u53d1\u751f\uff0c\u6211\u4eec\u5efa\u7acb\u4e86\u5b8c\u5907\u7684\u76d1\u63a7\u9884\u6848\u4f53\u7cfb\u3002<\/p>\n\n\n\n\u5728\u76d1\u63a7\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5206\u6210\u4f7f\u7528\u5c42\u3001\u670d\u52a1\u5c42\u3001\u4f9d\u8d56\u5c42\u4e09\u4e2a\u5c42\u6b21\uff0c\u5e76\u5212\u5206\u76d1\u63a7\u4f18\u5148\u7ea7\uff0c\u91c7\u7528\u4e0d\u540c\u7684\u54cd\u5e94\u65b9\u5f0f\u3002<\/li>\u5728\u6545\u969c\u9884\u6848\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u6709\u4e24\u7c7b\u9884\u6848\uff1a\u7cfb\u7edf\u6545\u969c\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u8c03\u5ea6\u7cfb\u7edf\u81ea\u8eab\u95ee\u9898\uff1b\u6570\u636e\u5f02\u5e38\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u94fe\u8def\u6570\u636e\u4e0d\u6b63\u786e\u7684\u95ee\u9898\u3002\u6211\u4eec\u6c89\u6dc0\u4e86\u591a\u573a\u666f\u7684\u963b\u65ad\u6062\u590d\u548c\u8865\u6570\u636e\u5de5\u5177\uff0c\u80fd\u591f\u5728\u6570\u5206\u949f\u5185\u542f\u52a8\u6570\u636e\u6062\u590d\u3002<\/li>\u5728\u6f14\u7ec3\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5b9a\u671f\u5bf9\u9884\u6848\u8fdb\u884c\u6f14\u7ec3\uff0c\u4fdd\u8bc1\u9884\u6848\u7684\u53ef\u7528\u6027\uff0c\u64cd\u4f5c\u7684\u719f\u7ec3\u6027\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n3. \u5173\u952e\u6280\u672f\uff1a\u5f00\u653e\u80fd\u529b<\/h1>\n\n\n\n\u5f00\u653e\u662f\u6570\u636e\u4e2d\u53f0\u7684\u6838\u5fc3\u7ade\u4e89\u529b\u3002\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u7ed9\u4e88\u4f7f\u7528\u8005\u81ea\u7531\u7684\u53d1\u6325\u7a7a\u95f4\uff0c\u6ee1\u8db3\u66f4\u591a\u4f7f\u7528\u573a\u666f\uff1b\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u6784\u5efa\u6570\u636e\u751f\u6001\uff0c\u63d0\u4f9b\u66f4\u4e30\u5bcc\u7684\u80fd\u529b\u3002Kwaiflow \u63d0\u4f9b\u4e86\u591a\u79cd\u5f00\u653e\u80fd\u529b\uff1a<\/p>\n\n\n\nKwaiflow \u5177\u6709\u5f00\u653e\u7684 API\uff0c\u652f\u6301\u591a\u8bed\u8a00 SDK\uff0c\u63d0\u4f9b\u4e86\u6807\u51c6\u5316\u7684\u63a5\u5165\u6d41\u7a0b\u3001\u4f7f\u7528\u624b\u518c\u548c\u63a5\u5165 demo\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u6807\u51c6\u7684\u4e8b\u4ef6\u3002\u5305\u62ec\u4efb\u52a1\u64cd\u4f5c\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d8\u66f4\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u8bca\u65ad\u4e8b\u4ef6\u7b49\u3002\u6839\u636e\u8fd9\u4e9b\u4e8b\u4ef6\uff0c\u53ef\u4ee5\u5b8c\u6574\u590d\u73b0\u51fa\u4efb\u52a1\u548c\u4efb\u52a1\u5b9e\u4f8b\u7684\u5168\u751f\u547d\u5468\u671f\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u63d2\u4ef6\u5316\u4efb\u52a1\u7c7b\u578b\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5b9a\u4e49\u548c\u5f00\u53d1\u81ea\u5b9a\u4e49\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u5e76\u8fdb\u884c\u7075\u6d3b\u6d4b\u8bd5\u3001\u7070\u5ea6\u4e0a\u7ebf\u548c\u7ba1\u7406\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86 Hook\uff0c\u53ef\u4ee5\u5728\u7528\u6237\u4ee3\u7801\u8fd0\u884c\u524d\u540e\u6267\u884c\u3002\u5305\u62ec\u6267\u884c\u524d\u7684 Prehook \u548c\u6267\u884c\u540e\u7684 Posthook\u3002\u5e38\u89c1\u573a\u666f\u5305\u62ec\u7528\u4e8e\u4ee3\u7801\u6e32\u67d3\u3001\u524d\u7f6e\u68c0\u67e5\u7684 Prehook\uff0c\u4ee5\u53ca\u7528\u4e8e\u6267\u884c\u540e\u6570\u636e\u8d28\u91cf\u68c0\u6d4b\u7684 Posthook\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u4e0e\u6210\u679c<\/strong><\/p>\n\n\n\n\u5982\u679c\u628a\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6bd4\u4f5c\u5927\u697c\u7684\u9aa8\u67b6\uff0c\u90a3\u4e48\u57fa\u4e8e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u5c31\u662f\u88c5\u4fee\u5b8c\u5584\u3001\u9002\u4e8e\u4eba\u5de5\u4f5c\u751f\u6d3b\u7684\u5927\u53a6\u3002\u901a\u8fc7\u5e94\u7528\uff0c\u80fd\u66f4\u597d\u5730\u4f53\u73b0\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4ef7\u503c\u3002\u5728\u5feb\u624b\uff0c\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4e00\u4e2a\u5178\u578b\u5e94\u7528\u3002<\/p>\n\n\n\n\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u5feb\u624b\u7684\u4e00\u7ad9\u5f0f\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u4f7f\u7528 kwaiflow \u4f5c\u4e3a\u7edf\u4e00\u7684\u7f16\u6392\u4e0e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u6784\u5efa\u4e86\u5404\u7c7b\u7684\u6570\u636e\u5f00\u53d1\u8fd0\u7ef4\u7b49\u670d\u52a1\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u67e5\u8be2\u3001\u540c\u6b65\u3001\u5f00\u53d1\u3001\u670d\u52a1\u5316\u3001\u8fd0\u7ef4\u3001\u7ba1\u7406\u7b49\u80fd\u529b\u3002<\/p>\n\n\n\n\u8be5\u5e73\u53f0\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u4e00\u7ad9\u5f0f<\/strong>\uff1a\u5e73\u53f0\u6db5\u76d6\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u7684\u5404\u73af\u8282\uff0c\u5305\u62ec\u6570\u636e\u63a5\u5165\u3001\u6570\u636e\u52a0\u5de5\u3001\u6570\u636e\u5206\u53d1\u548c\u6570\u636e\u670d\u52a1\u5316\u3002\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u6e90\u7ba1\u7406\uff0c\u521b\u5efa\u6570\u636e\u63a5\u5165\u4efb\u52a1\u5c06\u5404\u79cd\u6570\u636e\u6e90\u5bfc\u5165\u5230\u5927\u6570\u636e\u7cfb\u7edf\u4e2d\uff1b\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u667a\u80fd IDE \u7f16\u5199\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03 ETL \u4efb\u52a1\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5de5\u5904\u7406\uff0c\u4ea7\u751f\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b\u7528\u6237\u8fd8\u53ef\u4ee5\u521b\u5efa\u6570\u636e\u5206\u53d1\u4efb\u52a1\uff0c\u5c06\u9ad8\u4ef7\u503c\u6570\u636e\u5206\u53d1\u5230\u5176\u5b83\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u4f8b\u5982\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u975e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u7f13\u5b58\u7cfb\u7edf\u3001OLAP \u5f15\u64ce\u7b49\u3002\u7528\u6237\u4e5f\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u914d\u7f6e\u7684\u65b9\u5f0f\u521b\u5efa\u670d\u52a1\u5316 API\uff0c\u4e3a\u7ebf\u4e0a\u7cfb\u7edf\u63d0\u4f9b\u670d\u52a1\u3002<\/li>\u901a\u7528<\/strong>\uff1a\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u80fd\u7edf\u4e00\u8fd0\u7ef4 Kwaiflow \u6240\u6709\u4efb\u52a1\uff0c\u5305\u62ec\u4efb\u52a1\u8fd0\u7ef4\u3001\u5b9e\u4f8b\u8fd0\u7ef4\u3001\u94fe\u8def\u8fd0\u7ef4\u7b49\u65b9\u5f0f\uff0c\u9002\u5408\u6570\u636e\u5f00\u53d1\u3001\u5b9a\u65f6\u8c03\u5ea6\u3001\u89e6\u53d1\u5f0f\u8c03\u5ea6\u7b49\u573a\u666f\u3002<\/li>\u667a\u80fd<\/strong>\uff1a\u5728\u5f00\u53d1\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd IDE\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4ee3\u7801\u95ee\u9898\uff1b\u5728\u8fd0\u7ef4\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd\u76d1\u63a7\u3001\u667a\u80fd\u8bca\u65ad\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4efb\u52a1\u548c\u94fe\u8def\u95ee\u9898\uff0c\u5e76\u8f85\u52a9\u5b9a\u4f4d\u95ee\u9898\u539f\u56e0\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8981\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u4e0d\u4ec5\u8981\u6709\u5f3a\u5927\u7684\u81ea\u8eab\u80fd\u529b\uff0c\u66f4\u8981\u6709\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\u3002\u5728\u5feb\u624b\uff0cKwaiflow \u548c\u5927\u6570\u636e\u7684\u5176\u5b83\u7cfb\u7edf\u6df1\u5ea6\u96c6\u6210\uff0c\u63a5\u5165\u4e86 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u4fbf\u6377\u5730\u4f7f\u7528\u5176\u5b83\u5927\u6570\u636e\u7cfb\u7edf\u7684\u80fd\u529b\u3002\u53ef\u4ee5\u8bf4\uff0c\u81ea\u8eab\u80fd\u529b\u548c\u751f\u6001\u4f53\u7cfb\u5bf9 Kwaiflow \u6765\u8bf4\u540c\u7b49\u91cd\u8981\u3002<\/p>\n\n\n\n\u9996\u5148\uff0c\u5c31\u81ea\u8eab\u800c\u8a00\uff0cKwaiflow \u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u6267\u884c\u80fd\u529b\u3002\u5305\u62ec\u591a\u573a\u666f\u8c03\u5ea6\u80fd\u529b\u3001\u591a\u6837\u5316\u7684\u6267\u884c\u80fd\u529b\u3001\u6613\u7528\u7684\u8fd0\u7ef4\u80fd\u529b\u548c\u9ad8\u53ef\u7528\u7684\u7279\u6027\u3002<\/p>\n\n\n\n\u5176\u6b21\uff0cKwaiflow \u5177\u6709\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\u3002\u63a5\u5165 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u65b9\u4fbf\u5730\u4f7f\u7528\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\u3002<\/p>\n\n\n\n\u6700\u540e\uff0cKwaiflow \u65e0\u7f1d\u96c6\u6210\u4e86\u5176\u5b83\u4e2d\u53f0\u80fd\u529b\u3002\u5305\u62ec\u6570\u636e\u8d28\u91cf\u3001\u6570\u636e\u5b89\u5168\u4f53\u7cfb\u3001\u5b8c\u6574\u51c6\u786e\u7684\u4efb\u52a1\u5b9e\u4f8b\u8840\u7f18\u3001\u94fe\u8def\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5c06\u4ece\u6027\u80fd\u3001\u529f\u80fd\u548c\u4f7f\u7528\u60c5\u51b5\u4e09\u4e2a\u65b9\u9762\u4ecb\u7ecd Kwaiflow \u7684\u6210\u679c\u3002<\/p>\n\n\n\n\u5728\u6027\u80fd\u65b9\u9762<\/strong>\uff0c\u548c Airflow \u76f8\u6bd4\uff0c\u6709\u6781\u5927\u7684\u63d0\u5347\uff1a<\/p>\n\n\n\n\u5728\u89c4\u6a21\u4e0a\uff0cKwaiflow \u521d\u7248\u8bbe\u8ba1\u5bb9\u91cf\u4e3a\u767e\u4e07\u7ea7\u522b\u4efb\u52a1\uff0c\u5f53\u524d\u5df2\u6709\u6570\u5341\u4e07\u7684\u4efb\u52a1\u6570\uff0c\u548c Airflow \u5355\u96c6\u7fa4\u4e0d\u8d85\u8fc7 1 \u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\u3002<\/li>\u5728\u6027\u80fd\u4e0a\uff0cKwaiflow \u8c03\u5ea6\u9ad8\u5cf0\u671f\u7684\u8c03\u5ea6\u5ef6\u8fdf P99 \u5c0f\u4e8e 5 \u79d2\uff0c\u548c Airflow 5 \u5206\u949f\u76f8\u6bd4\uff0c\u6709\u6570\u91cf\u7ea7\u7684\u63d0\u5347\uff1bKwaiflow \u8d77\u8c03\u901f\u7387\u5341\u6570\u4e07\u6bcf\u5206\u949f\uff0c\u548c Airflow \u6570\u5343\u6bcf\u5206\u949f\u5bf9\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\uff1bKwaiflow \u8fd0\u884c\u7684\u5e76\u53d1\u5b9e\u4f8b\u6570\u5341\u6570\u4e07\u4e07\uff0c\u548c Airflow \u5c0f\u4e8e1\u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u5341\u6570\u500d\u3002<\/li>\u5728\u7a33\u5b9a\u6027\u4e0a\uff0cKwaiflow \u53ef\u7528\u6027\u4e3a 99.99%\uff0c Airflow \u5219\u4e3a 99.5%\uff1bKwaiflow \u5e74\u6545\u969c\u6570\u7ea6 1 \u4e2a\uff0c\u800c Airflow \u5e74\u5747\u4e3a 8 \u4e2a\u3002<\/li><\/ul>\n\n\n\n\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u8c03\u5ea6\u5ef6\u8fdf\u662f\u6307\u7406\u8bba\u8d77\u8c03\u65f6\u523b\u5230\u5b9e\u9645\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\u7684\u65f6\u95f4\u5dee\u3002\u8c03\u5ea6\u5ef6\u8fdf\u662f\u8861\u91cf\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6027\u80fd\u7684\u91cd\u8981\u6307\u6807\u4e4b\u4e00\uff0c\u8be5\u6307\u6807\u8d8a\u5c0f\u8d8a\u597d\u3002<\/p>\n\n\n\n
\u4efb\u52a1\u5b9e\u4f8b\u4ece\u751f\u6210\uff0c\u5230\u5f00\u59cb\u8fd0\u884c\u7528\u6237\u4ee3\u7801\uff0c\u9700\u8981\u7ecf\u8fc7\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\u3001\u7b49\u5f85\u4f9d\u8d56\u5c31\u7eea\u3001\u7b49\u5f85\u8d44\u6e90\u5c31\u7eea\u548c\u51c6\u5907\u8fd0\u884c\u73af\u5883\u56db\u4e2a\u9636\u6bb5\u3002\u8981\u6709\u8f83\u5c0f\u7684\u8c03\u5ea6\u5ef6\u8fdf\uff0c\u5c31\u9700\u8981\u51cf\u5c11\u5404\u4e2a\u9636\u6bb5\u7684\u7cfb\u7edf\u65f6\u95f4\u635f\u8017\u3002\u8c03\u5ea6\u5ef6\u8fdf\u7684\u4e3b\u8981\u56e0\u7d20\u4e0e\u5904\u7406\u65b9\u6848\u6709\uff1a<\/p>\n\n\n\n
\u8fd9\u56db\u4e2a\u56e0\u7d20\u4e2d\uff0c\u540e\u4e24\u8005\u76f8\u5bf9\u8f83\u590d\u6742\uff0c\u63a5\u4e0b\u6765\u7740\u91cd\u4ecb\u7ecd\u72b6\u6001\u8f6c\u53d8\u548c\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e24\u90e8\u5206\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u9996\u5148\u770b\u72b6\u6001\u8f6c\u53d8\u8fd9\u4e2a\u56e0\u7d20\u3002\u4efb\u52a1\u4ece\u53d1\u5e03\uff0c\u5230\u8c03\u5ea6\u6267\u884c\u5b8c\u6210\uff0c\u4f1a\u7ecf\u5386\u6570\u6b21\u6216\u8005\u5341\u6570\u6b21\u72b6\u6001\u53d8\u5316\u3002\u5982\u4f55\u8fdb\u884c\u5feb\u901f\u9ad8\u6548\u5730\u72b6\u6001\u8f6c\u53d8\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u95ee\u9898\u3002Kwaiflow \u7684\u89e3\u51b3\u529e\u6cd5\u662f\u91c7\u7528 Akka actor\u3002\u5145\u5206\u5229\u7528\u4e86 akka actor \u9ad8\u6027\u80fd\u7279\u70b9\u3002<\/p>\n\n\n\n\u5177\u4f53\u6765\u8bb2\uff1a<\/p>\n\n\n\n1. Kwaiflow \u7684\u4efb\u52a1\u4ece API Server \u53d1\u5e03\u540e\uff0c\u7ecf\u8fc7 Entry Actor \u52a0\u8f7d\u5230 DagLoader Actors \u4e2d\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\uff1b<\/p>\n\n\n\n2. \u5728\u65f6\u95f4\u5c31\u7eea\u540e\uff0c\u7531 Instance Generator Actors \u751f\u6210\u4efb\u52a1\u5b9e\u4f8b\uff0c\u7136\u540e\u8fdb\u5165 Dependency Detector Actor \u63a2\u6d4b\u4e0a\u6e38\u4f9d\u8d56\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n3. \u5728\u4f9d\u8d56\u5c31\u7eea\u540e\uff0c\u8fdb\u5165 Resource Detector Actor \u63a2\u6d4b\u8d44\u6e90\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n4. \u5728\u8d44\u6e90\u5c31\u7eea\u540e\uff0c\u4efb\u52a1\u5b9e\u4f8b\u901a\u8fc7 Queue Service \u4e0b\u53d1\u5230 worker \u4e2d\u3002<\/p>\n\n\n\n5. \u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u88ab\u63a5\u6536\u540e\uff0c\u5c06\u4f1a\u7531 Processor Actor \u6267\u884c\uff0c\u6267\u884c\u524d\u540e\u4f1a\u4f9d\u6b21\u7ecf\u5386\u4ee3\u7801\u6e32\u67d3\u3001Prehook\u3001\u4ee3\u7801\u6267\u884c\u3001Posthook \u56db\u4e2a\u6b65\u9aa4\u3002<\/p>\n\n\n\n6. \u5982\u679c\u6267\u884c\u6210\u529f\uff0c\u5219\u6d41\u7a0b\u7ec8\u6b62\uff1b\u5982\u679c\u6267\u884c\u5931\u8d25\uff0cPosthook \u4f1a\u5c06\u4fe1\u606f\u901a\u8fc7 Processor Actor\u3001ResultHandlerActor \u4f20\u9012\u7ed9 scheduler \u7684 RetryerActor \u8fdb\u884c\u91cd\u8bd5\u64cd\u4f5c\u3002<\/p>\n\n\n\n\u6574\u4e2a\u6d41\u7a0b\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u5168\u6d41\u7a0b\u4e8b\u4ef6\u89e6\u53d1<\/strong>\uff1a\u65e0\u8f6e\u8be2\uff0c\u4efb\u52a1\u53d1\u5e03\u3001\u8c03\u5ea6\u3001\u6267\u884c\u3001\u91cd\u8bd5\uff0c\u5747\u4e3a\u4e8b\u4ef6\u89e6\u53d1\u3002<\/li>\u9ad8\u541e\u5410<\/strong>\uff1a\u91c7\u7528\u5f02\u6b65\u5e76\u53d1\u7684\u65b9\u5f0f\uff0c\u80fd\u5feb\u901f\u8c03\u8d77\u5927\u91cf\u4efb\u52a1\u5b9e\u4f8b<\/li>\u7b80\u5355\u6613\u7528<\/strong>\uff1a\u65e0\u9700\u4f7f\u7528\u5e95\u5c42 API \u8fdb\u884c\u9501\u548c\u7ebf\u7a0b\u7ba1\u7406\uff0c\u4e13\u6ce8\u4e1a\u52a1\u5b9e\u73b0\u3002<\/li><\/ul>\n\n\n\n\u91c7\u7528 actor\uff0c\u72b6\u6001\u8f6c\u53d8\u5bfc\u81f4\u7684\u65f6\u95f4\u635f\u8017\u63a7\u5236\u5728\u6beb\u79d2\u7ea7\u522b\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u63a5\u4e0b\u6765\u6211\u4eec\u770b\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e2a\u56e0\u7d20\u3002\u8fd9\u548c\u6267\u884c\u573a\u666f\u6709\u5173\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e0d\u540c\u7684\u6267\u884c\u573a\u666f\uff0cKwaiflow \u63d0\u4f9b\u4e86\u4e24\u79cd\u6267\u884c\u65b9\u5f0f\uff1a\u5bb9\u5668\u5316\u6267\u884c\u548c\u672c\u5730\u6267\u884c\u3002<\/p>\n\n\n\n\u5bb9\u5668\u5316\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u6bcf\u6b21\u6267\u884c\u524d\uff0c\u5728 k8s \u6309\u9700\u7533\u8bf7\u5bb9\u5668\u8d44\u6e90\uff0c\u5728\u5bb9\u5668\u4e2d\u6267\u884c\u4efb\u52a1\u5b9e\u4f8b\uff0c\u6267\u884c\u5b8c\u540e\uff0c\u53ca\u65f6\u91ca\u653e\u5bb9\u5668\u8d44\u6e90\u3002\u4f18\u70b9\u662f\u5b9e\u73b0\u4e86\u6267\u884c\u65f6\u7684\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\uff1b\u7f3a\u70b9\u662f\u6bcf\u6b21\u90fd\u9700\u8981\u7533\u8bf7\u548c\u521d\u59cb\u5316\u5bb9\u5668\u8d44\u6e90\uff0c\u542f\u52a8\u8017\u65f6\u957f\u3002\u5bb9\u5668\u5316\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Bash \u4efb\u52a1\u3002\u4e3a\u4e86\u51cf\u5c11\u5bb9\u5668\u5316\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\uff0c\u6211\u4eec\u5c06\u955c\u50cf\u5206\u4e3a\u81ea\u5b9a\u4e49\u955c\u50cf\u548c\u901a\u7528\u955c\u50cf\uff0c\u5bf9\u901a\u7528\u955c\u50cf\u8fdb\u884c\u9884\u70ed\uff0c\u63d0\u524d\u5206\u53d1\u5230\u673a\u5668\u4e2d\uff0c\u51cf\u5c11\u955c\u50cf\u4e0b\u8f7d\u8017\u65f6\u3002\u901a\u8fc7\u955c\u50cf\u9884\u70ed\uff0c\u53ef\u4ee5\u5c06\u542f\u52a8\u8017\u65f6\u4ece\u5206\u949f\u7ea7\u964d\u4f4e\u5230\u79d2\u7ea7\u3002<\/li>\u672c\u5730\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u673a\u4e2d\uff0c\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\u3002\u540c\u4e00\u4e2a worker \u673a\u4e2d\u7684\u6240\u6709\u4efb\u52a1\u5b9e\u4f8b\u5171\u4eab\u8ba1\u7b97\u8d44\u6e90\u548c\u6267\u884c\u73af\u5883\u3002\u4f18\u70b9\u662f\u542f\u52a8\u8017\u65f6\u77ed\uff0coverhead \u5c0f\uff1b\u7f3a\u70b9\u662f\u8d44\u6e90\u548c\u73af\u5883\u4e0d\u9694\u79bb\uff0c\u4e00\u4e2a\u4efb\u52a1\u5b9e\u4f8b\u6267\u884c\u5f02\u5e38\u6709\u53ef\u80fd\u5bfc\u81f4\u6574\u4e2a worker \u673a crash\u3002\u672c\u5730\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u4e0d\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Hive \u548c Sensor \u4efb\u52a1\u3002\u672c\u5730\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\u4e00\u822c\u5728\u4e9a\u79d2\u7ea7\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n2. \u5173\u952e\u6280\u672f\uff1a\u9ad8\u53ef\u7528<\/h1>\n\n\n\n\u9ad8\u53ef\u7528\u5bf9\u8c03\u5ea6\u7cfb\u7edf\u6765\u8bf4\u975e\u5e38\u91cd\u8981\u3002\u4e3a\u4e86\u4fdd\u969c Kwaiflow \u7684\u9ad8\u53ef\u7528\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e24\u65b9\u9762\u8fdb\u884c\u8003\u8651\uff1a\u7cfb\u7edf\u8bbe\u8ba1\u548c\u6545\u969c\u53d1\u73b0\u5904\u7406\u3002\u5728\u7cfb\u7edf\u8bbe\u8ba1\u4e0a\uff0cKwaiflow \u53ef\u4ee5\u505a\u5230\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5373\u4efb\u52a1\u5b9e\u4f8b\u5728\u590d\u6742\u73af\u5883\u4e2d Exactly Once \u6267\u884c\uff0c\u505a\u5230\u4e0d\u6f0f\uff0c\u4e14\u5c3d\u91cf\u4e0d\u91cd\u3002<\/p>\n\n\n\n\u5bf9\u4e8e\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5e38\u89c1\u7684\u6545\u969c\u573a\u666f\u5305\u62ec\u7ec4\u4ef6\u6545\u969c\u6216\u8005\u7ec4\u4ef6\u5931\u8054\u3002\u4f8b\u5982 scheduler crash\u3001\u5bb9\u5668\u5316\u4efb\u52a1\u4e0e worker \u5931\u8054\u7b49\u3002<\/p>\n\n\n\n\u4e3a\u4e86\u8fbe\u5230\u9ad8\u53ef\u9760\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e09\u65b9\u9762\u8003\u8651\uff1a<\/p>\n\n\n\nFailover \u673a\u5236\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u548c\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\uff0c\u6765\u5b9e\u73b0\u7ec4\u4ef6\u7684\u81ea\u52a8\u5bb9\u9519\u3002\u4f8b\u5982 Kwaiflow \u91c7\u7528\u4e3b\u5907 Master\uff0c\u591a worker \u7684\u8bbe\u8ba1\u6765\u907f\u514d\u5355\u70b9\u95ee\u9898\uff1b\u5404\u4e2a\u7ec4\u4ef6\u4e4b\u95f4\u91c7\u7528\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\u6765\u907f\u514d\u5931\u8054\u95ee\u9898\u3002\u534f\u8bae\u5305\u62ec scheduler Executor \u901a\u4fe1\u534f\u8bae\u3001Executor Runner \u901a\u4fe1\u534f\u8bae\u3001External Job \u901a\u4fe1\u534f\u8bae\u3002\u53f3\u56fe\u5c55\u793a\u4e86 Executor Runner \u901a\u4fe1\u534f\u8bae\u7684\u4e3b\u8981\u6d41\u7a0b\uff0c\u534f\u8bae\u89c4\u5b9a\u4e86\u4efb\u52a1\u63d0\u4ea4\u3001\u6b63\u5e38\u6267\u884c\u3001\u5f02\u5e38\u6267\u884c\u3001\u901a\u4fe1\u5931\u8054\u7684\u5904\u7406\u529e\u6cd5\uff0c\u4e0d\u4f9d\u8d56\u5916\u90e8\u7cfb\u7edf\u7684\u72b6\u6001\u3002<\/li>\u907f\u514d\u9057\u6f0f\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u6d88\u606f ack \u673a\u5236\uff0c\u4fdd\u969c\u6d88\u606f\u4e0d\u4e22\u5931\uff1b\u540c\u65f6\u901a\u8fc7\u5b9a\u671f\u515c\u5e95\u5de1\u68c0\uff0c\u4fdd\u969c\u4efb\u52a1\u5b9e\u4f8b\u4e0d\u9057\u6f0f\u3002<\/li>\u907f\u514d\u91cd\u590d\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u72b6\u6001\u673a\u8f6c\u79fb\u56fe\uff0c\u907f\u514d\u4e0d\u5408\u7406\u72b6\u6001\u8f6c\u53d8\uff1b\u540c\u65f6\u901a\u8fc7\u91cd\u8bd5\u524d\u6e05\u7406\u524d\u4e00\u4e2a\u5b9e\u4f8b\uff0c\u907f\u514d\u91cd\u590d\u6267\u884c\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u9ad8\u53ef\u7528\u65b9\u9762\uff0c\u8fd8\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u7cfb\u7edf\u8bbe\u8ba1\u662f\u5206\u7ea7\u4fdd\u969c\u3002\u5feb\u624b\u5728\u8fdb\u884c\u5927\u578b\u6d3b\u52a8\u4f8b\u5982\u6625\u8282\u3001\u5965\u8fd0\u65f6\uff0c\u6574\u4f53\u6570\u636e\u91cf\u5927\u5e45\u5ea6\u589e\u957f\uff0c\u5c40\u90e8\u6570\u636e\u5448\u6570\u500d\u589e\u957f\u3002\u4f46\u8ba1\u7b97\u8d44\u6e90\u662f\u6709\u9650\u7684\uff0c\u8ba1\u7b97\u8d44\u6e90\u7684\u589e\u957f\u5f80\u5f80\u4e0d\u80fd\u5339\u914d\u6570\u636e\u91cf\u7684\u589e\u957f\uff0c\u4e0d\u80fd\u8ba9\u6240\u6709\u7684\u4efb\u52a1\u548c\u5f80\u5e38\u4e00\u6837\u6309\u65f6\u4ea7\u51fa\u3002\u8fd9\u65f6\u5019\u6211\u4eec\u5c31\u9700\u8981\u8fdb\u884c\u5206\u7ea7\u4fdd\u969c\u3002<\/p>\n\n\n\n\u6240\u8c13\u5206\u7ea7\u4fdd\u969c\uff0c\u5c31\u662f\u5728\u8d44\u6e90\u6709\u9650\u7684\u60c5\u51b5\u4e0b\uff0c\u8ba9\u9ad8\u4f18\u4efb\u52a1\u5f97\u5230\u7279\u6743\uff0c\u4f18\u5148\u5f97\u5230\u6267\u884c\uff0c\u4f18\u5148\u83b7\u5f97\u5145\u8db3\u7684\u4f18\u8d28\u8d44\u6e90\uff0c\u4fdd\u969c\u4ea7\u51fa\u65f6\u95f4\uff1b\u800c\u4f4e\u4f18\u4efb\u52a1\u5219\u4f1a\u88ab\u5ef6\u8fdf\u8c03\u5ea6\u6267\u884c\uff0c\u5206\u914d\u66f4\u5c11\u7684\u8d44\u6e90\u3002<\/p>\n\n\n\n\u5728\u5feb\u624b\uff0c\u6574\u4e2a\u79bb\u7ebf\u4f53\u7cfb\uff0c\u5305\u62ec Kwaiflow\u3001Hive\u3001Yarn\u3001HDFS \u7b49\uff0c\u90fd\u5177\u6709\u5206\u7ea7\u4fdd\u969c\u7684\u80fd\u529b\u3002\u8fd9\u91cc\u4ecb\u7ecd Kwaiflow \u7684\u5206\u7ea7\u4fdd\u969c\u80fd\u529b\uff0c\u5305\u62ec\u4e09\u65b9\u9762\uff1a<\/p>\n\n\n\nKwaiflow \u8c03\u5ea6\u5668\u5177\u6709\u5206\u7ea7\u8c03\u5ea6\u7684\u80fd\u529b<\/strong>\u3002Kwaiflow \u8c03\u5ea6\u5668\u80fd\u611f\u77e5\u5230\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u7684\u72b6\u6001\uff0c\u5728\u8d44\u6e90\u4e0d\u8db3\u65f6\uff0cKwaiflow \u4efb\u52a1\u4f1a\u5728\u8c03\u5ea6\u5668\u6392\u961f\uff0c\u9ad8\u4f18\u4efb\u52a1\u6392\u5728\u524d\u9762\uff0c\u4f4e\u4f18\u4efb\u52a1\u6392\u5728\u540e\u9762\uff1b\u5f53\u8d44\u6e90\u5f97\u5230\u91ca\u653e\u65f6\uff0c\u9ad8\u4f18\u4efb\u52a1\u4f18\u5148\u88ab\u8c03\u5ea6\u3002<\/li>Kwaiflow \u7684\u6267\u884c\u5668\u6309\u7167\u4e0d\u540c\u4f18\u5148\u7ea7\u8fdb\u884c\u5206\u7ec4<\/strong>\u3002\u5305\u62ec\u4e09\u7ec4\uff1aP0 \u6267\u884c\u5668\u7ec4\u3001P1 \u6267\u884c\u5668\u7ec4\u4ee5\u53ca P2 P3 \u6267\u884c\u5668\u7ec4\u3002P0 \u6267\u884c\u5668\u7528\u4e8e\u6267\u884c\u6700\u9ad8\u4f18\u5148\u7ea7\u7684 P0 \u4efb\u52a1\uff0c\u5177\u6709\u5145\u8db3\u7684 worker\uff0cP0 \u4efb\u52a1\u5b9e\u4f8b\u57fa\u672c\u4e0d\u4f1a\u5728\u6267\u884c\u5668\u5c42\u88ab\u9650\u5236\u3002\u5bf9\u4e8e P2 P3 \u5206\u7ec4\uff0c\u5728\u8c03\u5ea6\u9ad8\u5cf0\u671f\uff0c\u4efb\u52a1\u5b9e\u4f8b\u5f88\u591a\u65f6\uff0c\u53ef\u80fd\u5b58\u5728\u6392\u961f\u6267\u884c\u7684\u60c5\u51b5\u3002<\/li>Kwaiflow \u5177\u6709\u8f83\u5f3a\u7684\u4eba\u5de5\u7ba1\u63a7\u80fd\u529b<\/strong>\uff0c\u53ef\u4ee5\u4eba\u4e3a\u5730\u5141\u8bb8\u6216\u8005\u963b\u65ad\u67d0\u4e9b\u4efb\u52a1\u7684\u8c03\u5ea6\u3002\u5178\u578b\u4f7f\u7528\u573a\u666f\u662f\u5728\u5927\u578b\u6d3b\u52a8\u671f\u95f4\uff0c\u53ef\u4ee5\u6839\u636e\u9884\u6848\uff0c\u5bf9\u4f4e\u4f18\u5148\u7ea7\u7684\u4efb\u52a1\u4eba\u4e3a\u8fdb\u884c\u5ef6\u8fdf\u8c03\u5ea6\uff0c\u4fdd\u969c\u8d44\u6e90\u5206\u914d\u7ed9\u9ad8\u4f18\u4efb\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u524d\u9762\u4e3b\u8981\u4ece\u7cfb\u7edf\u8bbe\u8ba1\u65b9\u9762\u4ecb\u7ecd\u4e86\u7ebf\u4e0a\u6545\u969c\u7684\u81ea\u52a8\u89c4\u907f\u3002Kwaiflow \u9ad8\u53ef\u7528\u7684\u7b2c\u4e8c\u4e2a\u65b9\u9762\u662f\u6545\u969c\u7684\u53d1\u73b0\u548c\u5904\u7406\u3002\u5982\u679c\u6545\u969c\u53d1\u73b0\u4e0d\u53ca\u65f6\u3001\u5904\u7406\u4e0d\u8fc5\u901f\uff0c\u4f1a\u51fa\u73b0\u5927\u89c4\u6a21\u7684\u8c03\u5ea6\u9519\u8bef\u6216\u8005\u8c03\u5ea6\u5ef6\u8fdf\u6545\u969c\u3002\u5728\u5feb\u624b\u8c03\u5ea6\u7cfb\u7edf\u53d1\u5c55\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u78b0\u5230\u8fc7\u8fd9\u6837\u7684\u5927\u6545\u969c\uff0c\u4e3a\u4e86\u907f\u514d\u518d\u6b21\u53d1\u751f\uff0c\u6211\u4eec\u5efa\u7acb\u4e86\u5b8c\u5907\u7684\u76d1\u63a7\u9884\u6848\u4f53\u7cfb\u3002<\/p>\n\n\n\n\u5728\u76d1\u63a7\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5206\u6210\u4f7f\u7528\u5c42\u3001\u670d\u52a1\u5c42\u3001\u4f9d\u8d56\u5c42\u4e09\u4e2a\u5c42\u6b21\uff0c\u5e76\u5212\u5206\u76d1\u63a7\u4f18\u5148\u7ea7\uff0c\u91c7\u7528\u4e0d\u540c\u7684\u54cd\u5e94\u65b9\u5f0f\u3002<\/li>\u5728\u6545\u969c\u9884\u6848\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u6709\u4e24\u7c7b\u9884\u6848\uff1a\u7cfb\u7edf\u6545\u969c\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u8c03\u5ea6\u7cfb\u7edf\u81ea\u8eab\u95ee\u9898\uff1b\u6570\u636e\u5f02\u5e38\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u94fe\u8def\u6570\u636e\u4e0d\u6b63\u786e\u7684\u95ee\u9898\u3002\u6211\u4eec\u6c89\u6dc0\u4e86\u591a\u573a\u666f\u7684\u963b\u65ad\u6062\u590d\u548c\u8865\u6570\u636e\u5de5\u5177\uff0c\u80fd\u591f\u5728\u6570\u5206\u949f\u5185\u542f\u52a8\u6570\u636e\u6062\u590d\u3002<\/li>\u5728\u6f14\u7ec3\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5b9a\u671f\u5bf9\u9884\u6848\u8fdb\u884c\u6f14\u7ec3\uff0c\u4fdd\u8bc1\u9884\u6848\u7684\u53ef\u7528\u6027\uff0c\u64cd\u4f5c\u7684\u719f\u7ec3\u6027\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n3. \u5173\u952e\u6280\u672f\uff1a\u5f00\u653e\u80fd\u529b<\/h1>\n\n\n\n\u5f00\u653e\u662f\u6570\u636e\u4e2d\u53f0\u7684\u6838\u5fc3\u7ade\u4e89\u529b\u3002\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u7ed9\u4e88\u4f7f\u7528\u8005\u81ea\u7531\u7684\u53d1\u6325\u7a7a\u95f4\uff0c\u6ee1\u8db3\u66f4\u591a\u4f7f\u7528\u573a\u666f\uff1b\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u6784\u5efa\u6570\u636e\u751f\u6001\uff0c\u63d0\u4f9b\u66f4\u4e30\u5bcc\u7684\u80fd\u529b\u3002Kwaiflow \u63d0\u4f9b\u4e86\u591a\u79cd\u5f00\u653e\u80fd\u529b\uff1a<\/p>\n\n\n\nKwaiflow \u5177\u6709\u5f00\u653e\u7684 API\uff0c\u652f\u6301\u591a\u8bed\u8a00 SDK\uff0c\u63d0\u4f9b\u4e86\u6807\u51c6\u5316\u7684\u63a5\u5165\u6d41\u7a0b\u3001\u4f7f\u7528\u624b\u518c\u548c\u63a5\u5165 demo\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u6807\u51c6\u7684\u4e8b\u4ef6\u3002\u5305\u62ec\u4efb\u52a1\u64cd\u4f5c\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d8\u66f4\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u8bca\u65ad\u4e8b\u4ef6\u7b49\u3002\u6839\u636e\u8fd9\u4e9b\u4e8b\u4ef6\uff0c\u53ef\u4ee5\u5b8c\u6574\u590d\u73b0\u51fa\u4efb\u52a1\u548c\u4efb\u52a1\u5b9e\u4f8b\u7684\u5168\u751f\u547d\u5468\u671f\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u63d2\u4ef6\u5316\u4efb\u52a1\u7c7b\u578b\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5b9a\u4e49\u548c\u5f00\u53d1\u81ea\u5b9a\u4e49\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u5e76\u8fdb\u884c\u7075\u6d3b\u6d4b\u8bd5\u3001\u7070\u5ea6\u4e0a\u7ebf\u548c\u7ba1\u7406\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86 Hook\uff0c\u53ef\u4ee5\u5728\u7528\u6237\u4ee3\u7801\u8fd0\u884c\u524d\u540e\u6267\u884c\u3002\u5305\u62ec\u6267\u884c\u524d\u7684 Prehook \u548c\u6267\u884c\u540e\u7684 Posthook\u3002\u5e38\u89c1\u573a\u666f\u5305\u62ec\u7528\u4e8e\u4ee3\u7801\u6e32\u67d3\u3001\u524d\u7f6e\u68c0\u67e5\u7684 Prehook\uff0c\u4ee5\u53ca\u7528\u4e8e\u6267\u884c\u540e\u6570\u636e\u8d28\u91cf\u68c0\u6d4b\u7684 Posthook\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u4e0e\u6210\u679c<\/strong><\/p>\n\n\n\n\u5982\u679c\u628a\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6bd4\u4f5c\u5927\u697c\u7684\u9aa8\u67b6\uff0c\u90a3\u4e48\u57fa\u4e8e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u5c31\u662f\u88c5\u4fee\u5b8c\u5584\u3001\u9002\u4e8e\u4eba\u5de5\u4f5c\u751f\u6d3b\u7684\u5927\u53a6\u3002\u901a\u8fc7\u5e94\u7528\uff0c\u80fd\u66f4\u597d\u5730\u4f53\u73b0\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4ef7\u503c\u3002\u5728\u5feb\u624b\uff0c\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4e00\u4e2a\u5178\u578b\u5e94\u7528\u3002<\/p>\n\n\n\n\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u5feb\u624b\u7684\u4e00\u7ad9\u5f0f\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u4f7f\u7528 kwaiflow \u4f5c\u4e3a\u7edf\u4e00\u7684\u7f16\u6392\u4e0e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u6784\u5efa\u4e86\u5404\u7c7b\u7684\u6570\u636e\u5f00\u53d1\u8fd0\u7ef4\u7b49\u670d\u52a1\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u67e5\u8be2\u3001\u540c\u6b65\u3001\u5f00\u53d1\u3001\u670d\u52a1\u5316\u3001\u8fd0\u7ef4\u3001\u7ba1\u7406\u7b49\u80fd\u529b\u3002<\/p>\n\n\n\n\u8be5\u5e73\u53f0\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u4e00\u7ad9\u5f0f<\/strong>\uff1a\u5e73\u53f0\u6db5\u76d6\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u7684\u5404\u73af\u8282\uff0c\u5305\u62ec\u6570\u636e\u63a5\u5165\u3001\u6570\u636e\u52a0\u5de5\u3001\u6570\u636e\u5206\u53d1\u548c\u6570\u636e\u670d\u52a1\u5316\u3002\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u6e90\u7ba1\u7406\uff0c\u521b\u5efa\u6570\u636e\u63a5\u5165\u4efb\u52a1\u5c06\u5404\u79cd\u6570\u636e\u6e90\u5bfc\u5165\u5230\u5927\u6570\u636e\u7cfb\u7edf\u4e2d\uff1b\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u667a\u80fd IDE \u7f16\u5199\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03 ETL \u4efb\u52a1\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5de5\u5904\u7406\uff0c\u4ea7\u751f\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b\u7528\u6237\u8fd8\u53ef\u4ee5\u521b\u5efa\u6570\u636e\u5206\u53d1\u4efb\u52a1\uff0c\u5c06\u9ad8\u4ef7\u503c\u6570\u636e\u5206\u53d1\u5230\u5176\u5b83\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u4f8b\u5982\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u975e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u7f13\u5b58\u7cfb\u7edf\u3001OLAP \u5f15\u64ce\u7b49\u3002\u7528\u6237\u4e5f\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u914d\u7f6e\u7684\u65b9\u5f0f\u521b\u5efa\u670d\u52a1\u5316 API\uff0c\u4e3a\u7ebf\u4e0a\u7cfb\u7edf\u63d0\u4f9b\u670d\u52a1\u3002<\/li>\u901a\u7528<\/strong>\uff1a\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u80fd\u7edf\u4e00\u8fd0\u7ef4 Kwaiflow \u6240\u6709\u4efb\u52a1\uff0c\u5305\u62ec\u4efb\u52a1\u8fd0\u7ef4\u3001\u5b9e\u4f8b\u8fd0\u7ef4\u3001\u94fe\u8def\u8fd0\u7ef4\u7b49\u65b9\u5f0f\uff0c\u9002\u5408\u6570\u636e\u5f00\u53d1\u3001\u5b9a\u65f6\u8c03\u5ea6\u3001\u89e6\u53d1\u5f0f\u8c03\u5ea6\u7b49\u573a\u666f\u3002<\/li>\u667a\u80fd<\/strong>\uff1a\u5728\u5f00\u53d1\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd IDE\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4ee3\u7801\u95ee\u9898\uff1b\u5728\u8fd0\u7ef4\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd\u76d1\u63a7\u3001\u667a\u80fd\u8bca\u65ad\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4efb\u52a1\u548c\u94fe\u8def\u95ee\u9898\uff0c\u5e76\u8f85\u52a9\u5b9a\u4f4d\u95ee\u9898\u539f\u56e0\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8981\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u4e0d\u4ec5\u8981\u6709\u5f3a\u5927\u7684\u81ea\u8eab\u80fd\u529b\uff0c\u66f4\u8981\u6709\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\u3002\u5728\u5feb\u624b\uff0cKwaiflow \u548c\u5927\u6570\u636e\u7684\u5176\u5b83\u7cfb\u7edf\u6df1\u5ea6\u96c6\u6210\uff0c\u63a5\u5165\u4e86 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u4fbf\u6377\u5730\u4f7f\u7528\u5176\u5b83\u5927\u6570\u636e\u7cfb\u7edf\u7684\u80fd\u529b\u3002\u53ef\u4ee5\u8bf4\uff0c\u81ea\u8eab\u80fd\u529b\u548c\u751f\u6001\u4f53\u7cfb\u5bf9 Kwaiflow \u6765\u8bf4\u540c\u7b49\u91cd\u8981\u3002<\/p>\n\n\n\n\u9996\u5148\uff0c\u5c31\u81ea\u8eab\u800c\u8a00\uff0cKwaiflow \u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u6267\u884c\u80fd\u529b\u3002\u5305\u62ec\u591a\u573a\u666f\u8c03\u5ea6\u80fd\u529b\u3001\u591a\u6837\u5316\u7684\u6267\u884c\u80fd\u529b\u3001\u6613\u7528\u7684\u8fd0\u7ef4\u80fd\u529b\u548c\u9ad8\u53ef\u7528\u7684\u7279\u6027\u3002<\/p>\n\n\n\n\u5176\u6b21\uff0cKwaiflow \u5177\u6709\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\u3002\u63a5\u5165 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u65b9\u4fbf\u5730\u4f7f\u7528\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\u3002<\/p>\n\n\n\n\u6700\u540e\uff0cKwaiflow \u65e0\u7f1d\u96c6\u6210\u4e86\u5176\u5b83\u4e2d\u53f0\u80fd\u529b\u3002\u5305\u62ec\u6570\u636e\u8d28\u91cf\u3001\u6570\u636e\u5b89\u5168\u4f53\u7cfb\u3001\u5b8c\u6574\u51c6\u786e\u7684\u4efb\u52a1\u5b9e\u4f8b\u8840\u7f18\u3001\u94fe\u8def\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5c06\u4ece\u6027\u80fd\u3001\u529f\u80fd\u548c\u4f7f\u7528\u60c5\u51b5\u4e09\u4e2a\u65b9\u9762\u4ecb\u7ecd Kwaiflow \u7684\u6210\u679c\u3002<\/p>\n\n\n\n\u5728\u6027\u80fd\u65b9\u9762<\/strong>\uff0c\u548c Airflow \u76f8\u6bd4\uff0c\u6709\u6781\u5927\u7684\u63d0\u5347\uff1a<\/p>\n\n\n\n\u5728\u89c4\u6a21\u4e0a\uff0cKwaiflow \u521d\u7248\u8bbe\u8ba1\u5bb9\u91cf\u4e3a\u767e\u4e07\u7ea7\u522b\u4efb\u52a1\uff0c\u5f53\u524d\u5df2\u6709\u6570\u5341\u4e07\u7684\u4efb\u52a1\u6570\uff0c\u548c Airflow \u5355\u96c6\u7fa4\u4e0d\u8d85\u8fc7 1 \u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\u3002<\/li>\u5728\u6027\u80fd\u4e0a\uff0cKwaiflow \u8c03\u5ea6\u9ad8\u5cf0\u671f\u7684\u8c03\u5ea6\u5ef6\u8fdf P99 \u5c0f\u4e8e 5 \u79d2\uff0c\u548c Airflow 5 \u5206\u949f\u76f8\u6bd4\uff0c\u6709\u6570\u91cf\u7ea7\u7684\u63d0\u5347\uff1bKwaiflow \u8d77\u8c03\u901f\u7387\u5341\u6570\u4e07\u6bcf\u5206\u949f\uff0c\u548c Airflow \u6570\u5343\u6bcf\u5206\u949f\u5bf9\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\uff1bKwaiflow \u8fd0\u884c\u7684\u5e76\u53d1\u5b9e\u4f8b\u6570\u5341\u6570\u4e07\u4e07\uff0c\u548c Airflow \u5c0f\u4e8e1\u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u5341\u6570\u500d\u3002<\/li>\u5728\u7a33\u5b9a\u6027\u4e0a\uff0cKwaiflow \u53ef\u7528\u6027\u4e3a 99.99%\uff0c Airflow \u5219\u4e3a 99.5%\uff1bKwaiflow \u5e74\u6545\u969c\u6570\u7ea6 1 \u4e2a\uff0c\u800c Airflow \u5e74\u5747\u4e3a 8 \u4e2a\u3002<\/li><\/ul>\n\n\n\n\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u9996\u5148\u770b\u72b6\u6001\u8f6c\u53d8\u8fd9\u4e2a\u56e0\u7d20\u3002\u4efb\u52a1\u4ece\u53d1\u5e03\uff0c\u5230\u8c03\u5ea6\u6267\u884c\u5b8c\u6210\uff0c\u4f1a\u7ecf\u5386\u6570\u6b21\u6216\u8005\u5341\u6570\u6b21\u72b6\u6001\u53d8\u5316\u3002\u5982\u4f55\u8fdb\u884c\u5feb\u901f\u9ad8\u6548\u5730\u72b6\u6001\u8f6c\u53d8\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u95ee\u9898\u3002Kwaiflow \u7684\u89e3\u51b3\u529e\u6cd5\u662f\u91c7\u7528 Akka actor\u3002\u5145\u5206\u5229\u7528\u4e86 akka actor \u9ad8\u6027\u80fd\u7279\u70b9\u3002<\/p>\n\n\n\n
\u5177\u4f53\u6765\u8bb2\uff1a<\/p>\n\n\n\n
1. Kwaiflow \u7684\u4efb\u52a1\u4ece API Server \u53d1\u5e03\u540e\uff0c\u7ecf\u8fc7 Entry Actor \u52a0\u8f7d\u5230 DagLoader Actors \u4e2d\u7b49\u5f85\u65f6\u95f4\u5c31\u7eea\uff1b<\/p>\n\n\n\n
2. \u5728\u65f6\u95f4\u5c31\u7eea\u540e\uff0c\u7531 Instance Generator Actors \u751f\u6210\u4efb\u52a1\u5b9e\u4f8b\uff0c\u7136\u540e\u8fdb\u5165 Dependency Detector Actor \u63a2\u6d4b\u4e0a\u6e38\u4f9d\u8d56\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n
3. \u5728\u4f9d\u8d56\u5c31\u7eea\u540e\uff0c\u8fdb\u5165 Resource Detector Actor \u63a2\u6d4b\u8d44\u6e90\u5c31\u7eea\u60c5\u51b5\uff1b<\/p>\n\n\n\n
4. \u5728\u8d44\u6e90\u5c31\u7eea\u540e\uff0c\u4efb\u52a1\u5b9e\u4f8b\u901a\u8fc7 Queue Service \u4e0b\u53d1\u5230 worker \u4e2d\u3002<\/p>\n\n\n\n
5. \u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u88ab\u63a5\u6536\u540e\uff0c\u5c06\u4f1a\u7531 Processor Actor \u6267\u884c\uff0c\u6267\u884c\u524d\u540e\u4f1a\u4f9d\u6b21\u7ecf\u5386\u4ee3\u7801\u6e32\u67d3\u3001Prehook\u3001\u4ee3\u7801\u6267\u884c\u3001Posthook \u56db\u4e2a\u6b65\u9aa4\u3002<\/p>\n\n\n\n
6. \u5982\u679c\u6267\u884c\u6210\u529f\uff0c\u5219\u6d41\u7a0b\u7ec8\u6b62\uff1b\u5982\u679c\u6267\u884c\u5931\u8d25\uff0cPosthook \u4f1a\u5c06\u4fe1\u606f\u901a\u8fc7 Processor Actor\u3001ResultHandlerActor \u4f20\u9012\u7ed9 scheduler \u7684 RetryerActor \u8fdb\u884c\u91cd\u8bd5\u64cd\u4f5c\u3002<\/p>\n\n\n\n
\u6574\u4e2a\u6d41\u7a0b\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n
\u91c7\u7528 actor\uff0c\u72b6\u6001\u8f6c\u53d8\u5bfc\u81f4\u7684\u65f6\u95f4\u635f\u8017\u63a7\u5236\u5728\u6beb\u79d2\u7ea7\u522b\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u63a5\u4e0b\u6765\u6211\u4eec\u770b\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e2a\u56e0\u7d20\u3002\u8fd9\u548c\u6267\u884c\u573a\u666f\u6709\u5173\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e0d\u540c\u7684\u6267\u884c\u573a\u666f\uff0cKwaiflow \u63d0\u4f9b\u4e86\u4e24\u79cd\u6267\u884c\u65b9\u5f0f\uff1a\u5bb9\u5668\u5316\u6267\u884c\u548c\u672c\u5730\u6267\u884c\u3002<\/p>\n\n\n\n\u5bb9\u5668\u5316\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u6bcf\u6b21\u6267\u884c\u524d\uff0c\u5728 k8s \u6309\u9700\u7533\u8bf7\u5bb9\u5668\u8d44\u6e90\uff0c\u5728\u5bb9\u5668\u4e2d\u6267\u884c\u4efb\u52a1\u5b9e\u4f8b\uff0c\u6267\u884c\u5b8c\u540e\uff0c\u53ca\u65f6\u91ca\u653e\u5bb9\u5668\u8d44\u6e90\u3002\u4f18\u70b9\u662f\u5b9e\u73b0\u4e86\u6267\u884c\u65f6\u7684\u8d44\u6e90\u9694\u79bb\u548c\u73af\u5883\u9694\u79bb\uff1b\u7f3a\u70b9\u662f\u6bcf\u6b21\u90fd\u9700\u8981\u7533\u8bf7\u548c\u521d\u59cb\u5316\u5bb9\u5668\u8d44\u6e90\uff0c\u542f\u52a8\u8017\u65f6\u957f\u3002\u5bb9\u5668\u5316\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Bash \u4efb\u52a1\u3002\u4e3a\u4e86\u51cf\u5c11\u5bb9\u5668\u5316\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\uff0c\u6211\u4eec\u5c06\u955c\u50cf\u5206\u4e3a\u81ea\u5b9a\u4e49\u955c\u50cf\u548c\u901a\u7528\u955c\u50cf\uff0c\u5bf9\u901a\u7528\u955c\u50cf\u8fdb\u884c\u9884\u70ed\uff0c\u63d0\u524d\u5206\u53d1\u5230\u673a\u5668\u4e2d\uff0c\u51cf\u5c11\u955c\u50cf\u4e0b\u8f7d\u8017\u65f6\u3002\u901a\u8fc7\u955c\u50cf\u9884\u70ed\uff0c\u53ef\u4ee5\u5c06\u542f\u52a8\u8017\u65f6\u4ece\u5206\u949f\u7ea7\u964d\u4f4e\u5230\u79d2\u7ea7\u3002<\/li>\u672c\u5730\u6267\u884c<\/strong>\uff1a\u4efb\u52a1\u5b9e\u4f8b\u5728 worker \u673a\u4e2d\uff0c\u901a\u8fc7\u65b0\u5efa\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6267\u884c\u3002\u540c\u4e00\u4e2a worker \u673a\u4e2d\u7684\u6240\u6709\u4efb\u52a1\u5b9e\u4f8b\u5171\u4eab\u8ba1\u7b97\u8d44\u6e90\u548c\u6267\u884c\u73af\u5883\u3002\u4f18\u70b9\u662f\u542f\u52a8\u8017\u65f6\u77ed\uff0coverhead \u5c0f\uff1b\u7f3a\u70b9\u662f\u8d44\u6e90\u548c\u73af\u5883\u4e0d\u9694\u79bb\uff0c\u4e00\u4e2a\u4efb\u52a1\u5b9e\u4f8b\u6267\u884c\u5f02\u5e38\u6709\u53ef\u80fd\u5bfc\u81f4\u6574\u4e2a worker \u673a crash\u3002\u672c\u5730\u6267\u884c\u9002\u5408\u5bf9\u8d44\u6e90\u3001\u73af\u5883\u4e0d\u654f\u611f\u7684\u4efb\u52a1\uff0c\u4f8b\u5982 Hive \u548c Sensor \u4efb\u52a1\u3002\u672c\u5730\u6267\u884c\u7684\u542f\u52a8\u8017\u65f6\u4e00\u822c\u5728\u4e9a\u79d2\u7ea7\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n2. \u5173\u952e\u6280\u672f\uff1a\u9ad8\u53ef\u7528<\/h1>\n\n\n\n\u9ad8\u53ef\u7528\u5bf9\u8c03\u5ea6\u7cfb\u7edf\u6765\u8bf4\u975e\u5e38\u91cd\u8981\u3002\u4e3a\u4e86\u4fdd\u969c Kwaiflow \u7684\u9ad8\u53ef\u7528\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e24\u65b9\u9762\u8fdb\u884c\u8003\u8651\uff1a\u7cfb\u7edf\u8bbe\u8ba1\u548c\u6545\u969c\u53d1\u73b0\u5904\u7406\u3002\u5728\u7cfb\u7edf\u8bbe\u8ba1\u4e0a\uff0cKwaiflow \u53ef\u4ee5\u505a\u5230\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5373\u4efb\u52a1\u5b9e\u4f8b\u5728\u590d\u6742\u73af\u5883\u4e2d Exactly Once \u6267\u884c\uff0c\u505a\u5230\u4e0d\u6f0f\uff0c\u4e14\u5c3d\u91cf\u4e0d\u91cd\u3002<\/p>\n\n\n\n\u5bf9\u4e8e\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5e38\u89c1\u7684\u6545\u969c\u573a\u666f\u5305\u62ec\u7ec4\u4ef6\u6545\u969c\u6216\u8005\u7ec4\u4ef6\u5931\u8054\u3002\u4f8b\u5982 scheduler crash\u3001\u5bb9\u5668\u5316\u4efb\u52a1\u4e0e worker \u5931\u8054\u7b49\u3002<\/p>\n\n\n\n\u4e3a\u4e86\u8fbe\u5230\u9ad8\u53ef\u9760\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e09\u65b9\u9762\u8003\u8651\uff1a<\/p>\n\n\n\nFailover \u673a\u5236\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u548c\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\uff0c\u6765\u5b9e\u73b0\u7ec4\u4ef6\u7684\u81ea\u52a8\u5bb9\u9519\u3002\u4f8b\u5982 Kwaiflow \u91c7\u7528\u4e3b\u5907 Master\uff0c\u591a worker \u7684\u8bbe\u8ba1\u6765\u907f\u514d\u5355\u70b9\u95ee\u9898\uff1b\u5404\u4e2a\u7ec4\u4ef6\u4e4b\u95f4\u91c7\u7528\u9c81\u68d2\u901a\u4fe1\u534f\u8bae\u6765\u907f\u514d\u5931\u8054\u95ee\u9898\u3002\u534f\u8bae\u5305\u62ec scheduler Executor \u901a\u4fe1\u534f\u8bae\u3001Executor Runner \u901a\u4fe1\u534f\u8bae\u3001External Job \u901a\u4fe1\u534f\u8bae\u3002\u53f3\u56fe\u5c55\u793a\u4e86 Executor Runner \u901a\u4fe1\u534f\u8bae\u7684\u4e3b\u8981\u6d41\u7a0b\uff0c\u534f\u8bae\u89c4\u5b9a\u4e86\u4efb\u52a1\u63d0\u4ea4\u3001\u6b63\u5e38\u6267\u884c\u3001\u5f02\u5e38\u6267\u884c\u3001\u901a\u4fe1\u5931\u8054\u7684\u5904\u7406\u529e\u6cd5\uff0c\u4e0d\u4f9d\u8d56\u5916\u90e8\u7cfb\u7edf\u7684\u72b6\u6001\u3002<\/li>\u907f\u514d\u9057\u6f0f\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u6d88\u606f ack \u673a\u5236\uff0c\u4fdd\u969c\u6d88\u606f\u4e0d\u4e22\u5931\uff1b\u540c\u65f6\u901a\u8fc7\u5b9a\u671f\u515c\u5e95\u5de1\u68c0\uff0c\u4fdd\u969c\u4efb\u52a1\u5b9e\u4f8b\u4e0d\u9057\u6f0f\u3002<\/li>\u907f\u514d\u91cd\u590d\u6267\u884c\u65b9\u9762<\/strong>\uff1a\u901a\u8fc7\u72b6\u6001\u673a\u8f6c\u79fb\u56fe\uff0c\u907f\u514d\u4e0d\u5408\u7406\u72b6\u6001\u8f6c\u53d8\uff1b\u540c\u65f6\u901a\u8fc7\u91cd\u8bd5\u524d\u6e05\u7406\u524d\u4e00\u4e2a\u5b9e\u4f8b\uff0c\u907f\u514d\u91cd\u590d\u6267\u884c\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u9ad8\u53ef\u7528\u65b9\u9762\uff0c\u8fd8\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u7cfb\u7edf\u8bbe\u8ba1\u662f\u5206\u7ea7\u4fdd\u969c\u3002\u5feb\u624b\u5728\u8fdb\u884c\u5927\u578b\u6d3b\u52a8\u4f8b\u5982\u6625\u8282\u3001\u5965\u8fd0\u65f6\uff0c\u6574\u4f53\u6570\u636e\u91cf\u5927\u5e45\u5ea6\u589e\u957f\uff0c\u5c40\u90e8\u6570\u636e\u5448\u6570\u500d\u589e\u957f\u3002\u4f46\u8ba1\u7b97\u8d44\u6e90\u662f\u6709\u9650\u7684\uff0c\u8ba1\u7b97\u8d44\u6e90\u7684\u589e\u957f\u5f80\u5f80\u4e0d\u80fd\u5339\u914d\u6570\u636e\u91cf\u7684\u589e\u957f\uff0c\u4e0d\u80fd\u8ba9\u6240\u6709\u7684\u4efb\u52a1\u548c\u5f80\u5e38\u4e00\u6837\u6309\u65f6\u4ea7\u51fa\u3002\u8fd9\u65f6\u5019\u6211\u4eec\u5c31\u9700\u8981\u8fdb\u884c\u5206\u7ea7\u4fdd\u969c\u3002<\/p>\n\n\n\n\u6240\u8c13\u5206\u7ea7\u4fdd\u969c\uff0c\u5c31\u662f\u5728\u8d44\u6e90\u6709\u9650\u7684\u60c5\u51b5\u4e0b\uff0c\u8ba9\u9ad8\u4f18\u4efb\u52a1\u5f97\u5230\u7279\u6743\uff0c\u4f18\u5148\u5f97\u5230\u6267\u884c\uff0c\u4f18\u5148\u83b7\u5f97\u5145\u8db3\u7684\u4f18\u8d28\u8d44\u6e90\uff0c\u4fdd\u969c\u4ea7\u51fa\u65f6\u95f4\uff1b\u800c\u4f4e\u4f18\u4efb\u52a1\u5219\u4f1a\u88ab\u5ef6\u8fdf\u8c03\u5ea6\u6267\u884c\uff0c\u5206\u914d\u66f4\u5c11\u7684\u8d44\u6e90\u3002<\/p>\n\n\n\n\u5728\u5feb\u624b\uff0c\u6574\u4e2a\u79bb\u7ebf\u4f53\u7cfb\uff0c\u5305\u62ec Kwaiflow\u3001Hive\u3001Yarn\u3001HDFS \u7b49\uff0c\u90fd\u5177\u6709\u5206\u7ea7\u4fdd\u969c\u7684\u80fd\u529b\u3002\u8fd9\u91cc\u4ecb\u7ecd Kwaiflow \u7684\u5206\u7ea7\u4fdd\u969c\u80fd\u529b\uff0c\u5305\u62ec\u4e09\u65b9\u9762\uff1a<\/p>\n\n\n\nKwaiflow \u8c03\u5ea6\u5668\u5177\u6709\u5206\u7ea7\u8c03\u5ea6\u7684\u80fd\u529b<\/strong>\u3002Kwaiflow \u8c03\u5ea6\u5668\u80fd\u611f\u77e5\u5230\u8d44\u6e90\u8c03\u5ea6\u7cfb\u7edf\u7684\u72b6\u6001\uff0c\u5728\u8d44\u6e90\u4e0d\u8db3\u65f6\uff0cKwaiflow \u4efb\u52a1\u4f1a\u5728\u8c03\u5ea6\u5668\u6392\u961f\uff0c\u9ad8\u4f18\u4efb\u52a1\u6392\u5728\u524d\u9762\uff0c\u4f4e\u4f18\u4efb\u52a1\u6392\u5728\u540e\u9762\uff1b\u5f53\u8d44\u6e90\u5f97\u5230\u91ca\u653e\u65f6\uff0c\u9ad8\u4f18\u4efb\u52a1\u4f18\u5148\u88ab\u8c03\u5ea6\u3002<\/li>Kwaiflow \u7684\u6267\u884c\u5668\u6309\u7167\u4e0d\u540c\u4f18\u5148\u7ea7\u8fdb\u884c\u5206\u7ec4<\/strong>\u3002\u5305\u62ec\u4e09\u7ec4\uff1aP0 \u6267\u884c\u5668\u7ec4\u3001P1 \u6267\u884c\u5668\u7ec4\u4ee5\u53ca P2 P3 \u6267\u884c\u5668\u7ec4\u3002P0 \u6267\u884c\u5668\u7528\u4e8e\u6267\u884c\u6700\u9ad8\u4f18\u5148\u7ea7\u7684 P0 \u4efb\u52a1\uff0c\u5177\u6709\u5145\u8db3\u7684 worker\uff0cP0 \u4efb\u52a1\u5b9e\u4f8b\u57fa\u672c\u4e0d\u4f1a\u5728\u6267\u884c\u5668\u5c42\u88ab\u9650\u5236\u3002\u5bf9\u4e8e P2 P3 \u5206\u7ec4\uff0c\u5728\u8c03\u5ea6\u9ad8\u5cf0\u671f\uff0c\u4efb\u52a1\u5b9e\u4f8b\u5f88\u591a\u65f6\uff0c\u53ef\u80fd\u5b58\u5728\u6392\u961f\u6267\u884c\u7684\u60c5\u51b5\u3002<\/li>Kwaiflow \u5177\u6709\u8f83\u5f3a\u7684\u4eba\u5de5\u7ba1\u63a7\u80fd\u529b<\/strong>\uff0c\u53ef\u4ee5\u4eba\u4e3a\u5730\u5141\u8bb8\u6216\u8005\u963b\u65ad\u67d0\u4e9b\u4efb\u52a1\u7684\u8c03\u5ea6\u3002\u5178\u578b\u4f7f\u7528\u573a\u666f\u662f\u5728\u5927\u578b\u6d3b\u52a8\u671f\u95f4\uff0c\u53ef\u4ee5\u6839\u636e\u9884\u6848\uff0c\u5bf9\u4f4e\u4f18\u5148\u7ea7\u7684\u4efb\u52a1\u4eba\u4e3a\u8fdb\u884c\u5ef6\u8fdf\u8c03\u5ea6\uff0c\u4fdd\u969c\u8d44\u6e90\u5206\u914d\u7ed9\u9ad8\u4f18\u4efb\u52a1\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u524d\u9762\u4e3b\u8981\u4ece\u7cfb\u7edf\u8bbe\u8ba1\u65b9\u9762\u4ecb\u7ecd\u4e86\u7ebf\u4e0a\u6545\u969c\u7684\u81ea\u52a8\u89c4\u907f\u3002Kwaiflow \u9ad8\u53ef\u7528\u7684\u7b2c\u4e8c\u4e2a\u65b9\u9762\u662f\u6545\u969c\u7684\u53d1\u73b0\u548c\u5904\u7406\u3002\u5982\u679c\u6545\u969c\u53d1\u73b0\u4e0d\u53ca\u65f6\u3001\u5904\u7406\u4e0d\u8fc5\u901f\uff0c\u4f1a\u51fa\u73b0\u5927\u89c4\u6a21\u7684\u8c03\u5ea6\u9519\u8bef\u6216\u8005\u8c03\u5ea6\u5ef6\u8fdf\u6545\u969c\u3002\u5728\u5feb\u624b\u8c03\u5ea6\u7cfb\u7edf\u53d1\u5c55\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u78b0\u5230\u8fc7\u8fd9\u6837\u7684\u5927\u6545\u969c\uff0c\u4e3a\u4e86\u907f\u514d\u518d\u6b21\u53d1\u751f\uff0c\u6211\u4eec\u5efa\u7acb\u4e86\u5b8c\u5907\u7684\u76d1\u63a7\u9884\u6848\u4f53\u7cfb\u3002<\/p>\n\n\n\n\u5728\u76d1\u63a7\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5206\u6210\u4f7f\u7528\u5c42\u3001\u670d\u52a1\u5c42\u3001\u4f9d\u8d56\u5c42\u4e09\u4e2a\u5c42\u6b21\uff0c\u5e76\u5212\u5206\u76d1\u63a7\u4f18\u5148\u7ea7\uff0c\u91c7\u7528\u4e0d\u540c\u7684\u54cd\u5e94\u65b9\u5f0f\u3002<\/li>\u5728\u6545\u969c\u9884\u6848\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u6709\u4e24\u7c7b\u9884\u6848\uff1a\u7cfb\u7edf\u6545\u969c\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u8c03\u5ea6\u7cfb\u7edf\u81ea\u8eab\u95ee\u9898\uff1b\u6570\u636e\u5f02\u5e38\u5904\u7406\u9884\u6848\u7528\u4e8e\u5904\u7406\u94fe\u8def\u6570\u636e\u4e0d\u6b63\u786e\u7684\u95ee\u9898\u3002\u6211\u4eec\u6c89\u6dc0\u4e86\u591a\u573a\u666f\u7684\u963b\u65ad\u6062\u590d\u548c\u8865\u6570\u636e\u5de5\u5177\uff0c\u80fd\u591f\u5728\u6570\u5206\u949f\u5185\u542f\u52a8\u6570\u636e\u6062\u590d\u3002<\/li>\u5728\u6f14\u7ec3\u65b9\u9762<\/strong>\uff0c\u6211\u4eec\u5b9a\u671f\u5bf9\u9884\u6848\u8fdb\u884c\u6f14\u7ec3\uff0c\u4fdd\u8bc1\u9884\u6848\u7684\u53ef\u7528\u6027\uff0c\u64cd\u4f5c\u7684\u719f\u7ec3\u6027\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n3. \u5173\u952e\u6280\u672f\uff1a\u5f00\u653e\u80fd\u529b<\/h1>\n\n\n\n\u5f00\u653e\u662f\u6570\u636e\u4e2d\u53f0\u7684\u6838\u5fc3\u7ade\u4e89\u529b\u3002\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u7ed9\u4e88\u4f7f\u7528\u8005\u81ea\u7531\u7684\u53d1\u6325\u7a7a\u95f4\uff0c\u6ee1\u8db3\u66f4\u591a\u4f7f\u7528\u573a\u666f\uff1b\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u6784\u5efa\u6570\u636e\u751f\u6001\uff0c\u63d0\u4f9b\u66f4\u4e30\u5bcc\u7684\u80fd\u529b\u3002Kwaiflow \u63d0\u4f9b\u4e86\u591a\u79cd\u5f00\u653e\u80fd\u529b\uff1a<\/p>\n\n\n\nKwaiflow \u5177\u6709\u5f00\u653e\u7684 API\uff0c\u652f\u6301\u591a\u8bed\u8a00 SDK\uff0c\u63d0\u4f9b\u4e86\u6807\u51c6\u5316\u7684\u63a5\u5165\u6d41\u7a0b\u3001\u4f7f\u7528\u624b\u518c\u548c\u63a5\u5165 demo\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u6807\u51c6\u7684\u4e8b\u4ef6\u3002\u5305\u62ec\u4efb\u52a1\u64cd\u4f5c\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u72b6\u6001\u53d8\u66f4\u4e8b\u4ef6\u3001\u4efb\u52a1\u5b9e\u4f8b\u8bca\u65ad\u4e8b\u4ef6\u7b49\u3002\u6839\u636e\u8fd9\u4e9b\u4e8b\u4ef6\uff0c\u53ef\u4ee5\u5b8c\u6574\u590d\u73b0\u51fa\u4efb\u52a1\u548c\u4efb\u52a1\u5b9e\u4f8b\u7684\u5168\u751f\u547d\u5468\u671f\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86\u63d2\u4ef6\u5316\u4efb\u52a1\u7c7b\u578b\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5b9a\u4e49\u548c\u5f00\u53d1\u81ea\u5b9a\u4e49\u7684\u4efb\u52a1\u7c7b\u578b\uff0c\u5e76\u8fdb\u884c\u7075\u6d3b\u6d4b\u8bd5\u3001\u7070\u5ea6\u4e0a\u7ebf\u548c\u7ba1\u7406\u3002<\/li>Kwaiflow \u63d0\u4f9b\u4e86 Hook\uff0c\u53ef\u4ee5\u5728\u7528\u6237\u4ee3\u7801\u8fd0\u884c\u524d\u540e\u6267\u884c\u3002\u5305\u62ec\u6267\u884c\u524d\u7684 Prehook \u548c\u6267\u884c\u540e\u7684 Posthook\u3002\u5e38\u89c1\u573a\u666f\u5305\u62ec\u7528\u4e8e\u4ee3\u7801\u6e32\u67d3\u3001\u524d\u7f6e\u68c0\u67e5\u7684 Prehook\uff0c\u4ee5\u53ca\u7528\u4e8e\u6267\u884c\u540e\u6570\u636e\u8d28\u91cf\u68c0\u6d4b\u7684 Posthook\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n04<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u4e0e\u6210\u679c<\/strong><\/p>\n\n\n\n\u5982\u679c\u628a\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6bd4\u4f5c\u5927\u697c\u7684\u9aa8\u67b6\uff0c\u90a3\u4e48\u57fa\u4e8e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u5c31\u662f\u88c5\u4fee\u5b8c\u5584\u3001\u9002\u4e8e\u4eba\u5de5\u4f5c\u751f\u6d3b\u7684\u5927\u53a6\u3002\u901a\u8fc7\u5e94\u7528\uff0c\u80fd\u66f4\u597d\u5730\u4f53\u73b0\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4ef7\u503c\u3002\u5728\u5feb\u624b\uff0c\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4e00\u4e2a\u5178\u578b\u5e94\u7528\u3002<\/p>\n\n\n\n\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u5feb\u624b\u7684\u4e00\u7ad9\u5f0f\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u4f7f\u7528 kwaiflow \u4f5c\u4e3a\u7edf\u4e00\u7684\u7f16\u6392\u4e0e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u6784\u5efa\u4e86\u5404\u7c7b\u7684\u6570\u636e\u5f00\u53d1\u8fd0\u7ef4\u7b49\u670d\u52a1\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u67e5\u8be2\u3001\u540c\u6b65\u3001\u5f00\u53d1\u3001\u670d\u52a1\u5316\u3001\u8fd0\u7ef4\u3001\u7ba1\u7406\u7b49\u80fd\u529b\u3002<\/p>\n\n\n\n\u8be5\u5e73\u53f0\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u4e00\u7ad9\u5f0f<\/strong>\uff1a\u5e73\u53f0\u6db5\u76d6\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u7684\u5404\u73af\u8282\uff0c\u5305\u62ec\u6570\u636e\u63a5\u5165\u3001\u6570\u636e\u52a0\u5de5\u3001\u6570\u636e\u5206\u53d1\u548c\u6570\u636e\u670d\u52a1\u5316\u3002\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u6e90\u7ba1\u7406\uff0c\u521b\u5efa\u6570\u636e\u63a5\u5165\u4efb\u52a1\u5c06\u5404\u79cd\u6570\u636e\u6e90\u5bfc\u5165\u5230\u5927\u6570\u636e\u7cfb\u7edf\u4e2d\uff1b\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u667a\u80fd IDE \u7f16\u5199\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03 ETL \u4efb\u52a1\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5de5\u5904\u7406\uff0c\u4ea7\u751f\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b\u7528\u6237\u8fd8\u53ef\u4ee5\u521b\u5efa\u6570\u636e\u5206\u53d1\u4efb\u52a1\uff0c\u5c06\u9ad8\u4ef7\u503c\u6570\u636e\u5206\u53d1\u5230\u5176\u5b83\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u4f8b\u5982\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u975e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u7f13\u5b58\u7cfb\u7edf\u3001OLAP \u5f15\u64ce\u7b49\u3002\u7528\u6237\u4e5f\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u914d\u7f6e\u7684\u65b9\u5f0f\u521b\u5efa\u670d\u52a1\u5316 API\uff0c\u4e3a\u7ebf\u4e0a\u7cfb\u7edf\u63d0\u4f9b\u670d\u52a1\u3002<\/li>\u901a\u7528<\/strong>\uff1a\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u80fd\u7edf\u4e00\u8fd0\u7ef4 Kwaiflow \u6240\u6709\u4efb\u52a1\uff0c\u5305\u62ec\u4efb\u52a1\u8fd0\u7ef4\u3001\u5b9e\u4f8b\u8fd0\u7ef4\u3001\u94fe\u8def\u8fd0\u7ef4\u7b49\u65b9\u5f0f\uff0c\u9002\u5408\u6570\u636e\u5f00\u53d1\u3001\u5b9a\u65f6\u8c03\u5ea6\u3001\u89e6\u53d1\u5f0f\u8c03\u5ea6\u7b49\u573a\u666f\u3002<\/li>\u667a\u80fd<\/strong>\uff1a\u5728\u5f00\u53d1\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd IDE\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4ee3\u7801\u95ee\u9898\uff1b\u5728\u8fd0\u7ef4\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd\u76d1\u63a7\u3001\u667a\u80fd\u8bca\u65ad\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4efb\u52a1\u548c\u94fe\u8def\u95ee\u9898\uff0c\u5e76\u8f85\u52a9\u5b9a\u4f4d\u95ee\u9898\u539f\u56e0\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8981\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u4e0d\u4ec5\u8981\u6709\u5f3a\u5927\u7684\u81ea\u8eab\u80fd\u529b\uff0c\u66f4\u8981\u6709\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\u3002\u5728\u5feb\u624b\uff0cKwaiflow \u548c\u5927\u6570\u636e\u7684\u5176\u5b83\u7cfb\u7edf\u6df1\u5ea6\u96c6\u6210\uff0c\u63a5\u5165\u4e86 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u4fbf\u6377\u5730\u4f7f\u7528\u5176\u5b83\u5927\u6570\u636e\u7cfb\u7edf\u7684\u80fd\u529b\u3002\u53ef\u4ee5\u8bf4\uff0c\u81ea\u8eab\u80fd\u529b\u548c\u751f\u6001\u4f53\u7cfb\u5bf9 Kwaiflow \u6765\u8bf4\u540c\u7b49\u91cd\u8981\u3002<\/p>\n\n\n\n\u9996\u5148\uff0c\u5c31\u81ea\u8eab\u800c\u8a00\uff0cKwaiflow \u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u6267\u884c\u80fd\u529b\u3002\u5305\u62ec\u591a\u573a\u666f\u8c03\u5ea6\u80fd\u529b\u3001\u591a\u6837\u5316\u7684\u6267\u884c\u80fd\u529b\u3001\u6613\u7528\u7684\u8fd0\u7ef4\u80fd\u529b\u548c\u9ad8\u53ef\u7528\u7684\u7279\u6027\u3002<\/p>\n\n\n\n\u5176\u6b21\uff0cKwaiflow \u5177\u6709\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\u3002\u63a5\u5165 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u65b9\u4fbf\u5730\u4f7f\u7528\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\u3002<\/p>\n\n\n\n\u6700\u540e\uff0cKwaiflow \u65e0\u7f1d\u96c6\u6210\u4e86\u5176\u5b83\u4e2d\u53f0\u80fd\u529b\u3002\u5305\u62ec\u6570\u636e\u8d28\u91cf\u3001\u6570\u636e\u5b89\u5168\u4f53\u7cfb\u3001\u5b8c\u6574\u51c6\u786e\u7684\u4efb\u52a1\u5b9e\u4f8b\u8840\u7f18\u3001\u94fe\u8def\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5c06\u4ece\u6027\u80fd\u3001\u529f\u80fd\u548c\u4f7f\u7528\u60c5\u51b5\u4e09\u4e2a\u65b9\u9762\u4ecb\u7ecd Kwaiflow \u7684\u6210\u679c\u3002<\/p>\n\n\n\n\u5728\u6027\u80fd\u65b9\u9762<\/strong>\uff0c\u548c Airflow \u76f8\u6bd4\uff0c\u6709\u6781\u5927\u7684\u63d0\u5347\uff1a<\/p>\n\n\n\n\u5728\u89c4\u6a21\u4e0a\uff0cKwaiflow \u521d\u7248\u8bbe\u8ba1\u5bb9\u91cf\u4e3a\u767e\u4e07\u7ea7\u522b\u4efb\u52a1\uff0c\u5f53\u524d\u5df2\u6709\u6570\u5341\u4e07\u7684\u4efb\u52a1\u6570\uff0c\u548c Airflow \u5355\u96c6\u7fa4\u4e0d\u8d85\u8fc7 1 \u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\u3002<\/li>\u5728\u6027\u80fd\u4e0a\uff0cKwaiflow \u8c03\u5ea6\u9ad8\u5cf0\u671f\u7684\u8c03\u5ea6\u5ef6\u8fdf P99 \u5c0f\u4e8e 5 \u79d2\uff0c\u548c Airflow 5 \u5206\u949f\u76f8\u6bd4\uff0c\u6709\u6570\u91cf\u7ea7\u7684\u63d0\u5347\uff1bKwaiflow \u8d77\u8c03\u901f\u7387\u5341\u6570\u4e07\u6bcf\u5206\u949f\uff0c\u548c Airflow \u6570\u5343\u6bcf\u5206\u949f\u5bf9\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\uff1bKwaiflow \u8fd0\u884c\u7684\u5e76\u53d1\u5b9e\u4f8b\u6570\u5341\u6570\u4e07\u4e07\uff0c\u548c Airflow \u5c0f\u4e8e1\u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u5341\u6570\u500d\u3002<\/li>\u5728\u7a33\u5b9a\u6027\u4e0a\uff0cKwaiflow \u53ef\u7528\u6027\u4e3a 99.99%\uff0c Airflow \u5219\u4e3a 99.5%\uff1bKwaiflow \u5e74\u6545\u969c\u6570\u7ea6 1 \u4e2a\uff0c\u800c Airflow \u5e74\u5747\u4e3a 8 \u4e2a\u3002<\/li><\/ul>\n\n\n\n\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u63a5\u4e0b\u6765\u6211\u4eec\u770b\u8fd0\u884c\u73af\u5883\u51c6\u5907\u8fd9\u4e2a\u56e0\u7d20\u3002\u8fd9\u548c\u6267\u884c\u573a\u666f\u6709\u5173\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e0d\u540c\u7684\u6267\u884c\u573a\u666f\uff0cKwaiflow \u63d0\u4f9b\u4e86\u4e24\u79cd\u6267\u884c\u65b9\u5f0f\uff1a\u5bb9\u5668\u5316\u6267\u884c\u548c\u672c\u5730\u6267\u884c\u3002<\/p>\n\n\n\n
\u9ad8\u53ef\u7528\u5bf9\u8c03\u5ea6\u7cfb\u7edf\u6765\u8bf4\u975e\u5e38\u91cd\u8981\u3002\u4e3a\u4e86\u4fdd\u969c Kwaiflow \u7684\u9ad8\u53ef\u7528\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e24\u65b9\u9762\u8fdb\u884c\u8003\u8651\uff1a\u7cfb\u7edf\u8bbe\u8ba1\u548c\u6545\u969c\u53d1\u73b0\u5904\u7406\u3002\u5728\u7cfb\u7edf\u8bbe\u8ba1\u4e0a\uff0cKwaiflow \u53ef\u4ee5\u505a\u5230\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5373\u4efb\u52a1\u5b9e\u4f8b\u5728\u590d\u6742\u73af\u5883\u4e2d Exactly Once \u6267\u884c\uff0c\u505a\u5230\u4e0d\u6f0f\uff0c\u4e14\u5c3d\u91cf\u4e0d\u91cd\u3002<\/p>\n\n\n\n
\u5bf9\u4e8e\u9ad8\u53ef\u9760\u6267\u884c\uff0c\u5e38\u89c1\u7684\u6545\u969c\u573a\u666f\u5305\u62ec\u7ec4\u4ef6\u6545\u969c\u6216\u8005\u7ec4\u4ef6\u5931\u8054\u3002\u4f8b\u5982 scheduler crash\u3001\u5bb9\u5668\u5316\u4efb\u52a1\u4e0e worker \u5931\u8054\u7b49\u3002<\/p>\n\n\n\n
\u4e3a\u4e86\u8fbe\u5230\u9ad8\u53ef\u9760\uff0c\u6211\u4eec\u4e3b\u8981\u4ece\u4e09\u65b9\u9762\u8003\u8651\uff1a<\/p>\n\n\n\n
\u9ad8\u53ef\u7528\u65b9\u9762\uff0c\u8fd8\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u7cfb\u7edf\u8bbe\u8ba1\u662f\u5206\u7ea7\u4fdd\u969c\u3002\u5feb\u624b\u5728\u8fdb\u884c\u5927\u578b\u6d3b\u52a8\u4f8b\u5982\u6625\u8282\u3001\u5965\u8fd0\u65f6\uff0c\u6574\u4f53\u6570\u636e\u91cf\u5927\u5e45\u5ea6\u589e\u957f\uff0c\u5c40\u90e8\u6570\u636e\u5448\u6570\u500d\u589e\u957f\u3002\u4f46\u8ba1\u7b97\u8d44\u6e90\u662f\u6709\u9650\u7684\uff0c\u8ba1\u7b97\u8d44\u6e90\u7684\u589e\u957f\u5f80\u5f80\u4e0d\u80fd\u5339\u914d\u6570\u636e\u91cf\u7684\u589e\u957f\uff0c\u4e0d\u80fd\u8ba9\u6240\u6709\u7684\u4efb\u52a1\u548c\u5f80\u5e38\u4e00\u6837\u6309\u65f6\u4ea7\u51fa\u3002\u8fd9\u65f6\u5019\u6211\u4eec\u5c31\u9700\u8981\u8fdb\u884c\u5206\u7ea7\u4fdd\u969c\u3002<\/p>\n\n\n\n
\u6240\u8c13\u5206\u7ea7\u4fdd\u969c\uff0c\u5c31\u662f\u5728\u8d44\u6e90\u6709\u9650\u7684\u60c5\u51b5\u4e0b\uff0c\u8ba9\u9ad8\u4f18\u4efb\u52a1\u5f97\u5230\u7279\u6743\uff0c\u4f18\u5148\u5f97\u5230\u6267\u884c\uff0c\u4f18\u5148\u83b7\u5f97\u5145\u8db3\u7684\u4f18\u8d28\u8d44\u6e90\uff0c\u4fdd\u969c\u4ea7\u51fa\u65f6\u95f4\uff1b\u800c\u4f4e\u4f18\u4efb\u52a1\u5219\u4f1a\u88ab\u5ef6\u8fdf\u8c03\u5ea6\u6267\u884c\uff0c\u5206\u914d\u66f4\u5c11\u7684\u8d44\u6e90\u3002<\/p>\n\n\n\n
\u5728\u5feb\u624b\uff0c\u6574\u4e2a\u79bb\u7ebf\u4f53\u7cfb\uff0c\u5305\u62ec Kwaiflow\u3001Hive\u3001Yarn\u3001HDFS \u7b49\uff0c\u90fd\u5177\u6709\u5206\u7ea7\u4fdd\u969c\u7684\u80fd\u529b\u3002\u8fd9\u91cc\u4ecb\u7ecd Kwaiflow \u7684\u5206\u7ea7\u4fdd\u969c\u80fd\u529b\uff0c\u5305\u62ec\u4e09\u65b9\u9762\uff1a<\/p>\n\n\n\n
\u524d\u9762\u4e3b\u8981\u4ece\u7cfb\u7edf\u8bbe\u8ba1\u65b9\u9762\u4ecb\u7ecd\u4e86\u7ebf\u4e0a\u6545\u969c\u7684\u81ea\u52a8\u89c4\u907f\u3002Kwaiflow \u9ad8\u53ef\u7528\u7684\u7b2c\u4e8c\u4e2a\u65b9\u9762\u662f\u6545\u969c\u7684\u53d1\u73b0\u548c\u5904\u7406\u3002\u5982\u679c\u6545\u969c\u53d1\u73b0\u4e0d\u53ca\u65f6\u3001\u5904\u7406\u4e0d\u8fc5\u901f\uff0c\u4f1a\u51fa\u73b0\u5927\u89c4\u6a21\u7684\u8c03\u5ea6\u9519\u8bef\u6216\u8005\u8c03\u5ea6\u5ef6\u8fdf\u6545\u969c\u3002\u5728\u5feb\u624b\u8c03\u5ea6\u7cfb\u7edf\u53d1\u5c55\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u78b0\u5230\u8fc7\u8fd9\u6837\u7684\u5927\u6545\u969c\uff0c\u4e3a\u4e86\u907f\u514d\u518d\u6b21\u53d1\u751f\uff0c\u6211\u4eec\u5efa\u7acb\u4e86\u5b8c\u5907\u7684\u76d1\u63a7\u9884\u6848\u4f53\u7cfb\u3002<\/p>\n\n\n\n
\u5f00\u653e\u662f\u6570\u636e\u4e2d\u53f0\u7684\u6838\u5fc3\u7ade\u4e89\u529b\u3002\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u7ed9\u4e88\u4f7f\u7528\u8005\u81ea\u7531\u7684\u53d1\u6325\u7a7a\u95f4\uff0c\u6ee1\u8db3\u66f4\u591a\u4f7f\u7528\u573a\u666f\uff1b\u53ea\u6709\u8db3\u591f\u5f00\u653e\uff0c\u624d\u80fd\u6784\u5efa\u6570\u636e\u751f\u6001\uff0c\u63d0\u4f9b\u66f4\u4e30\u5bcc\u7684\u80fd\u529b\u3002Kwaiflow \u63d0\u4f9b\u4e86\u591a\u79cd\u5f00\u653e\u80fd\u529b\uff1a<\/p>\n\n\n\n
04<\/strong><\/p>\n\n\n\n\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u4e0e\u6210\u679c<\/strong><\/p>\n\n\n\n\u5982\u679c\u628a\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6bd4\u4f5c\u5927\u697c\u7684\u9aa8\u67b6\uff0c\u90a3\u4e48\u57fa\u4e8e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u5c31\u662f\u88c5\u4fee\u5b8c\u5584\u3001\u9002\u4e8e\u4eba\u5de5\u4f5c\u751f\u6d3b\u7684\u5927\u53a6\u3002\u901a\u8fc7\u5e94\u7528\uff0c\u80fd\u66f4\u597d\u5730\u4f53\u73b0\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4ef7\u503c\u3002\u5728\u5feb\u624b\uff0c\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4e00\u4e2a\u5178\u578b\u5e94\u7528\u3002<\/p>\n\n\n\n\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u5feb\u624b\u7684\u4e00\u7ad9\u5f0f\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u4f7f\u7528 kwaiflow \u4f5c\u4e3a\u7edf\u4e00\u7684\u7f16\u6392\u4e0e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u6784\u5efa\u4e86\u5404\u7c7b\u7684\u6570\u636e\u5f00\u53d1\u8fd0\u7ef4\u7b49\u670d\u52a1\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u67e5\u8be2\u3001\u540c\u6b65\u3001\u5f00\u53d1\u3001\u670d\u52a1\u5316\u3001\u8fd0\u7ef4\u3001\u7ba1\u7406\u7b49\u80fd\u529b\u3002<\/p>\n\n\n\n\u8be5\u5e73\u53f0\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u4e00\u7ad9\u5f0f<\/strong>\uff1a\u5e73\u53f0\u6db5\u76d6\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u7684\u5404\u73af\u8282\uff0c\u5305\u62ec\u6570\u636e\u63a5\u5165\u3001\u6570\u636e\u52a0\u5de5\u3001\u6570\u636e\u5206\u53d1\u548c\u6570\u636e\u670d\u52a1\u5316\u3002\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u6e90\u7ba1\u7406\uff0c\u521b\u5efa\u6570\u636e\u63a5\u5165\u4efb\u52a1\u5c06\u5404\u79cd\u6570\u636e\u6e90\u5bfc\u5165\u5230\u5927\u6570\u636e\u7cfb\u7edf\u4e2d\uff1b\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u667a\u80fd IDE \u7f16\u5199\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03 ETL \u4efb\u52a1\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5de5\u5904\u7406\uff0c\u4ea7\u751f\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b\u7528\u6237\u8fd8\u53ef\u4ee5\u521b\u5efa\u6570\u636e\u5206\u53d1\u4efb\u52a1\uff0c\u5c06\u9ad8\u4ef7\u503c\u6570\u636e\u5206\u53d1\u5230\u5176\u5b83\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u4f8b\u5982\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u975e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u7f13\u5b58\u7cfb\u7edf\u3001OLAP \u5f15\u64ce\u7b49\u3002\u7528\u6237\u4e5f\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u914d\u7f6e\u7684\u65b9\u5f0f\u521b\u5efa\u670d\u52a1\u5316 API\uff0c\u4e3a\u7ebf\u4e0a\u7cfb\u7edf\u63d0\u4f9b\u670d\u52a1\u3002<\/li>\u901a\u7528<\/strong>\uff1a\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u80fd\u7edf\u4e00\u8fd0\u7ef4 Kwaiflow \u6240\u6709\u4efb\u52a1\uff0c\u5305\u62ec\u4efb\u52a1\u8fd0\u7ef4\u3001\u5b9e\u4f8b\u8fd0\u7ef4\u3001\u94fe\u8def\u8fd0\u7ef4\u7b49\u65b9\u5f0f\uff0c\u9002\u5408\u6570\u636e\u5f00\u53d1\u3001\u5b9a\u65f6\u8c03\u5ea6\u3001\u89e6\u53d1\u5f0f\u8c03\u5ea6\u7b49\u573a\u666f\u3002<\/li>\u667a\u80fd<\/strong>\uff1a\u5728\u5f00\u53d1\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd IDE\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4ee3\u7801\u95ee\u9898\uff1b\u5728\u8fd0\u7ef4\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd\u76d1\u63a7\u3001\u667a\u80fd\u8bca\u65ad\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4efb\u52a1\u548c\u94fe\u8def\u95ee\u9898\uff0c\u5e76\u8f85\u52a9\u5b9a\u4f4d\u95ee\u9898\u539f\u56e0\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8981\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u4e0d\u4ec5\u8981\u6709\u5f3a\u5927\u7684\u81ea\u8eab\u80fd\u529b\uff0c\u66f4\u8981\u6709\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\u3002\u5728\u5feb\u624b\uff0cKwaiflow \u548c\u5927\u6570\u636e\u7684\u5176\u5b83\u7cfb\u7edf\u6df1\u5ea6\u96c6\u6210\uff0c\u63a5\u5165\u4e86 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u4fbf\u6377\u5730\u4f7f\u7528\u5176\u5b83\u5927\u6570\u636e\u7cfb\u7edf\u7684\u80fd\u529b\u3002\u53ef\u4ee5\u8bf4\uff0c\u81ea\u8eab\u80fd\u529b\u548c\u751f\u6001\u4f53\u7cfb\u5bf9 Kwaiflow \u6765\u8bf4\u540c\u7b49\u91cd\u8981\u3002<\/p>\n\n\n\n\u9996\u5148\uff0c\u5c31\u81ea\u8eab\u800c\u8a00\uff0cKwaiflow \u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u6267\u884c\u80fd\u529b\u3002\u5305\u62ec\u591a\u573a\u666f\u8c03\u5ea6\u80fd\u529b\u3001\u591a\u6837\u5316\u7684\u6267\u884c\u80fd\u529b\u3001\u6613\u7528\u7684\u8fd0\u7ef4\u80fd\u529b\u548c\u9ad8\u53ef\u7528\u7684\u7279\u6027\u3002<\/p>\n\n\n\n\u5176\u6b21\uff0cKwaiflow \u5177\u6709\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\u3002\u63a5\u5165 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u65b9\u4fbf\u5730\u4f7f\u7528\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\u3002<\/p>\n\n\n\n\u6700\u540e\uff0cKwaiflow \u65e0\u7f1d\u96c6\u6210\u4e86\u5176\u5b83\u4e2d\u53f0\u80fd\u529b\u3002\u5305\u62ec\u6570\u636e\u8d28\u91cf\u3001\u6570\u636e\u5b89\u5168\u4f53\u7cfb\u3001\u5b8c\u6574\u51c6\u786e\u7684\u4efb\u52a1\u5b9e\u4f8b\u8840\u7f18\u3001\u94fe\u8def\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5c06\u4ece\u6027\u80fd\u3001\u529f\u80fd\u548c\u4f7f\u7528\u60c5\u51b5\u4e09\u4e2a\u65b9\u9762\u4ecb\u7ecd Kwaiflow \u7684\u6210\u679c\u3002<\/p>\n\n\n\n\u5728\u6027\u80fd\u65b9\u9762<\/strong>\uff0c\u548c Airflow \u76f8\u6bd4\uff0c\u6709\u6781\u5927\u7684\u63d0\u5347\uff1a<\/p>\n\n\n\n\u5728\u89c4\u6a21\u4e0a\uff0cKwaiflow \u521d\u7248\u8bbe\u8ba1\u5bb9\u91cf\u4e3a\u767e\u4e07\u7ea7\u522b\u4efb\u52a1\uff0c\u5f53\u524d\u5df2\u6709\u6570\u5341\u4e07\u7684\u4efb\u52a1\u6570\uff0c\u548c Airflow \u5355\u96c6\u7fa4\u4e0d\u8d85\u8fc7 1 \u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\u3002<\/li>\u5728\u6027\u80fd\u4e0a\uff0cKwaiflow \u8c03\u5ea6\u9ad8\u5cf0\u671f\u7684\u8c03\u5ea6\u5ef6\u8fdf P99 \u5c0f\u4e8e 5 \u79d2\uff0c\u548c Airflow 5 \u5206\u949f\u76f8\u6bd4\uff0c\u6709\u6570\u91cf\u7ea7\u7684\u63d0\u5347\uff1bKwaiflow \u8d77\u8c03\u901f\u7387\u5341\u6570\u4e07\u6bcf\u5206\u949f\uff0c\u548c Airflow \u6570\u5343\u6bcf\u5206\u949f\u5bf9\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\uff1bKwaiflow \u8fd0\u884c\u7684\u5e76\u53d1\u5b9e\u4f8b\u6570\u5341\u6570\u4e07\u4e07\uff0c\u548c Airflow \u5c0f\u4e8e1\u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u5341\u6570\u500d\u3002<\/li>\u5728\u7a33\u5b9a\u6027\u4e0a\uff0cKwaiflow \u53ef\u7528\u6027\u4e3a 99.99%\uff0c Airflow \u5219\u4e3a 99.5%\uff1bKwaiflow \u5e74\u6545\u969c\u6570\u7ea6 1 \u4e2a\uff0c\u800c Airflow \u5e74\u5747\u4e3a 8 \u4e2a\u3002<\/li><\/ul>\n\n\n\n\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5feb\u624b\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u4e0e\u6210\u679c<\/strong><\/p>\n\n\n\n\u5982\u679c\u628a\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6bd4\u4f5c\u5927\u697c\u7684\u9aa8\u67b6\uff0c\u90a3\u4e48\u57fa\u4e8e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u5c31\u662f\u88c5\u4fee\u5b8c\u5584\u3001\u9002\u4e8e\u4eba\u5de5\u4f5c\u751f\u6d3b\u7684\u5927\u53a6\u3002\u901a\u8fc7\u5e94\u7528\uff0c\u80fd\u66f4\u597d\u5730\u4f53\u73b0\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4ef7\u503c\u3002\u5728\u5feb\u624b\uff0c\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4e00\u4e2a\u5178\u578b\u5e94\u7528\u3002<\/p>\n\n\n\n\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u5feb\u624b\u7684\u4e00\u7ad9\u5f0f\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u4f7f\u7528 kwaiflow \u4f5c\u4e3a\u7edf\u4e00\u7684\u7f16\u6392\u4e0e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u6784\u5efa\u4e86\u5404\u7c7b\u7684\u6570\u636e\u5f00\u53d1\u8fd0\u7ef4\u7b49\u670d\u52a1\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u67e5\u8be2\u3001\u540c\u6b65\u3001\u5f00\u53d1\u3001\u670d\u52a1\u5316\u3001\u8fd0\u7ef4\u3001\u7ba1\u7406\u7b49\u80fd\u529b\u3002<\/p>\n\n\n\n\u8be5\u5e73\u53f0\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n\u4e00\u7ad9\u5f0f<\/strong>\uff1a\u5e73\u53f0\u6db5\u76d6\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u7684\u5404\u73af\u8282\uff0c\u5305\u62ec\u6570\u636e\u63a5\u5165\u3001\u6570\u636e\u52a0\u5de5\u3001\u6570\u636e\u5206\u53d1\u548c\u6570\u636e\u670d\u52a1\u5316\u3002\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u6e90\u7ba1\u7406\uff0c\u521b\u5efa\u6570\u636e\u63a5\u5165\u4efb\u52a1\u5c06\u5404\u79cd\u6570\u636e\u6e90\u5bfc\u5165\u5230\u5927\u6570\u636e\u7cfb\u7edf\u4e2d\uff1b\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u667a\u80fd IDE \u7f16\u5199\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03 ETL \u4efb\u52a1\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5de5\u5904\u7406\uff0c\u4ea7\u751f\u9ad8\u4ef7\u503c\u7684\u6570\u636e\uff1b\u7528\u6237\u8fd8\u53ef\u4ee5\u521b\u5efa\u6570\u636e\u5206\u53d1\u4efb\u52a1\uff0c\u5c06\u9ad8\u4ef7\u503c\u6570\u636e\u5206\u53d1\u5230\u5176\u5b83\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0c\u4f8b\u5982\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u975e\u5173\u7cfb\u578b\u6570\u636e\u5e93\u3001\u7f13\u5b58\u7cfb\u7edf\u3001OLAP \u5f15\u64ce\u7b49\u3002\u7528\u6237\u4e5f\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u914d\u7f6e\u7684\u65b9\u5f0f\u521b\u5efa\u670d\u52a1\u5316 API\uff0c\u4e3a\u7ebf\u4e0a\u7cfb\u7edf\u63d0\u4f9b\u670d\u52a1\u3002<\/li>\u901a\u7528<\/strong>\uff1a\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u80fd\u7edf\u4e00\u8fd0\u7ef4 Kwaiflow \u6240\u6709\u4efb\u52a1\uff0c\u5305\u62ec\u4efb\u52a1\u8fd0\u7ef4\u3001\u5b9e\u4f8b\u8fd0\u7ef4\u3001\u94fe\u8def\u8fd0\u7ef4\u7b49\u65b9\u5f0f\uff0c\u9002\u5408\u6570\u636e\u5f00\u53d1\u3001\u5b9a\u65f6\u8c03\u5ea6\u3001\u89e6\u53d1\u5f0f\u8c03\u5ea6\u7b49\u573a\u666f\u3002<\/li>\u667a\u80fd<\/strong>\uff1a\u5728\u5f00\u53d1\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd IDE\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4ee3\u7801\u95ee\u9898\uff1b\u5728\u8fd0\u7ef4\u73af\u8282\uff0c\u901a\u8fc7\u667a\u80fd\u76d1\u63a7\u3001\u667a\u80fd\u8bca\u65ad\uff0c\u80fd\u53ca\u65f6\u53d1\u73b0\u4efb\u52a1\u548c\u94fe\u8def\u95ee\u9898\uff0c\u5e76\u8f85\u52a9\u5b9a\u4f4d\u95ee\u9898\u539f\u56e0\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8981\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u4e0d\u4ec5\u8981\u6709\u5f3a\u5927\u7684\u81ea\u8eab\u80fd\u529b\uff0c\u66f4\u8981\u6709\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\u3002\u5728\u5feb\u624b\uff0cKwaiflow \u548c\u5927\u6570\u636e\u7684\u5176\u5b83\u7cfb\u7edf\u6df1\u5ea6\u96c6\u6210\uff0c\u63a5\u5165\u4e86 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u4fbf\u6377\u5730\u4f7f\u7528\u5176\u5b83\u5927\u6570\u636e\u7cfb\u7edf\u7684\u80fd\u529b\u3002\u53ef\u4ee5\u8bf4\uff0c\u81ea\u8eab\u80fd\u529b\u548c\u751f\u6001\u4f53\u7cfb\u5bf9 Kwaiflow \u6765\u8bf4\u540c\u7b49\u91cd\u8981\u3002<\/p>\n\n\n\n\u9996\u5148\uff0c\u5c31\u81ea\u8eab\u800c\u8a00\uff0cKwaiflow \u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u6267\u884c\u80fd\u529b\u3002\u5305\u62ec\u591a\u573a\u666f\u8c03\u5ea6\u80fd\u529b\u3001\u591a\u6837\u5316\u7684\u6267\u884c\u80fd\u529b\u3001\u6613\u7528\u7684\u8fd0\u7ef4\u80fd\u529b\u548c\u9ad8\u53ef\u7528\u7684\u7279\u6027\u3002<\/p>\n\n\n\n\u5176\u6b21\uff0cKwaiflow \u5177\u6709\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\u3002\u63a5\u5165 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u65b9\u4fbf\u5730\u4f7f\u7528\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\u3002<\/p>\n\n\n\n\u6700\u540e\uff0cKwaiflow \u65e0\u7f1d\u96c6\u6210\u4e86\u5176\u5b83\u4e2d\u53f0\u80fd\u529b\u3002\u5305\u62ec\u6570\u636e\u8d28\u91cf\u3001\u6570\u636e\u5b89\u5168\u4f53\u7cfb\u3001\u5b8c\u6574\u51c6\u786e\u7684\u4efb\u52a1\u5b9e\u4f8b\u8840\u7f18\u3001\u94fe\u8def\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5c06\u4ece\u6027\u80fd\u3001\u529f\u80fd\u548c\u4f7f\u7528\u60c5\u51b5\u4e09\u4e2a\u65b9\u9762\u4ecb\u7ecd Kwaiflow \u7684\u6210\u679c\u3002<\/p>\n\n\n\n\u5728\u6027\u80fd\u65b9\u9762<\/strong>\uff0c\u548c Airflow \u76f8\u6bd4\uff0c\u6709\u6781\u5927\u7684\u63d0\u5347\uff1a<\/p>\n\n\n\n\u5728\u89c4\u6a21\u4e0a\uff0cKwaiflow \u521d\u7248\u8bbe\u8ba1\u5bb9\u91cf\u4e3a\u767e\u4e07\u7ea7\u522b\u4efb\u52a1\uff0c\u5f53\u524d\u5df2\u6709\u6570\u5341\u4e07\u7684\u4efb\u52a1\u6570\uff0c\u548c Airflow \u5355\u96c6\u7fa4\u4e0d\u8d85\u8fc7 1 \u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\u3002<\/li>\u5728\u6027\u80fd\u4e0a\uff0cKwaiflow \u8c03\u5ea6\u9ad8\u5cf0\u671f\u7684\u8c03\u5ea6\u5ef6\u8fdf P99 \u5c0f\u4e8e 5 \u79d2\uff0c\u548c Airflow 5 \u5206\u949f\u76f8\u6bd4\uff0c\u6709\u6570\u91cf\u7ea7\u7684\u63d0\u5347\uff1bKwaiflow \u8d77\u8c03\u901f\u7387\u5341\u6570\u4e07\u6bcf\u5206\u949f\uff0c\u548c Airflow \u6570\u5343\u6bcf\u5206\u949f\u5bf9\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\uff1bKwaiflow \u8fd0\u884c\u7684\u5e76\u53d1\u5b9e\u4f8b\u6570\u5341\u6570\u4e07\u4e07\uff0c\u548c Airflow \u5c0f\u4e8e1\u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u5341\u6570\u500d\u3002<\/li>\u5728\u7a33\u5b9a\u6027\u4e0a\uff0cKwaiflow \u53ef\u7528\u6027\u4e3a 99.99%\uff0c Airflow \u5219\u4e3a 99.5%\uff1bKwaiflow \u5e74\u6545\u969c\u6570\u7ea6 1 \u4e2a\uff0c\u800c Airflow \u5e74\u5747\u4e3a 8 \u4e2a\u3002<\/li><\/ul>\n\n\n\n\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5982\u679c\u628a\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u6bd4\u4f5c\u5927\u697c\u7684\u9aa8\u67b6\uff0c\u90a3\u4e48\u57fa\u4e8e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u5e94\u7528\u5c31\u662f\u88c5\u4fee\u5b8c\u5584\u3001\u9002\u4e8e\u4eba\u5de5\u4f5c\u751f\u6d3b\u7684\u5927\u53a6\u3002\u901a\u8fc7\u5e94\u7528\uff0c\u80fd\u66f4\u597d\u5730\u4f53\u73b0\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4ef7\u503c\u3002\u5728\u5feb\u624b\uff0c\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u7684\u4e00\u4e2a\u5178\u578b\u5e94\u7528\u3002<\/p>\n\n\n\n
\u96c6\u6210\u5f00\u53d1\u5e73\u53f0\u662f\u5feb\u624b\u7684\u4e00\u7ad9\u5f0f\u79bb\u7ebf\u6570\u636e\u5f00\u53d1\u5e73\u53f0\u3002\u5b83\u4f7f\u7528 kwaiflow \u4f5c\u4e3a\u7edf\u4e00\u7684\u7f16\u6392\u4e0e\u8c03\u5ea6\u7cfb\u7edf\uff0c\u6784\u5efa\u4e86\u5404\u7c7b\u7684\u6570\u636e\u5f00\u53d1\u8fd0\u7ef4\u7b49\u670d\u52a1\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u67e5\u8be2\u3001\u540c\u6b65\u3001\u5f00\u53d1\u3001\u670d\u52a1\u5316\u3001\u8fd0\u7ef4\u3001\u7ba1\u7406\u7b49\u80fd\u529b\u3002<\/p>\n\n\n\n
\u8be5\u5e73\u53f0\u5177\u6709\u4e09\u4e2a\u7279\u70b9\uff1a<\/p>\n\n\n\n
\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8981\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u4e0d\u4ec5\u8981\u6709\u5f3a\u5927\u7684\u81ea\u8eab\u80fd\u529b\uff0c\u66f4\u8981\u6709\u4e30\u5bcc\u7684\u751f\u6001\u4f53\u7cfb\u3002\u5728\u5feb\u624b\uff0cKwaiflow \u548c\u5927\u6570\u636e\u7684\u5176\u5b83\u7cfb\u7edf\u6df1\u5ea6\u96c6\u6210\uff0c\u63a5\u5165\u4e86 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u4fbf\u6377\u5730\u4f7f\u7528\u5176\u5b83\u5927\u6570\u636e\u7cfb\u7edf\u7684\u80fd\u529b\u3002\u53ef\u4ee5\u8bf4\uff0c\u81ea\u8eab\u80fd\u529b\u548c\u751f\u6001\u4f53\u7cfb\u5bf9 Kwaiflow \u6765\u8bf4\u540c\u7b49\u91cd\u8981\u3002<\/p>\n\n\n\n
\u9996\u5148\uff0c\u5c31\u81ea\u8eab\u800c\u8a00\uff0cKwaiflow \u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u6267\u884c\u80fd\u529b\u3002\u5305\u62ec\u591a\u573a\u666f\u8c03\u5ea6\u80fd\u529b\u3001\u591a\u6837\u5316\u7684\u6267\u884c\u80fd\u529b\u3001\u6613\u7528\u7684\u8fd0\u7ef4\u80fd\u529b\u548c\u9ad8\u53ef\u7528\u7684\u7279\u6027\u3002<\/p>\n\n\n\n
\u5176\u6b21\uff0cKwaiflow \u5177\u6709\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\u3002\u63a5\u5165 Kwaiflow\uff0c\u4fbf\u53ef\u4ee5\u65b9\u4fbf\u5730\u4f7f\u7528\u5927\u6570\u636e\u8d44\u6e90\u548c\u5bb9\u5668\u8d44\u6e90\u3002<\/p>\n\n\n\n
\u6700\u540e\uff0cKwaiflow \u65e0\u7f1d\u96c6\u6210\u4e86\u5176\u5b83\u4e2d\u53f0\u80fd\u529b\u3002\u5305\u62ec\u6570\u636e\u8d28\u91cf\u3001\u6570\u636e\u5b89\u5168\u4f53\u7cfb\u3001\u5b8c\u6574\u51c6\u786e\u7684\u4efb\u52a1\u5b9e\u4f8b\u8840\u7f18\u3001\u94fe\u8def\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u5c06\u4ece\u6027\u80fd\u3001\u529f\u80fd\u548c\u4f7f\u7528\u60c5\u51b5\u4e09\u4e2a\u65b9\u9762\u4ecb\u7ecd Kwaiflow \u7684\u6210\u679c\u3002<\/p>\n\n\n\n\u5728\u6027\u80fd\u65b9\u9762<\/strong>\uff0c\u548c Airflow \u76f8\u6bd4\uff0c\u6709\u6781\u5927\u7684\u63d0\u5347\uff1a<\/p>\n\n\n\n\u5728\u89c4\u6a21\u4e0a\uff0cKwaiflow \u521d\u7248\u8bbe\u8ba1\u5bb9\u91cf\u4e3a\u767e\u4e07\u7ea7\u522b\u4efb\u52a1\uff0c\u5f53\u524d\u5df2\u6709\u6570\u5341\u4e07\u7684\u4efb\u52a1\u6570\uff0c\u548c Airflow \u5355\u96c6\u7fa4\u4e0d\u8d85\u8fc7 1 \u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\u3002<\/li>\u5728\u6027\u80fd\u4e0a\uff0cKwaiflow \u8c03\u5ea6\u9ad8\u5cf0\u671f\u7684\u8c03\u5ea6\u5ef6\u8fdf P99 \u5c0f\u4e8e 5 \u79d2\uff0c\u548c Airflow 5 \u5206\u949f\u76f8\u6bd4\uff0c\u6709\u6570\u91cf\u7ea7\u7684\u63d0\u5347\uff1bKwaiflow \u8d77\u8c03\u901f\u7387\u5341\u6570\u4e07\u6bcf\u5206\u949f\uff0c\u548c Airflow \u6570\u5343\u6bcf\u5206\u949f\u5bf9\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\uff1bKwaiflow \u8fd0\u884c\u7684\u5e76\u53d1\u5b9e\u4f8b\u6570\u5341\u6570\u4e07\u4e07\uff0c\u548c Airflow \u5c0f\u4e8e1\u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u5341\u6570\u500d\u3002<\/li>\u5728\u7a33\u5b9a\u6027\u4e0a\uff0cKwaiflow \u53ef\u7528\u6027\u4e3a 99.99%\uff0c Airflow \u5219\u4e3a 99.5%\uff1bKwaiflow \u5e74\u6545\u969c\u6570\u7ea6 1 \u4e2a\uff0c\u800c Airflow \u5e74\u5747\u4e3a 8 \u4e2a\u3002<\/li><\/ul>\n\n\n\n\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5c06\u4ece\u6027\u80fd\u3001\u529f\u80fd\u548c\u4f7f\u7528\u60c5\u51b5\u4e09\u4e2a\u65b9\u9762\u4ecb\u7ecd Kwaiflow \u7684\u6210\u679c\u3002<\/p>\n\n\n\n
\u5728\u6027\u80fd\u65b9\u9762<\/strong>\uff0c\u548c Airflow \u76f8\u6bd4\uff0c\u6709\u6781\u5927\u7684\u63d0\u5347\uff1a<\/p>\n\n\n\n\u5728\u89c4\u6a21\u4e0a\uff0cKwaiflow \u521d\u7248\u8bbe\u8ba1\u5bb9\u91cf\u4e3a\u767e\u4e07\u7ea7\u522b\u4efb\u52a1\uff0c\u5f53\u524d\u5df2\u6709\u6570\u5341\u4e07\u7684\u4efb\u52a1\u6570\uff0c\u548c Airflow \u5355\u96c6\u7fa4\u4e0d\u8d85\u8fc7 1 \u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\u3002<\/li>\u5728\u6027\u80fd\u4e0a\uff0cKwaiflow \u8c03\u5ea6\u9ad8\u5cf0\u671f\u7684\u8c03\u5ea6\u5ef6\u8fdf P99 \u5c0f\u4e8e 5 \u79d2\uff0c\u548c Airflow 5 \u5206\u949f\u76f8\u6bd4\uff0c\u6709\u6570\u91cf\u7ea7\u7684\u63d0\u5347\uff1bKwaiflow \u8d77\u8c03\u901f\u7387\u5341\u6570\u4e07\u6bcf\u5206\u949f\uff0c\u548c Airflow \u6570\u5343\u6bcf\u5206\u949f\u5bf9\u6bd4\uff0c\u63d0\u5347\u4e86\u6570\u5341\u500d\uff1bKwaiflow \u8fd0\u884c\u7684\u5e76\u53d1\u5b9e\u4f8b\u6570\u5341\u6570\u4e07\u4e07\uff0c\u548c Airflow \u5c0f\u4e8e1\u4e07\u76f8\u6bd4\uff0c\u63d0\u5347\u4e86\u5341\u6570\u500d\u3002<\/li>\u5728\u7a33\u5b9a\u6027\u4e0a\uff0cKwaiflow \u53ef\u7528\u6027\u4e3a 99.99%\uff0c Airflow \u5219\u4e3a 99.5%\uff1bKwaiflow \u5e74\u6545\u969c\u6570\u7ea6 1 \u4e2a\uff0c\u800c Airflow \u5e74\u5747\u4e3a 8 \u4e2a\u3002<\/li><\/ul>\n\n\n\n\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5728\u529f\u80fd\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u5177\u6709\u5f3a\u5927\u7684\u8c03\u5ea6\u80fd\u529b\uff0c\u652f\u6301\u591a\u8c03\u5ea6\u573a\u666f\u3001\u652f\u6301\u5404\u79cd\u590d\u6742\u4f9d\u8d56\u6d41\u7a0b\u7f16\u6392\u3002<\/li>\u5177\u6709\u7075\u6d3b\u7684\u6267\u884c\u65b9\u5f0f\uff0c\u4e30\u5bcc\u6613\u6269\u5c55\u7684\u4efb\u52a1\u7c7b\u578b\u3002<\/li>\u5177\u6709\u4fbf\u6377\u7684\u8fd0\u7ef4\u4e2d\u5fc3\uff0c\u4efb\u52a1\u3001\u5b9e\u4f8b\u3001\u94fe\u8def\u53ef\u89c6\u5316\u8fd0\u7ef4\uff0c\u667a\u80fd\u5316\u8fd0\u7ef4\u3002<\/li>\u5177\u6709\u591a\u79cd\u8d44\u6e90\u7ba1\u63a7\u80fd\u529b\uff0c\u652f\u6301\u591a\u79df\u6237\uff0c\u53ef\u65b9\u4fbf\u4f7f\u7528\u548c\u7ba1\u7406\u5927\u6570\u636e\u4e0e\u5bb9\u5668\u8d44\u6e90\u3002<\/li>\u5168\u9762\u96c6\u6210\u6570\u636e\u4e2d\u53f0\u80fd\u529b\uff0c\u5305\u62ec\u6570\u636e\u8d28\u91cf\u4e0e\u5b89\u5168\u4f53\u7cfb\u3001\u8840\u7f18\u3001\u5143\u6570\u636e\u3001\u94fe\u8def\u4fdd\u969c\u4f53\u7cfb\u3002<\/li><\/ul>\n\n\n\n\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5728\u4f7f\u7528\u60c5\u51b5\u65b9\u9762<\/strong>\uff0cKwaiflow\uff1a<\/p>\n\n\n\n\u9762\u5411\u5168\u516c\u53f8\uff0c\u63a5\u5165\u4e86\u6570\u636e\u3001\u7b97\u6cd5\u9886\u57df\u6570\u5341\u4e2a\u5e73\u53f0\uff0c\u5305\u62ec\u6307\u6807\u6a21\u578b\u7ba1\u7406\u5e73\u53f0\u3001AB \u6d4b\u8bd5\u5e73\u53f0\u3001\u7528\u6237\u753b\u50cf\u3001\u673a\u5668\u5b66\u4e60\u5e73\u53f0\u7b49\u3002<\/li>\u9762\u5411\u4e3b\u7ad9\u3001\u7535\u5546\u3001\u5546\u4e1a\u5316\u3001\u6d77\u5916\u3001\u6e38\u620f\u7b49\u51e0\u4e4e\u516c\u53f8\u6240\u6709\u4e1a\u52a1\u65b9\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n\u66f4\u901a\u7528\u5316<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u89e6\u53d1\u5f0f\u8c03\u5ea6\uff0c\u66f4\u590d\u6742\u7684\u5728\u7ebf\u6d41\u7a0b\u7f16\u6392\uff0c\u63a2\u7d22\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002<\/li>\u66f4\u9ad8\u6027\u80fd<\/strong>\uff1a\u66f4\u597d\u5730\u652f\u6301\u79d2\u7ea7\u8c03\u5ea6\uff0c\u652f\u6301\u5343\u4e07\u7ea7\u89c4\u6a21\u4efb\u52a1\u5b9e\u4f8b\uff0c\u652f\u6301\u5927\u89c4\u6a21\u89e6\u53d1\u5f0f\u8c03\u5ea6\u3002<\/li>\u66f4\u4e30\u5bcc\u7684\u529f\u80fd<\/strong>\uff1a\u66f4\u4e30\u5bcc\u7684\u5bb9\u5668\u8d44\u6e90\u7ba1\u7406\u80fd\u529b\uff0c\u5b8c\u5584\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\u7cfb\u7edf\u548c\u5927\u89c4\u6a21\u6a21\u62df\u6f14\u7ec3\u7cfb\u7edf\uff0c\u66f4\u52a0\u5feb\u901f\u7684\u90e8\u7f72\u80fd\u529b\u3002<\/li><\/ul>\n\n\n\n<\/figure>\n\n\n\n\n\n\n\n\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u5728\u672a\u6765\uff0cKwaiflow \u4e3b\u8981\u671d\u7740\u4e09\u4e2a\u65b9\u5411\u53d1\u5c55\uff1a<\/p>\n\n\n\n
\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
\u5bfc\u8bfb\uff1a\u5927\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u8d1f\u8d23\u6570\u636e\u9886\u57df\u6240\u6709\u79bb\u7ebf\u4efb\u52a1\u7684\u7f16\u6392\u8c03\u5ea6\uff0c\u662f\u6570\u636e\u4e2d\u53f0\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u968f\u7740\u4efb\u52a1\u91cf\u53d8\u5927\uff0c\u8c03\u5ea6\u7cfb\u7edf\u9762\u4e34\u8c03\u5ea6\u6027\u80fd\u53d8\u5dee\u548c\u7a33\u5b9a\u6027\u964d\u4f4e\u7b49\u6311\u6218\u3002\u672c\u6b21\u5206\u4eab\u4e3b\u8981\u8bb2\u8ff0\u5feb\u624b\u5728\u6bcf\u65e5\u6570\u5341\u4e07\u4efb\u2026<\/p>\n","protected":false},"author":2,"featured_media":64352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146,4158],"tags":[4771,3880],"special":[],"class_list":["post-64351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","category-kuaishou","tag-datafun","tag-3880","entry"],"views":91451,"_links":{"self":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351","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=64351"}],"version-history":[{"count":0,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/posts\/64351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media\/64352"}],"wp:attachment":[{"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/media?parent=64351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/categories?post=64351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/tags?post=64351"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.growthhk.cn\/wp-json\/wp\/v2\/special?post=64351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}