{"id":1677,"date":"2026-11-09T17:41:29","date_gmt":"2026-11-09T09:41:29","guid":{"rendered":"https:\/\/blog.humh.cn\/?p=1677"},"modified":"2026-11-09T17:41:30","modified_gmt":"2026-11-09T09:41:30","slug":"%e7%94%a8%e6%88%b7%e7%a7%af%e5%88%86","status":"publish","type":"post","link":"https:\/\/blog.humh.cn\/?p=1677","title":{"rendered":"\u7528\u6237\u79ef\u5206"},"content":{"rendered":"\n<p>\u793e\u533a\u7b49\u7ea7\u662f\u7528\u6237\u6d3b\u8dc3\u548c\u9b45\u529b\u7684\u89c1\u8bc1\uff0c\u4f1a\u968f\u7740\u7528\u6237\u7684\u6210\u957f\uff0c\u7b49\u7ea7\u4e5f\u4f1a\u9012\u589e\uff0c\u4e5f\u4f1a\u989d\u5916\u4eab\u53d7\u5230\u4e0d\u540c\u7279\u6743\u3002\u7b49\u7ea7\u662f\u6839\u636e\u79ef\u5206\u8fdb\u884c\u5212\u5206\uff0c\u79ef\u5206\u8d8a\u591a\uff0c\u7b49\u7ea7\u8d8a\u9ad8\u3002\u7528\u6237\u6bcf\u5929\u53ef\u83b7\u5f97\u79ef\u5206\uff0c\u9010\u6b65\u7d2f\u52a0\u81f3\u4e2a\u4eba\u603b\u79ef\u5206\u4e2d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-gallery columns-2 is-cropped\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img width=\"484\" height=\"1024\" class=\"wp-image-1686 lazyload\" title=\"\u7528\u6237\u79ef\u5206\" src=\"data:image\/gif;base64,R0lGODlhAgABAIAAALGxsQAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw==\" data-src=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173659976-484x1024.jpg\" alt=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173659976-484x1024.jpg\" data-srcset=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173659976-484x1024.jpg 484w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173659976-142x300.jpg 142w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173659976-768x1626.jpg 768w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173659976-725x1536.jpg 725w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173659976-967x2048.jpg 967w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173659976.jpg 1080w\" sizes=\"(max-width: 484px) 100vw, 484px\"><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img width=\"523\" height=\"1024\" class=\"wp-image-1687 lazyload\" title=\"\u7528\u6237\u79ef\u5206\" src=\"data:image\/gif;base64,R0lGODlhAgABAIAAALGxsQAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw==\" data-src=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173721922-523x1024.jpg\" alt=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173721922-523x1024.jpg\" data-srcset=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173721922-523x1024.jpg 523w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173721922-153x300.jpg 153w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173721922-768x1504.jpg 768w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173721922-784x1536.jpg 784w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173721922-1046x2048.jpg 1046w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173721922.jpg 1080w\" sizes=\"(max-width: 523px) 100vw, 523px\"><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img width=\"487\" height=\"1024\" class=\"wp-image-1688 lazyload\" title=\"\u7528\u6237\u79ef\u5206\" src=\"data:image\/gif;base64,R0lGODlhAgABAIAAALGxsQAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw==\" data-src=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173728957-487x1024.jpg\" alt=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173728957-487x1024.jpg\" data-srcset=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173728957-487x1024.jpg 487w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173728957-143x300.jpg 143w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173728957-768x1614.jpg 768w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173728957-731x1536.jpg 731w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173728957-975x2048.jpg 975w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173728957.jpg 1080w\" sizes=\"(max-width: 487px) 100vw, 487px\"><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img width=\"503\" height=\"1024\" class=\"wp-image-1689 lazyload\" title=\"\u7528\u6237\u79ef\u5206\" src=\"data:image\/gif;base64,R0lGODlhAgABAIAAALGxsQAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw==\" data-src=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173816974-503x1024.jpg\" alt=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173816974-503x1024.jpg\" data-srcset=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173816974-503x1024.jpg 503w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173816974-147x300.jpg 147w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173816974-768x1562.jpg 768w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173816974-755x1536.jpg 755w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173816974-1007x2048.jpg 1007w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173816974.jpg 1080w\" sizes=\"(max-width: 503px) 100vw, 503px\"><\/figure><\/li><\/ul><\/figure>\n\n\n\n<p>\u7528\u6237\u6bcf\u65e5\u79ef\u5206\u4e0e\u7b49\u7ea7\u4f1a\u5728\u6b21\u65e5\u66f4\u65b0\u3002<\/p>\n\n\n\n<p>\u79ef\u5206\u4e0e\u7b49\u7ea7\u6700\u7ec8\u5728\u7cfb\u7edf\u4e2d\u7684\u5b9e\u73b0\u65b9\u5f0f\u4e3a MySQL \u8868\u4e0e Redis\uff1a<\/p>\n\n\n\n<ul><li>\u79ef\u5206\u660e\u7ec6\uff1a\u6309\u7528\u6237 id \u9664\u4ee5 100 \u7684\u4f59\u6570\uff0c\u5373\u7528\u6237\u6700\u540e\u4e24\u4f4d\u5c3e\u53f7\u5206\u6210\u4e86 100 \u5f20 MySQL \u8868\uff0c\u8868\u4e2d\u8bb0\u5f55\u4e86\u6bcf\u4e2a\u7528\u6237\u5386\u53f2\u4ee5\u6765\u83b7\u5f97\u6240\u6709\u79ef\u5206\u660e\u7ec6\uff0c\u5177\u4f53\u5230\u6bcf\u4e00\u5206\u600e\u4e48\u83b7\u53d6\u6765\u7684\uff0c\u5982 \u6628\u65e5\u901a\u8fc7\u201c\u88ab\u70b9\u8d5e\u201d 10 \u6b21\u83b7\u5f97 10 \u5206\u3002<br>\u7528\u6237\u6709\u5165\u53e3\u53ef\u67e5\u8be2\u5230\u5386\u53f2\u79ef\u5206\u660e\u7ec6\uff08\u63a5\u53e3\u8c03\u7528\u67e5\u8be2\u8be5\u8868\uff09<\/li><li>\u603b\u79ef\u5206\u3001\u7b49\u7ea7\u3001\u7279\u6743\uff1a\u6bcf\u4e2a\u7528\u6237\u7684\u603b\u79ef\u5206\u4e0e\u7b49\u7ea7\u6570\u503c\u4f1a\u8bb0\u5f55\u5728 Redis \u4e2d\uff0c\u6bcf\u4e2a\u7528\u6237\u4e00\u4e2a K-V\uff0cvalue \u4e0d\u4ec5\u5305\u542b\u5f53\u524d\u603b\u79ef\u5206\u4e0e\u7b49\u7ea7\u503c\u8fd8\u5305\u542b\u5bf9\u5e94\u7279\u6743\u9650\u5236\u89c4\u5219\u3002\u5f53\u7136\u7b49\u7ea7\u503c\u4e0e\u7279\u6743\u4f1a\u989d\u5916\u6301\u4e45\u5316\u5230 MySQL \u7528\u6237\u8868\u4e2d\u3002<br>APP \u4e2a\u4eba\u9875\u4f1a\u5c55\u793a\u603b\u5206\u4e0e\u7b49\u7ea7\uff0c\u540c\u65f6\u5176\u4ed6\u529f\u80fd\u63a5\u53e3\u5185\u90e8\u4f1a\u8bfb\u53d6\u8be5 Redis K-V \u6765\u5224\u65ad\u5f00\u653e\u7a0b\u5ea6\u4e0e\u589e\u76ca\u3002<\/li><\/ul>\n\n\n\n<p>\u56e0\u4e3a\u7528\u6237\u53ef\u83b7\u5f97\u88ab\u52a8\u6536\u76ca\u79ef\u5206\uff0c\u6240\u4ee5\u4e0d\u4ec5\u4ec5\u9700\u8981\u8ba1\u7b97\u65e5\u6d3b\u6708\u6d3b\u7528\u6237\uff0c\u5b9e\u5219\u9700\u8981\u8ba1\u7b97\u5168\u7ad9\u7528\u6237\u3002\u5343\u4e07\u7ea7\u522b\u7684\u7528\u6237\u4f53\u91cf\uff0c\u5176\u6570\u636e\u8ba1\u7b97\u4e0e\u6570\u636e\u5199\u5165\u7b49\u538b\u529b\u53ef\u60f3\u800c\u77e5\uff0c\u79ef\u5206\u6bcf\u5929\u7684\u4efb\u52a1\u91cf\u5de8\u5927\u3002<\/p>\n\n\n\n<p>\u4e0b\u9762\u5927\u81f4\u4ecb\u7ecd\u4e0b\u300c\u7528\u6237\u79ef\u5206\u300d\u7684\u5b9e\u73b0\u5386\u6765\u7684\u6f14\u53d8\uff0c\u5176\u4e2d\u6709\u4e9b\u672f\u8bed\u548c\u6a21\u5757\u8fd9\u91cc\u8bf4\u660e\u4e00\u4e0b\uff1a<\/p>\n\n\n\n<ul><li>\u4e0b\u6587\u628a\u67d0\u4e2a\u7528\u6237\u6628\u65e5\u65b0\u589e\u603b\u79ef\u5206\u4e2d\u7684\u6bcf\u79cd\u7ec4\u6210\u6765\u6e90\u79f0\u4e4b\u4e3a\u201c\u7528\u6237\u884c\u4e3a\u201d\uff0c\u5982\u201c\u4f5c\u54c1\u88ab\u70b9\u8d5e\u201d\u3001\u201c\u88ab\u5173\u6ce8\u201d\u3001\u201c\u89c6\u9891\u5206\u4eab\u201d\u7b49<\/li><li>\u79ef\u5206\u7d2f\u52a0\u5b8c\u6bd5\u540e\uff0c<\/li><li>\u6b21\u65e5\u4f1a\u5c06\u7528\u6237\u6628\u65e5\u79ef\u5206\u60c5\u51b5\u6574\u7406\u6210\u65e5\u62a5\u5185\u5bb9\uff0c\u901a\u8fc7 IM \u6d88\u606f\u4e0e Push \u63a8\u9001 \u544a\u77e5\u7528\u6237\uff0c\u4e0b\u6587\u4f1a\u5c06\u8fd9\u5757\u903b\u8f91\u79f0\u4e3a\u201c\u6210\u7ee9\u65e5\u62a5\u201d<\/li><\/ul>\n\n\n\n<h1>\u521d\u7248\u5b9e\u73b0<\/h1>\n\n\n\n<p>\u5728\u6700\u65e9\u671f\u7684\u79ef\u5206\u7cfb\u7edf\u4e2d\uff0c\u56e0\u4e3a\u6ca1\u6709\u5b8c\u5584\u7684\u5927\u6570\u636e\u5e73\u53f0\u7b49\uff0c\u4efb\u52a1\u5b9e\u73b0\u7c97\u66b4\u7b80\u5355\uff1a<\/p>\n\n\n\n<p>\u4e0d\u540c\u7528\u6237\u884c\u4e3a\u4f1a\u5728\u4e0d\u540c\u63a5\u53e3\u4e2d\u88ab\u7edf\u8ba1\u5230 Redis \u4e2d\uff0c\u5982\u7528\u6237\u8c03\u7528\u4e86\u70b9\u8d5e\u63a5\u53e3\uff0c\u63a5\u53e3\u5185\u90e8\u4f1a\u6839\u636e\u8ba1\u7b97\u516c\u5f0f\u5c06\u8fd9\u90e8\u5206\u5e26\u6765\u7684\u79ef\u5206\u8bb0\u5f55\u5230 Redis \u4e2d\uff0c\u5176\u4ed6\u7528\u6237\u884c\u4e3a\u540c\u7406\u3002<\/p>\n\n\n\n<p>\u6bcf\u65e5\u5b9a\u65f6\u4efb\u52a1\u542f\u52a8 Python \u811a\u672c\uff0c\u811a\u672c\u5185\u90e8\u5f00\u59cb\u987a\u5e8f\u904d\u5386 User \u7528\u6237\u8868\uff0c\u6bcf\u4e2a\u7528\u6237\u5c31\u662f\u4e00\u6b21\u5faa\u73af\uff0c\u6bcf\u6b21\u5faa\u73af\u5185\u90e8\u518d\u53bb Redis \u4e2d\u83b7\u53d6\u5230\u5404\u4e2a\u884c\u4e3a\u5206\u503c\uff0c\u7136\u540e\u8ba1\u7b97\u51fa\u603b\u5206\uff0c\u79ef\u5206\u660e\u7ec6\u5199\u5165 MySQL \u8868\uff0c\u5e76\u6267\u884c\u7b49\u7ea7\u68c0\u67e5\u3001\u65e5\u62a5\u53d1\u9001\u7b49\u3002<\/p>\n\n\n\n<p>\u5c3d\u7ba1\u5199\u8868\u3001\u7b49\u7ea7\u68c0\u67e5\u4e0e\u65e5\u62a5\u53d1\u9001\u5747\u5b58\u5728\u8017\u65f6\uff0c\u4f46\u5f02\u6b65\u5747\u53ef\u5ffd\u7565\uff0c\u53ef\u7528\u6237\u904d\u5386\u8bfb\u8868\u64cd\u4f5c\u4e0e\u6570\u636e\u8ba1\u7b97\u65e0\u6cd5\u5f02\u6b65\uff0c\u5728\u5343\u4e07\u7528\u6237\u6570\u636e\u4f53\u91cf\u4e0b\uff0c\u4f1a\u4f7f\u5f97\u6574\u4e2a\u811a\u672c\u6267\u884c\u975e\u5e38\u6162\uff0c\u751a\u81f3\u9700\u8981 12 \u4e2a\u5c0f\u65f6\u591a\u3002\u5982\u679c\u518d\u9047\u5230\u6570\u636e\u9519\u8bef\u9700\u8981\u56de\u6eda\u91cd\u8dd1\u66f4\u662f\u6253\u51fb\u3002<\/p>\n\n\n\n<h1>\u91cd\u67840.1<\/h1>\n\n\n\n<p>\u968f\u7740\u5927\u6570\u636e\u5e73\u53f0\u7684\u5efa\u7acb\u4e0e\u5b8c\u5584\uff0c\u6211\u4eec\u5c06\u4e4b\u524d\u5faa\u73af\u904d\u5386\u7528\u6237\u8868\u5e76\u4f9d\u6b21\u7edf\u8ba1\u8ba1\u7b97\u7684\u6838\u5fc3\u90e8\u5206\u91cd\u6784\u5230\u4e86\u5927\u6570\u636e\u5e73\u53f0\uff0c\u6240\u6709\u6db5\u76d6\u7528\u6237\u884c\u4e3a\u7684\u63a5\u53e3\u5185\u5747\u4e0a\u62a5\u6570\u636e\u57cb\u70b9\uff0c\u6700\u7ec8\u901a\u8fc7 Spark \u8fdb\u884c\u8ba1\u7b97\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109154658207.png\" target=\"_blank\" rel=\"noopener\"><img width=\"481\" height=\"469\" class=\"wp-image-1678 lazyload\" title=\"\u7528\u6237\u79ef\u5206\" src=\"data:image\/gif;base64,R0lGODlhAgABAIAAALGxsQAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw==\" data-src=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109154658207.png\" alt=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109154658207.png\" data-srcset=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109154658207.png 962w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109154658207-300x293.png 300w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109154658207-768x749.png 768w\" sizes=\"(max-width: 481px) 100vw, 481px\"><\/a><\/figure><\/div>\n\n\n\n<p>\u5f7c\u65f6\u7684\u5927\u6570\u636e\u5e73\u53f0\u56e0\u6210\u672c\u7b49\u56e0\u7d20\u8003\u91cf\u5728\u4e03\u725b\u4e91\u4e0a\uff0c\u6570\u636e\u4efb\u52a1\u8c03\u5ea6\u7cfb\u7edf\u4e3a Ariflow\uff0c\u5927\u90e8\u5206\u8ba1\u7b97\u4ee3\u7801\u4e3a Spark Scala\uff0c\u800c\u6211\u4eec\u7684\u540e\u7aef\u670d\u52a1\u57fa\u672c\u5747\u5728\u963f\u91cc\u4e91\u4e0a\uff0c\u6570\u636e\u8ba1\u7b97\u5b8c\u6210\u8fd8\u9700\u8981\u5c06\u7ed3\u679c\u901a\u8fc7\u67d0\u4e9b\u624b\u6bb5\u4f20\u8f93\u81f3\u963f\u91cc\u4e91\u5e76\u89e6\u53d1\u540e\u7eed\u5bf9\u5e94\u4efb\u52a1\u3002\u8fd9\u91cc\u6211\u4eec\u5c06\u79ef\u5206\u660e\u7ec6\u4ee5 <code>csv.gz<\/code> \u7684\u8f7d\u4f53\u5206\u53d1\u81f3 CDN \u4e0a\uff0c\u5bf9\u5e94\u4efb\u52a1\u8fd0\u884c\u5728\u963f\u91cc\u4e91\u4e0a\uff0c\u5bf9\u5e94\u4efb\u52a1\u5185\u62c9\u53d6 CDN \u6570\u636e\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109162534915.png\" target=\"_blank\" rel=\"noopener\"><img width=\"1024\" height=\"413\" class=\"wp-image-1680 lazyload\" title=\"\u7528\u6237\u79ef\u5206\" src=\"data:image\/gif;base64,R0lGODlhAgABAIAAALGxsQAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw==\" data-src=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109162534915-1024x413.png\" alt=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109162534915-1024x413.png\" data-srcset=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109162534915-1024x413.png 1024w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109162534915-300x121.png 300w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109162534915-768x310.png 768w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109162534915-1536x619.png 1536w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109162534915-2048x826.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\"><\/a><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109162713786.png\" target=\"_blank\" rel=\"noopener\"><img width=\"1024\" height=\"547\" class=\"wp-image-1681 lazyload\" title=\"\u7528\u6237\u79ef\u5206\" src=\"data:image\/gif;base64,R0lGODlhAgABAIAAALGxsQAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw==\" data-src=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109162713786-1024x547.png\" alt=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109162713786-1024x547.png\" data-srcset=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109162713786-1024x547.png 1024w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109162713786-300x160.png 300w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109162713786-768x410.png 768w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109162713786-1536x821.png 1536w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109162713786-2048x1094.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\"><\/a><\/figure><\/div>\n\n\n\n<p>\u89e6\u53d1\u963f\u91cc\u4e91\u4efb\u52a1\u662f\u5728\u4e03\u725b\u4e91 Airflow \u5185 ssh \u963f\u91cc\u4e91\u4e3b\u673a\u6267\u884c\u76f8\u5173\u811a\u672c pod\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109160406218.png\" target=\"_blank\" rel=\"noopener\"><img width=\"1024\" height=\"301\" class=\"wp-image-1679 lazyload\" title=\"\u7528\u6237\u79ef\u5206\" src=\"data:image\/gif;base64,R0lGODlhAgABAIAAALGxsQAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw==\" data-src=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109160406218-1024x301.png\" alt=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109160406218-1024x301.png\" data-srcset=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109160406218-1024x301.png 1024w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109160406218-300x88.png 300w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109160406218-768x226.png 768w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109160406218-1536x451.png 1536w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109160406218-2048x602.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\"><\/a><figcaption>ssh\u90e8\u5206\u903b\u8f91\u793a\u610f<\/figcaption><\/figure><\/div>\n\n\n\n<p>\u8fd9\u6837\u91cd\u6784\u4ee5\u540e\u5927\u5e45\u51cf\u5c11\u6570\u636e\u8ba1\u7b97\u7684\u7528\u65f6\uff0c\u4e14\u8ba1\u7b97\u89c4\u5219\u66f4\u6613\u7ef4\u62a4\u3002\u4f46\u4f9d\u65e7\u5b58\u5728\u95ee\u9898\uff1a<\/p>\n\n\n\n<ul><li>\u8de8\u4e91\u5382\u5546\u7f51\u7edc\u7684\u6570\u636e\u4f20\u8f93<\/li><li>\u8de8\u7cfb\u7edf\u8c03\u5ea6\uff0c\u589e\u52a0\u4efb\u52a1\u590d\u6742\u5ea6\uff0c\u4e0d\u4fbf\u4e8e\u4efb\u52a1\u72b6\u6001\u7684\u53ca\u65f6\u8ddf\u8fdb<\/li><li>\u540e\u89e6\u53d1\u4efb\u52a1\u4ecd\u9700\u89e3\u6790 csv \u6570\u636e\u904d\u5386\uff0c\u4e3a\u4e86\u5b9e\u73b0\u53ef\u91cd\u8bd5\u5e42\u7b49\u8981\u6c42\uff0c\u8fd8\u9700\u8981\u5404\u79cd\u6267\u884c\u8bb0\u5f55\u6807\u8bc6<\/li><\/ul>\n\n\n\n<h1>\u91cd\u67841.0<\/h1>\n\n\n\n<p>\u540e\u6765\u5927\u6570\u636e\u5e73\u53f0\u8fdb\u884c\u4e86\u8fc1\u79fb\uff0c\u4ece\u4e03\u725b\u4e91\u8f6c\u817e\u8baf\u4e91\u6700\u7ec8\u843d\u5730\u963f\u91cc\u4e91\uff0c\u6570\u636e\u7cfb\u7edf\u4e5f\u8fdb\u884c\u4e86\u91cd\u6784\u3002\u501f\u7740\u5951\u673a\uff0c\u79ef\u5206\u4efb\u52a1\u4e5f\u8fdb\u884c\u4e86\u518d\u4e00\u6b21\u91cd\u6784\uff0c\u4e0d\u9700\u8981\u518d\u8003\u8651\u8de8\u5382\u5546\u7f51\u7edc\u7684\u6570\u636e\u4f20\u8f93\u95ee\u9898\uff0c\u4ece\u800c\u5c06\u7cfb\u7edf\u7b80\u5316\uff0c\u90e8\u5206\u6570\u636e\u53ef\u76f4\u63a5 EMR \u5199\u5165\u6216\u901a\u8fc7\u53ef\u7b80\u5355\u7684\u5f62\u5f0f\u6d41\u8f6c\u3002<\/p>\n\n\n\n<p>\u57cb\u70b9\u6570\u636e\u4e0a\u62a5\u81f3\u963f\u91cc\u4e91 SLS\uff0c\u963f\u91cc\u4e91 EMR \u5185\u76f4\u63a5 ETL \u6e05\u6d17\uff0c\u8c03\u5ea6\u7cfb\u7edf\u5185\u76f4\u63a5\u539f\u751f MySQL \u6570\u636e\u5bfc\u51fa\u7ec4\u4ef6\u5c06\u79ef\u5206\u660e\u7ec6\u5199\u5165\u8868\u5185\uff0c\u540c\u65f6 <meta charset=\"utf-8\">Redis \u79ef\u5206\u603b\u503c\u7531\u6570\u636e\u5e73\u53f0\u76f4\u63a5\u66f4\u65b0\uff0c\u65e0\u9700\u670d\u52a1\u7aef\u5f02\u6b65\u66f4\u65b0\u300220 ~ 25 min\uff08\u4e00\u822c05:30 \u5de6\u53f3\uff09\u76f8\u5f53\u4e8e\u7528\u6237\u6b64\u65f6\u5df2\u7ecf\u770b\u5230\u6628\u65e5\u79ef\u5206\u52a0\u4e0a\u4e86\u3002<\/p>\n\n\n\n<p>\u5176\u4ed6\u672a\u5904\u7406\u7684\u4e1a\u52a1\u6309\u540e\u89e6\u53d1\u4efb\u52a1\u7c7b\u578b\u4ee5\u6700\u7b80\u6d01\u9ad8\u6548\u7684\u6570\u636e\u7ed3\u6784\u5199\u5165\u81f3 Redis \u4e2d\uff0c\u867d\u7136\u4f9d\u65e7 K8S Pod \u5f62\u5f0f\u8fd0\u884c\u540e\u89e6\u53d1\u4efb\u52a1\u811a\u672c\uff0c\u4f46\u8fd9\u91cc\u4e0d\u9700\u8981\u518d\u624b\u52a8\u89e6\u53d1\uff0c\u800c\u662f\u5b9a\u65f6\u4efb\u52a1\u4e0d\u65ad\u8f6e\u8be2\u68c0\u6d4b\u72b6\u6001\u4f4d\u3002<\/p>\n\n\n\n<p>\u540e\u89e6\u53d1\u4efb\u52a1\u91cc\u4e5f\u8fdb\u884c\u89e3\u8026\u5f02\u6b65\uff0c\u5c06\u8017\u65f6\u64cd\u4f5c\u901a\u8fc7 Python Celery \u5f02\u6b65\u6d88\u8d39\u6267\u884c\u3002\u4efb\u52a1\u5e95\u5c42\u901a\u7528\u811a\u624b\u67b6\u8bbe\u8ba1\uff0c\u6240\u6709\u540e\u89e6\u53d1\u4efb\u52a1\u5df2\u5b9e\u73b0\u53ef\u91cd\u8dd1\u3001\u5e42\u7b49\u4ee5\u53ca\u4e00\u952e\u505c\u6b62\u529f\u80fd\u3002<\/p>\n\n\n\n<figure class=\"wp-block-gallery columns-2\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img width=\"874\" height=\"864\" class=\"wp-image-1683 lazyload\" title=\"\u7528\u6237\u79ef\u5206\" src=\"data:image\/gif;base64,R0lGODlhAgABAIAAALGxsQAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw==\" data-src=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109172902923.png\" alt=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109172902923.png\" data-srcset=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109172902923.png 874w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109172902923-300x297.png 300w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109172902923-768x759.png 768w\" sizes=\"(max-width: 874px) 100vw, 874px\"><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img width=\"1024\" height=\"854\" class=\"wp-image-1684 lazyload\" title=\"\u7528\u6237\u79ef\u5206\" src=\"data:image\/gif;base64,R0lGODlhAgABAIAAALGxsQAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw==\" data-src=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173056184-1024x854.png\" alt=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173056184-1024x854.png\" data-srcset=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173056184-1024x854.png 1024w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173056184-300x250.png 300w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173056184-768x640.png 768w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173056184-1536x1281.png 1536w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109173056184.png 1614w\" sizes=\"(max-width: 1024px) 100vw, 1024px\"><\/figure><\/li><\/ul><\/figure>\n\n\n\n<h2>\u5176\u4ed6\u4f18\u5316<\/h2>\n\n\n\n<h3>1. \u4e1a\u52a1\u6e90\u5934<\/h3>\n\n\n\n<p>\u901a\u8fc7\u5927\u91cf\u7684\u6570\u636e\u63a2\u67e5\uff0c\u5e76\u7ed3\u5408\u4e1a\u52a1\u5b9e\u9645\u60c5\u51b5\u51fa\u53d1<\/p>\n\n\n\n<ul><li>\u56e0\u4e3a\u5386\u53f2\u79ef\u5206\u660e\u7ec6\u9700\u8981\u624b\u673a\u6eda\u52a8\u4e0b\u6ed1\u7ffb\u9605\uff0c\u7528\u6237\u4e5f\u4ece\u4e0d\u5173\u5fc3\u5f88\u65e9\u65f6\u95f4\u4e4b\u524d\u7684\u60c5\u51b5\uff0c\u6240\u4ee5\u5c06\u5386\u53f2\u6309\u7528\u6237\u5c3e\u53f7\u5206\u4e3a\u4e86 100 \u5f20\u5206\u8868\u548c\u4e3a\u4e00\u5f20\u603b\u8868\u3002\u5220\u9664\u4e86 MySQL \u5386\u53f2\u5b58\u91cf\u6570\u636e\uff0c\u4ec5\u52a8\u6001\u4fdd\u7559\u8fd1 100 \u5929\u6570\u636e\uff0c\u5386\u53f2\u6570\u636e\u5907\u4efd\u81f3\u6570\u4ed3\u3002<\/li><li>\u65e5\u62a5\u4e0d\u518d\u63a8\u9001\u5168\u7ad9\u7528\u6237\uff0c\u4ec5\u63a8\u9001\u6d3b\u8dc3\u7528\u6237\uff0c\u5982\u4ec5\u63a8\u9001\u6700\u8fd1 180 \u5929\u6709\u6d3b\u8dc3\u7684\u7528\u6237\uff0c\u51cf\u5c11\u5168\u7ad9\u6709\u79ef\u5206\u53d8\u66f4\u7528\u6237 Push \u63a8\u9001\uff08push\u4f18\u5316\u9700\u6c42\uff09<\/li><\/ul>\n\n\n\n<h3>2. \u6570\u636e\u6e90\u5934<\/h3>\n\n\n\n<p>\u6570\u636e\u6e05\u6d17\uff1a\u57cb\u70b9\u683c\u5f0f\u4f18\u5316\uff0c\u51cf\u5c11\u6570\u636e\u6e05\u6d17\u8ba1\u7b97\u590d\u6742\u5ea6\u3002<\/p>\n\n\n\n<h3>3. \u76d1\u63a7&amp;\u544a\u8b66<\/h3>\n\n\n\n<p>\u589e\u52a0\u81ea\u76d1\u63a7\uff1a\u79ef\u5206 mock \u76d1\u63a7\uff0c\u57cb\u70b9\u4e0a\u62a5\u76d1\u63a7\u3002\u901a\u8fc7\u67d0\u4e2a\u6d4b\u8bd5\u8d26\u53f7\u5b8c\u6210\uff0c\u4ece\u53d1\u57cb\u70b9\u6e90\u5934\u5904\u5f00\u59cb mock\uff0c\u5230\u6700\u7ec8\u6570\u636e\u843d\u5730\uff0c\u5b8c\u6210\u95ed\u73af\u76d1\u63a7\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109170122626.png\" target=\"_blank\" rel=\"noopener\"><img width=\"512\" height=\"288\" class=\"wp-image-1682 lazyload\" title=\"\u7528\u6237\u79ef\u5206\" src=\"data:image\/gif;base64,R0lGODlhAgABAIAAALGxsQAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw==\" data-src=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109170122626-1024x575.png\" alt=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109170122626-1024x575.png\" data-srcset=\"https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109170122626-1024x575.png 1024w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109170122626-300x168.png 300w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109170122626-768x431.png 768w, https:\/\/file.blog.humh.cn\/wp-content\/uploads\/2026\/11\/20261109170122626.png 1030w\" sizes=\"(max-width: 512px) 100vw, 512px\"><\/a><\/figure><\/div>\n\n\n\n<p>\u6574\u4e2a\u7cfb\u7edf\u6240\u6709\u4efb\u52a1\u65e0\u8bba\u6210\u529f\u5931\u8d25\uff0c\u5747\u4f1a\u7b2c\u4e00\u65f6\u95f4\u9489\u9489\u544a\u8b66\uff0c\u82e5\u7d27\u6025\u91cd\u8981\u4f1a\u81ea\u52a8\u7535\u8bdd\u544a\u8b66\u3002<\/p>\n\n\n\n<p>\u540c\u65f6\u7528\u5230\u7684\u6240\u6709\u8d44\u6e90\uff0c\u5982 Celery \u961f\u5217\u538b\u529b Grafana \u76d1\u63a7\uff0c\u53ef\u968f\u65f6\u89c2\u5bdf\u4efb\u52a1\u538b\u529b\uff0c\u8d85\u51fa\u9608\u503c\u4f1a\u544a\u8b66\u3002<\/p>\n\n\n\n<h3>4. \u4fee\u590d<\/h3>\n\n\n\n<p>\u6210\u719f\u7684\u811a\u672c\u548c\u6570\u636e\u6d1e\u5bdf\u770b\u677f\uff0c\u53ef\u968f\u65f6\u51c6\u5907\u597d\u4fee\u590d\u6570\u636e\uff0c\u540c\u65f6\u4e00\u952e\u4efb\u52a1\u91cd\u8dd1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u793e\u533a\u7b49\u7ea7\u662f\u7528\u6237\u6d3b\u8dc3\u548c\u9b45\u529b\u7684\u89c1\u8bc1\uff0c\u4f1a\u968f\u7740\u7528\u6237\u7684\u6210\u957f\uff0c\u7b49\u7ea7\u4e5f\u4f1a\u9012\u589e\uff0c\u4e5f\u4f1a\u989d\u5916\u4eab\u53d7\u5230\u4e0d\u540c\u7279\u6743\u3002\u7b49\u7ea7\u662f\u6839\u636e\u79ef\u5206\u8fdb\u884c\u5212\u5206 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.humh.cn\/index.php?rest_route=\/wp\/v2\/posts\/1677"}],"collection":[{"href":"https:\/\/blog.humh.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.humh.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.humh.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.humh.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1677"}],"version-history":[{"count":2,"href":"https:\/\/blog.humh.cn\/index.php?rest_route=\/wp\/v2\/posts\/1677\/revisions"}],"predecessor-version":[{"id":1690,"href":"https:\/\/blog.humh.cn\/index.php?rest_route=\/wp\/v2\/posts\/1677\/revisions\/1690"}],"wp:attachment":[{"href":"https:\/\/blog.humh.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1677"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.humh.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1677"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.humh.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}