{"id":22422,"date":"2023-05-08T17:52:06","date_gmt":"2023-05-08T09:52:06","guid":{"rendered":"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/?p=22422"},"modified":"2023-05-09T12:25:32","modified_gmt":"2023-05-09T04:25:32","slug":"%e6%98%af%e5%be%ae%e6%9c%8d%e5%8a%a1%e6%9e%b6%e6%9e%84%e4%b8%8d%e9%a6%99%e8%bf%98%e6%98%af%e4%ba%91%e4%b8%8d%e9%a6%99%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/articles\/22422.html","title":{"rendered":"\u662f\u5fae\u670d\u52a1\u67b6\u6784\u4e0d\u9999\u8fd8\u662f\u4e91\u4e0d\u9999\uff1f"},"content":{"rendered":"<p><img decoding=\"async\" loading=\"lazy\" class=\"alignright size-medium wp-image-22424\" src=\"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/wp-content\/uploads\/2023\/05\/monolith.microservices-300x200.png\" alt=\"\" width=\"300\" height=\"200\" srcset=\"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/wp-content\/uploads\/2023\/05\/monolith.microservices-300x200.png 300w, https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/wp-content\/uploads\/2023\/05\/monolith.microservices-768x512.png 768w, https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/wp-content\/uploads\/2023\/05\/monolith.microservices-405x270.png 405w, https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/wp-content\/uploads\/2023\/05\/monolith.microservices.png 800w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/>\u8fd9\u4e24\u5929\u6280\u672f\u5708\u91cc\u70ed\u8bae\u7684\u4e00\u4ef6\u4e8b\u5c31\u662fAmazon\u7684\u6d41\u5a92\u4f53\u5e73\u53f0Prime Video\u57282023\u5e743\u670822\u65e5\u53d1\u5e03\u4e86\u4e00\u7bc7\u6280\u672f\u535a\u5ba2\u300a<a title=\"Scaling up the Prime Video audio\/video monitoring service and reducing costs by 90%\" href=\"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/www.primevideotech.com\/video-streaming\/scaling-up-the-prime-video-audio-video-monitoring-service-and-reducing-costs-by-90\" target=\"_blank\" rel=\"noopener\">\u89c4\u6a21\u5316Prime Video\u7684\u97f3\u89c6\u9891\u76d1\u63a7\u670d\u52a1\uff0c\u6210\u672c\u964d\u4f4e90%<\/a>\u300b\uff0c\u526f\u6807\u9898\uff1a\u201c<strong>\u4ece\u5206\u5e03\u5f0f\u5fae\u670d\u52a1\u67b6\u6784\u5230\u5355\u4f53\u5e94\u7528\u7a0b\u5e8f\u7684\u8f6c\u53d8\u6709\u52a9\u4e8e\u5b9e\u73b0\u66f4\u9ad8\u7684\u89c4\u6a21\u3001\u5f39\u6027\u548c\u964d\u4f4e\u6210\u672c<\/strong>\u201d\uff0c\u6709\u4eba\u628a\u8fd9\u7bc7\u6587\u7ae0\u5728\u4e94\u4e00\u671f\u95f4\u8f6c\u5230\u4e86<a href=\"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/www.reddit.com\/r\/programming\/comments\/137alxn\/prime_video_switched_from_serverless_to_ec2_and\/\" target=\"_blank\" rel=\"noopener\">reddit<\/a> \u548c <a href=\"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/news.ycombinator.com\/item?id=35811741\" target=\"_blank\" rel=\"noopener\">hacker news<\/a> \u4e0a\uff0c\u5728Reddit\u4e0a\u70ed\u8bae\u3002\u8fd9\u79cd\u8bdd\u9898\u4e0e\u4e1a\u5185\u63a8\u5d07\u7684\u5fae\u670d\u52a1\u67b6\u6784\u5f62\u6210\u4e86\u9c9c\u660e\u7684\u5bf9\u6bd4\u3002\u4ece\u201c\u5fae\u670d\u52a1\u67b6\u6784\u201d\u8f6c\u201c\u5355\u4f53\u67b6\u6784\u201d\uff0c\u8fd8\u662fAmazon\u5e72\u7684\uff0c\u8fd9\u4e2a\u8bdd\u9898\u8db3\u591f\u52b2\u7206\u3002\u7136\u540eDHH\u5728\u521a<a href=\"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/twitter.com\/dhh\/status\/1655076668787097607\" target=\"_blank\" rel=\"noopener\">\u55b7\u5b8cTypescript<\/a>\u540e\u7ee7\u7eed\u53d1\u6587\u300a<a href=\"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/world.hey.com\/dhh\/even-amazon-can-t-make-sense-of-serverless-or-microservices-59625580\" target=\"_blank\" rel=\"noopener\">\u5373\u4fbf\u662f\u4e9a\u9a6c\u900a\u4e5f\u65e0\u6cd5\u7406\u89e3Servless\u6216\u5fae\u670d\u52a1<\/a>\u300b\uff0c\u7ee7\u7eed\u62a8\u51fb\u5fae\u670d\u52a1\u67b6\u6784\uff0c\u4e8e\u662f\uff0c\u77ac\u95f4\u5f15\u7206\u6280\u672f\u5708\uff0c\u767b\u4e0a\u6280\u672f\u5708\u70ed\u641c\u3002<\/p>\n<p>\u4eca\u5929\u4e0a\u5348\u6709\u597d\u51e0\u4e2a\u670b\u53cb\u5728\u5fae\u4fe1\u91cc\u8f6c\u4e86\u4e09\u7bc7\u6587\u7ae0\u7ed9\u6211\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<ul>\n<li>\u300a<a href=\"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/mp.weixin.qq.com\/s\/mEmz8pviahEAWy1-SA8vcg\" target=\"_blank\" rel=\"noopener\">\u5fae\u670d\u52a1\u662f\u4e0d\u662f\u4e2a\u8822\u4e3b\u610f\uff1f<\/a>\u300b<\/li>\n<li>\u300a<a href=\"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/mp.weixin.qq.com\/s\/7zm5YyeZhQ2mu2TJvOK5tQ\" target=\"_blank\" rel=\"noopener\">\u5355\u4f53\u56de\u5f52\uff1f\u4e9a\u9a6c\u900a\u653e\u5f03\u7528\u4e8e\u89c6\u9891\u76d1\u63a7\u7684\u5fae\u670d\u52a1<\/a> \u300b<\/li>\n<li>\u300a<a href=\"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/mp.weixin.qq.com\/s\/fQtAMf4BfJxdBPWDE5ygwg\" target=\"_blank\" rel=\"noopener\">\u4ece\u5fae\u670d\u52a1\u8f6c\u4e3a\u5355\u4f53\u67b6\u6784\u3001\u6210\u672c\u964d\u4f4e 90%\uff0c\u4e9a\u9a6c\u900a\u5185\u90e8\u6848\u4f8b\u5f15\u53d1\u8f70\u52a8<\/a>\u300b<\/li>\n<\/ul>\n<p>\u770b\u770b\u8fd9\u4e9b\u6807\u9898\u5c31\u77e5\u9053\u8fd9\u4e9b\u6587\u7ae0\u8981\u7684\u662f\u6d41\u91cf\u800c\u4e0d\u662f\u597d\u597d\u5199\u7bc7\u6587\u7ae0\u3002\u770b\u5230\u7b2c\u4e8c\u7bc7\uff0c\u4f60\u8fd8\u771f\u5f53 Prime Video \u5c31\u662f Amazon \u7684\u5168\u90e8\u4e48\uff1f\u7136\u540e\uff0c\u518d\u770b\u770b\u8fd9\u4e9b\u6587\u7ae0\u540e\u9762\u7684\u8ddf\u98ce\u8bc4\u8bba\uff0c\u6211\u89c9\u5f97\u6709 80%\u7684\u4eba\u53ea\u770b\u6807\u9898\uff0c\u800c\u4e14\u662f\u8fde\u539f\u6587\u90fd\u4e0d\u770b\u7684\u3002\u6240\u4ee5\uff0c\u6211\u60f3\u6211\u5f97\u5199\u7bc7\u6587\u7ae0\u4e86\u2026\u2026<\/p>\n<p><!--more--><\/p>\n<h4>\u539f\u6587\u89e3\u8bfb<\/h4>\n<p>\u8981\u8ba4\u6e05\u8fd9\u4e2a\u95ee\u9898\u9996\u5148\u662f\u8981\u8ba4\u8ba4\u771f\u771f\u8bfb\u4e00\u8bfb\u539f\u6587\uff0cAmazon Prime Video \u6280\u672f\u56e2\u961f\u7684\u8fd9\u7bc7\u6587\u7ae0\u5e76\u4e0d\u96be\u8bfb\uff0c\u4e5f\u6ca1\u6709\u592a\u591a\u7684\u6280\u672f\u7ec6\u8282\uff0c\u4f46\u6838\u5fc3\u610f\u601d\u5982\u4e0b\uff1a<\/p>\n<p>1\uff09<strong>\u8fd9\u4e2a\u7cfb\u7edf\u662f\u4e00\u4e2a\u76d1\u63a7\u7cfb\u7edf\uff0c\u7528\u4e8e\u76d1\u63a7\u6570\u636e\u5343\u6761\u7528\u6237\u7684\u70b9\u64ad\u89c6\u9891\u6d41<\/strong>\u3002\u4e3b\u8981\u662f\u76d1\u63a7\u6574\u4e2a\u89c6\u9891\u6d41\u8fd0\u4f5c\u7684\u8d28\u91cf\u548c\u6548\u679c\uff08\u6bd4\u5982\uff1a\u89c6\u9891\u635f\u574f\u6216\u662f\u97f3\u9891\u4e0d\u540c\u6b65\u7b49\u95ee\u9898\uff09\uff0c\u8fd9\u4e2a\u76d1\u63a7\u4e3b\u8981\u662f\u5904\u7406\u89c6\u9891\u5e27\uff0c\u6240\u4ee5\uff0c\u4ed6\u4eec\u6709\u4e00\u4e2a\u5fae\u670d\u52a1\u4e3b\u8981\u662f\u7528\u6765\u628a\u89c6\u9891\u62c6\u5206\u6210\u5e27\uff0c\u5e76\u4e34\u65f6\u5b58\u5728 S3 \u4e0a\uff0c\u5c31\u662f\u4e0b\u56fe\u4e2d\u7684 Media Conversion \u670d\u52a1\u3002<\/p>\n<p>2\uff09<strong>\u4e3a\u4e86\u5feb\u901f\u642d\u5efa\u7cfb\u7edf\uff0cPrime Video\u56e2\u961f\u4f7f\u7528\u4e86Serverless \u67b6\u6784\uff0c\u4e5f\u5c31\u662f\u8457\u540d\u7684 AWS Lambda \u548c AWS Step Functions<\/strong>\u3002\u524d\u7f6e Lambda \u7528\u6765\u505a\u7528\u6237\u8bf7\u6c42\u7684\u7f51\u5173\uff0cStep Function \u7528\u6765\u505a\u76d1\u63a7\uff08\u63a2\u6d4b\u5668\uff09\uff0c\u6709\u95ee\u9898\u540e\uff0c\u5c31\u53d1 SNS \u4e0a\uff0cStep Function \u4ece S3 \u83b7\u53d6 Media Conversion \u7684\u6570\u636e\uff0c\u7136\u540e\u628a\u8fd0\u884c\u7ed3\u679c\u518d\u6c47\u603b\u7ed9\u4e00\u4e2a\u540e\u7f6e\u7684 Lambda \uff0c\u5e76\u5b58\u5728 S3 \u4e0a\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-22423 \" src=\"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/wp-content\/uploads\/2023\/05\/prime.01.webp\" alt=\"\" width=\"624\" height=\"496\" srcset=\"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/wp-content\/uploads\/2023\/05\/prime.01.webp 1011w, https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/wp-content\/uploads\/2023\/05\/prime.01-300x238.webp 300w, https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/wp-content\/uploads\/2023\/05\/prime.01-768x610.webp 768w, https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/wp-content\/uploads\/2023\/05\/prime.01-340x270.webp 340w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><\/p>\n<p>\u6574\u4e2a\u67b6\u6784\u770b\u4e0a\u53bb\u975e\u5e38\u7b80\u5355 \uff0c\u4e00\u70b9\u4e5f\u4e0d\u590d\u6742\uff0c\u800c\u4e14\u4f7f\u7528\u4e86 Serverless \u7684\u67b6\u6784\uff0c\u4e00\u70b9\u670d\u52a1\u5668\u7684\u5f71\u5b50\u90fd\u770b\u4e0d\u89c1\u3002<strong>\u5b9e\u8bdd\u5b9e\u8bf4\uff0c\u8fd9\u6837\u7684\u5f00\u53d1\u4e0d\u9999\u5417\uff1f\u6211\u89c9\u5f97\u5f88\u9999\u554a\uff0c\u65b9\u4fbf\u5feb\u6377\uff0c\u5b8c\u5168\u4e0d\u7406\u90a3\u4e9b\u65e0\u804a\u7684\u57fa\u7840\u8bbe\u65bd\uff0c\u76f4\u63a5\u628a\u4ee3\u7801\u8f6c\u6210\u670d\u52a1\uff0c\u7136\u540e\u7528 AWS \u7684 Lamda + Step Function + SNS + S3 \u5206\u5206\u949f\u5c31\u642d\u51fa\u4e00\u4e2a\u6709\u6a21\u6709\u6837\u7684\u76d1\u63a7\u7cfb\u7edf\u4e86\uff0c\u54ea\u91cc\u4e0d\u597d\u4e86\uff1f\uff01<\/strong><\/p>\n<p>\u4f46\u662f\u4ed6\u4eec\u9047\u5230\u4e86\u4e00\u4e2a\u6bd4\u8f83\u5927\u7684\u95ee\u9898\uff0c\u5c31\u662f AWS Step Function \u7684\u4f38\u7f29\u95ee\u9898\uff0c\u4ece\u6587\u7ae0\u4e2d\u6211\u770b\u5230\u4e86\u4e24\u4e2a\u95ee\u9898\uff08\u6ce8\u610f\u524d\u65b9\u9ad8\u80fd\uff09\uff1a<\/p>\n<ol>\n<li>\u9700\u8981\u5f88\u591a\u5f88\u591a\u7684\u5e76\u53d1\u7684 AWS Step Function \uff0c\u4e8e\u662f\u8fbe\u5230\u4e86\u5e10\u6237\u7684 hard limit\u3002<\/li>\n<li>AWS Step Function \u6309\u72b6\u6001\u8f6c\u6362\u6536\u8d39\uff0c\u6240\u4ee5\uff0c\u8d35\u5f97\u53d7\u4e0d\u4e86\u4e86\u3002<\/li>\n<\/ol>\n<p>\u6ce8\u610f\uff0c\u8fd9\u91cc\u6709\u4e24\u4e2a\u5173\u952e\u70b9\uff1a1\uff09<strong>\u5e10\u6237\u5bf9 Step Function \u6709\u9650\u5236<\/strong>\uff0c2\uff09<strong>Step Function \u592a\u8d35\u4e86\u7528\u4e0d\u8d77<\/strong>\u3002<\/p>\n<p>\u7136\u540e\uff0cPrime Video \u7684\u56e2\u961f\u5f00\u59cb\u89e3\u51b3\u95ee\u9898\uff0c\u4e0b\u9762\u662f\u89e3\u51b3\u7684\u624b\u6bb5\uff1a<\/p>\n<p>1\uff09 \u628a Media Conversion\u00a0 \u548c Step Function \u5168\u90e8\u5199\u5728\u4e00\u4e2a\u7a0b\u5e8f\u91cc\uff0cMedia Conversion \u8ddf Step Function \u91cc\u7684\u4e1c\u897f\u901a\u8fc7\u5185\u5b58\u901a\u4fe1\uff0c\u4e0d\u518d\u8d70S3\u4e86\u3002\u7ed3\u679c\u6c47\u603b\u5230\u4e00\u4e2a\u7ebf\u7a0b\u4e2d\uff0c\u7136\u540e\u5199\u5230 S3.<\/p>\n<p>2\uff09\u628a\u4e0a\u9762\u8fd9\u4e2a\u5355\u4f53\u67b6\u6784\u8fdb\u884c\u5206\u5e03\u5f0f\u90e8\u7f72\uff0c\u8fd8\u662f\u7528\u4e4b\u524d\u7684 AWS Lambda \u6765\u505a\u5165\u95e8\u8c03\u5ea6\u3002<\/p>\n<p>EC2 \u7684\u6c34\u5e73\u6269\u5c55\u6ca1\u6709\u9650\u5236\uff0c\u800c\u4e14\u4f60\u60f3\u4e70\u591a\u5c11 CPU\/MEM \u7684\u673a\u5668\u7531\u4f60\u8bf4\u4e86\u7b97\uff0c\u800c\u8fd9\u4e9b\u89c6\u9891\u8f6c\u7801\uff0c\u76d1\u63a7\u5206\u6790\u7684\u529f\u80fd\u611f\u89c9\u5c31\u4e0d\u590d\u6742\uff0c\u672c\u6765\u5c31\u5e94\u8be5\u5199\u5728\u4e00\u8d77\uff0c\u8fd9\u4e48\u505a\u4e0d\u66f4\u9999\u5417\uff1f\u5f53\u7136\u66f4\u9999\uff0c\u6bd4\u524d\u9762\u7684 Serverless \u7684\u786e\u66f4\u9999\uff0c\u56e0\u4e3a\u5982\u4e0b\u7684\u51e0\u4e2a\u539f\u56e0\uff1a<\/p>\n<ol>\n<li>\u4e0d\u518d\u53d7 Step Function \u7684\u9650\u5236\u4e86\uff0c\u6280\u672f\u5728\u81ea\u5df1\u624b\u91cc\uff0c\u6709\u66f4\u5927\u7684\u81ea\u7531\u5ea6\u3002<\/li>\n<li>\u6ca1\u6709\u6602\u8d35\u7684 Step Function \u4e91\u6210\u672c\u7684\u786e\u53d8\u5f97\u66f4\u4f4e\u4e86\uff0c\u5982\u679c\u4f60\u628a Lambda \u6362\u6210 Nginx \u6216 Spring Gateway \u6216\u662f\u6211\u53f8\u7684 <a href=\"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/github.com\/megaease\/easegress\" target=\"_blank\" rel=\"noopener\">Easegress<\/a>\uff0c\u4f60\u628a S3 \u6362\u6210 MinIO\uff0c\u4f60\u628a SNS \u6362\u6210 Kafka\uff0c\u4f60\u7684\u6210\u672c\u00a0\u8fd8\u80fd\u518d\u4f4e\u3002<\/li>\n<\/ol>\n<h4>\u72ec\u7acb\u601d\u8003<\/h4>\n<p>\u597d\u4e86\uff0c\u539f\u6587\u89e3\u8bfb\u5b8c\u4e86\uff0c\u4f60\u6709\u81ea\u5df1\u7684\u72ec\u7acb\u601d\u8003\u4e86\u5417\uff1f\u4e0b\u9762\u662f\u6211\u7684\u72ec\u7acb\u601d\u8003\uff0c\u4f9b\u4f60\u53c2\u8003\uff1a<\/p>\n<p>1\uff09<strong>AWS \u7684 Serverless \u4e5f\u597d\uff0c\u00a0\u5fae\u670d\u52a1\u4e5f\u597d\uff0c\u5355\u4f53\u4e5f\u597d\uff0c\u5728\u5408\u9002\u7684\u573a\u666f\u4e5f\u90fd\u5f88\u9999<\/strong>\u3002\u8fd9\u5c31\u8ddf\u6c7d\u8f66\u4e00\u6837\uff0c\u8dd1\u8f66\uff0c\u8d27\u8f66\uff0c\u8d8a\u91ce\u8f66\u5404\u6709\u5404\u7684\u573a\u666f\uff0c\u4f60\u7528\u8dd1\u8f66\u62c9\u8d27\uff0c\u8fd8\u662f\u7528\u8d27\u8f66\u6ce1\u599e\u90fd\u4e0d\u662f\u4e00\u4e2a\u5f88\u597d\u7684\u51b3\u5b9a\u3002<\/p>\n<p>2\uff09<strong>\u8fd9\u7bc7\u6587\u7ae0\u4e2d\u7684\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\u7684\u4e1a\u52a1\u592a\u8fc7\u7b80\u5355\u4e86\uff0c\u672c\u6765\u5c31\u662f\u4e00\u4e24\u4e2a\u670d\u52a1\u5c31\u53ef\u4ee5\u5e72\u5b8c\u7684\u4e8b\u3002<\/strong>\u5c31\u662f\u4e00\u4e2a\u8f6c\u7801\u52a0\u5206\u6790\u7684\u4e8b\uff0c\u8981\u5206\u5f00\u7684\u8bdd\uff0c\u5c31\u4e24\u4e2a\u5fae\u670d\u52a1\u5c31\u597d\u4e86\uff08\u4e00\u4e2a\u8f6c\u7801\u4e00\u4e2a\u5206\u6790\uff09\uff0c\u505a\u6210\u6d41\u5f0f\u7684\u3002\u5982\u679c\u4e0d\u60f3\u5206\uff0c\u5408\u5728\u4e00\u8d77\u4e5f\u6ca1\u95ee\u9898\u4e86\uff0c\u8fd9\u4e2a\u7c92\u5ea6\u662f\u5fae\u670d\u52a1\u6ca1\u6bdb\u75c5\u3002\u5fae\u670d\u52a1\u7684\u5212\u5206\u6709\u597d\u4e9b\u539f\u5219\uff0c\u6211\u8fd9\u91cc\u53ea\u7f57\u5217\u51e0\u4e2a\u6bd4\u8f83\u91cd\u8981\u7684\u539f\u5219\uff1a<\/p>\n<ul>\n<li><strong>\u8fb9\u754c\u4e0a\u4e0b\u6587<\/strong>\u3002\u5fae\u670d\u52a1\u7684\u7c92\u5ea6\u4e0d\u80fd\u5927\u4e8e\u9886\u57df\u9a71\u52a8\u91cc\u7684 Bounded Context\uff08\u5177\u4f53\u662f\u4ec0\u4e48 \u5927\u5bb6\u81ea\u884c Google\uff09\uff0c\u4e5f\u5c31\u662f\u4e00\u4e2a\u4e1a\u52a1\u57df\u3002<\/li>\n<li><strong>\u5355\u4e00\u804c\u8d23\uff0c\u9ad8\u5185\u805a\uff0c\u4f4e\u8026\u5408<\/strong>\u3002\u628a\u56e0\u4e3a\u76f8\u540c\u539f\u56e0\u53d8\u5316\u7684\u5408\u5728\u4e00\u8d77\uff08\u5185\u805a\uff09\uff0c\u628a\u4e0d\u540c\u539f\u56e0\u53d8\u5316\u7684\u5206\u5f00\uff08\u89e3\u8026\uff09<\/li>\n<li><strong>\u4e8b\u52a1\u548c\u4e00\u81f4\u6027<\/strong>\u3002\u5bf9\u4e8e\u4e24\u4e2a\u91cd\u5ea6\u4f9d\u8d56\u7684\u529f\u80fd\uff0c\u9700\u8981\u5b8c\u6210\u4e00\u4e2a\u4e8b\u52a1\u548c\u8981\u4fdd\u8bc1\u5f3a\u4e00\u81f4\u6027\u7684\uff0c\u6700\u597d\u4e0d\u8981\u62c6\u5f00\uff0c\u8981\u653e\u5728\u4e00\u8d77\u3002<\/li>\n<li><strong>\u8ddf\u7ec4\u7ec7\u67b6\u6784\u5339\u914d<\/strong>\u3002\u628a\u540c\u4e00\u4e2a\u56e2\u961f\u7684\u4e1c\u897f\u653e\u5728\u4e00\u8d77\uff0c\u4e0d\u540c\u56e2\u961f\u7684\u5206\u5f00\u3002<\/li>\n<\/ul>\n<p>3\uff09<strong>Prime Video \u9047\u5230\u7684\u95ee\u9898\u4e0d\u662f\u6280\u672f\u95ee\u9898\uff0c\u800c\u662f AWS\u00a0 Step Function \u5904\u7406\u80fd\u529b\u4e0d\u8db3\uff0c\u800c\u4e14\u6536\u8d39\u8fd8\u5f88\u8d35\u7684\u95ee\u9898<\/strong>\u3002\u8fd9\u4e2a\u662f AWS \u7684\u4ea7\u54c1\u95ee\u9898\uff0c\u4e0d\u662f\u6280\u672f\u95ee\u9898\u3002\u6216\u8005\u8bf4\uff0c\u8fd9\u4e2a\u662fPrime Video\u6ee5\u7528\u4e86Step Function\u7684\u95ee\u9898\uff08\u672c\u6765\u8fd9\u79cd\u5927\u91cf\u7684\u6570\u636e\u5206\u6790\u5904\u7406\u5c31\u4e0d\u9002\u5408Step Function\uff09\u3002\u6240\u4ee5\uff0c\u5927\u5bb6\u4e0d\u8981\u7528\u4e00\u4e2a\u4ea7\u54c1\u95ee\u9898\u6765\u5f97\u5230\u5fae\u670d\u52a1\u67b6\u6784\u6709\u95ee\u9898\u7684\u7ed3\u8bba\uff0c\u8fd9\u4e2a\u6ca1\u6709\u56e0\u679c\u5173\u7cfb\u3002<strong>\u8bd5\u95ee\uff0c\u5982\u679c Step Funciton \u53ef\u4ee5\u65e0\u9650\u6269\u5c55\uff0c\u6027\u80fd\u4e5f\u5f88\u597d\uff0c\u800c\u4e14\u767d\u83dc\u4ef7\uff0c\u90a3\u4e48 Prime Video \u56e2\u961f\u8fd8\u4f1a\u6709\u52a8\u529b\u6539\u6210\u5355\u4f53\u5417\uff1f\u4ed6\u4eec\u4e0d\u4f1a\u53cd\u8fc7\u6765\u5439\u7206 Serverless \u5417\uff1f<\/strong><\/p>\n<p>4\uff09Prime Video \u8ddf AWS \u662f\u4e24\u4e2a\u72ec\u7acb\u6838\u7b97\u7684\u516c\u53f8\uff0c\u5c31\u50cf Amazon \u7684\u7535\u5546\u548c AWS \u4e00\u6837\uff0c\u4e5f\u662f\u4e24\u4e2a\u516c\u53f8\u3002Amazon \u7684\u7535\u5546\u548c AWS \u5bf9\u670d\u52a1\u5316\u6216\u662f\u5fae\u670d\u52a1\u67b6\u6784\u7684\u7406\u89e3\u548c\u8fd0\u7ef4\uff0c\u6211\u4e2a\u4eba\u8ba4\u4e3a\u8fd9\u4e2a\u4e16\u754c\u4e0a\u518d\u4e5f\u627e\u4e0d\u5230\u53e6\u5916\u4e00\u5bb6\u516c\u53f8\u4e86\uff0c\u5305\u62ec Google \u6216 Microsoft\u3002\u4f60\u6709\u7a7a\u53ef\u4ee5\u770b\u770b\u672c\u7ad9\u4ee5\u524d\u7684\u8fd9\u7bc7\u6587\u7ae0\u300a<a title=\"SteveY\u5bf9Amazon\u548cGoogle\u5e73\u53f0\u7684\u5410\u69fd\" href=\"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/articles\/5701.html\">Steve Yegg\u5bf9Amazon\u548cGoogle\u5e73\u53f0\u7684\u5410\u69fd<\/a>\u300b\u4f60\u4f1a\u4e86\u89e3\u7684\u66f4\u591a\u3002<\/p>\n<p>5\uff09<strong>Prime Video \u8fd9\u4e2a\u6848\u4f8b\u672c\u8d28\u4e0a\u662f\u201c\u4e0b\u4e91\u201d\uff0c\u4e0b\u4e86 AWS Serverless \u7684\u4e91<\/strong>\u3002\u4e91\u4e0a\u7684\u6210\u672c\u5c31\u662f\u9ad8\uff0c\u4e00\u4e2a\u662f\u8d39\u7528\u95ee\u9898\uff0c\u53e6\u4e00\u4e2a\u662f\u88ab\u9501\u5b9a\u7684\u95ee\u9898\u3002Prime Video \u56e2\u961f\u5e94\u8be5\u5f88\u5e86\u5e78\u8fd9\u4e2a\u76d1\u63a7\u7cfb\u7edf\u5e76\u4e0d\u590d\u6742\uff0c\u91cd\u5199\u8d77\u6765\u4e5f\u5f88\u5feb\uff0c\u6240\u4ee5\uff0c\u53ef\u4ee5\u5f88\u5feb\u4f7f\u7528\u4e00\u4e2a\u66f4\u4f20\u7edf\u7684\u201c\u670d\u52a1\u5316\u201d+\u201c\u4e91\u8ba1\u7b97\u201d\u7684\u5206\u5e03\u5f0f\u67b6\u6784\uff0c\u4e0d\u7136\uff0c\u5c31\u5f97\u50cf DHH \u90a3\u6837\u54ac\u7259\u4e0b\u4e91\u2014\u2014\u300a<a href=\"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/world.hey.com\/dhh\/why-we-re-leaving-the-cloud-654b47e0\" target=\"_blank\" rel=\"noopener\">Why We&#8217;re Leaving the Cloud<\/a>\u300b\uff08\u4ed6\u4eec\u7684 SRE \u7684\u8fd9\u7bc7\u535a\u6587 <a href=\"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/dev.37signals.com\/our-cloud-spend-in-2022\/\" target=\"_blank\" rel=\"noopener\">Our Cloud Spend in 2022<\/a>\u8bf4\u660e\u4e86\u4e0b\u4e91\u7684\u56f0\u96be\u548c\u8282\u7ea6\u4e86\u591a\u5c11\u6210\u672c\uff09<\/p>\n<h4>\u540e\u8bb0<\/h4>\n<p>\u6700\u540e\u8ba9\u6211\u505a\u4e2a\u6211\u81ea\u5df1\u7684\u5e7f\u544a\u3002\u6211\u5728\u8fc7\u53bb\u51e0\u5e74\u7684\u521b\u4e1a\u4e2d\uff0c\u5e2e\u52a9\u4e86\u5f88\u591a\u516c\u53f8\u89e3\u51b3\u4e86\u8fd9\u4e9b \u5206\u5e03\u5f0f\uff0c\u5fae\u670d\u52a1\uff0c\u4e91\u539f\u751f\u4ee5\u53ca\u4e91\u8ba1\u7b97\u6210\u672c\u7684\u95ee\u9898\uff0c\u5982\u679c\u4f60\u4e5f\u6709\u7c7b\u4f3c\u95ee\u9898\u3002\u6b22\u8fce\uff0c\u8ddf\u6211\u8054\u7cfb\uff1a<a href=\"mailto:haoel@hotmail.com\">haoel@hotmail.com<\/a><\/p>\n<p>\u53e6\u5916\uff0c\u6211\u4eec\u4eca\u5e74\u53d1\u5e03\u4e86\u4e00\u4e2a\u5e73\u53f0 MegaEase Cloud\uff0c<strong> \u5c31\u662f\u60f3\u8ba9\u7528\u6237\u5728\u4e0d\u5931\u53bb\u4e91\u8ba1\u7b97\u4f53\u9a8c\u7684\u540c\u65f6\uff0c\u901a\u8fc7\u81ea\u5efa\u9ad8\u53ef\u7528\u57fa\u7840\u67b6\u6784\u7684\u65b9\u5f0f\u6765\u83b7\u5f97\u66f4\u4f4e\u7684\u6210\u672c\uff08\u81f3\u5c11\u964d 50%\u7684\u4e91\u8ba1\u7b97\u6210\u672c\uff09\u3002<\/strong>\u76ee\u524d\u53ef\u4ee5\u964d\u4f4e\u6210\u672c\u7684\u65b9\u5f0f\uff1a<\/p>\n<ol>\n<li>\u57fa\u7840\u8f6f\u4ef6\uff1a\u901a\u8fc7\u5f00\u6e90\u8f6f\u4ef6\u81ea\u5efa\uff0c<\/li>\n<li>\u5185\u5bb9\u5206\u53d1\uff1aMinIO + Cloudflare \u7684\u514d\u8d39 CDN\uff0c<\/li>\n<li>\u9a6c\u4e0a\u51c6\u5907\u53d1\u5e03\u7684\u76f4\u63a5\u4e0e\u5e95\u5c42IDC\u5408\u4f5c\u7684\u5ec9\u4ef7GPU\u8ba1\u7b97\u8d44\u6e90\u2026<\/li>\n<\/ol>\n<p><strong>\u6b22\u8fce\u5927\u5bb6\u8bd5\u7528\u3002<\/strong><\/p>\n<p><strong>\u5982\u4f55\u8bbf\u95ee<\/strong><\/p>\n<ul>\n<li>\u4e2d\u56fd\u533a:\u00a0 \u00a0<a href=\"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/cloud.megaease.cn\" target=\"_blank\" rel=\"noopener\">https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/cloud.megaease.cn\u00a0<\/a><\/li>\n<li>\u56fd\u9645\u533a\uff1a<a href=\"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/cloud.megaease.com\" target=\"_blank\" rel=\"noopener\">https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/cloud.megaease.com<\/a><\/li>\n<\/ul>\n<p><strong>\u6ce8\uff1a\u8fd9\u4e24\u4e2a\u533a\u5b8c\u5168\u72ec\u7acb\uff0c\u5e10\u53f7\u4e0d\u4e92\u901a\u3002\u56e0\u4e3a\u7f51\u7edc\u7684\u4e0d\u53ef\u6297\u529b\uff0c\u5343\u4e07\u4e0d\u8981\u8de8\u533a\u4f7f\u7528\u3002<\/strong><\/p>\n<p><strong>\u4ea7\u54c1\u6f14\u793a<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/www.bilibili.com\/video\/BV17v4y1R7mA\/\" target=\"_blank\" rel=\"noopener\">https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/www.bilibili.com\/video\/BV17v4y1R7mA\/<\/a><\/li>\n<\/ul>\n<p><strong>\u4ecb\u7ecd\u6587\u7ae0<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/megaease.cn\/zh\/blog\/2023\/02\/15\/welcome-to-megaease-cloud\/\" target=\"_blank\" rel=\"noopener\">\u6b22\u8fce\u4f7f\u7528 MegaEase Cloud <\/a><\/li>\n<li><a href=\"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/megaease.cn\/zh\/blog\/2023\/04\/06\/megaease-cloud-2023.03-significant-update\/\" target=\"_blank\" rel=\"noopener\">2023 \u5e74 03 \u6708\u91cd\u5927\u66f4\u65b0<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>\uff08\u5168\u6587\u5b8c\uff09<\/p>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u4e24\u5929\u6280\u672f\u5708\u91cc\u70ed\u8bae\u7684\u4e00\u4ef6\u4e8b\u5c31\u662fAmazon\u7684\u6d41\u5a92\u4f53\u5e73\u53f0Prime Video\u57282023\u5e743\u670822\u65e5\u53d1\u5e03\u4e86\u4e00\u7bc7\u6280\u672f\u535a\u5ba2\u300a\u89c4\u6a21\u5316Prime Video\u7684\u97f3\u89c6\u9891\u76d1\u63a7\u670d&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/articles\/22422.html\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[195,10,602],"tags":[527,681,1804,1803,1802],"series":[],"aioseo_notices":[],"views":478367,"post_thumbnail_image":"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/wp-content\/uploads\/2023\/05\/monolith.microservices.png","content_first_image":"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/wp-content\/uploads\/2023\/05\/monolith.microservices.png","post_medium_image_300":"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/wp-content\/uploads\/2023\/05\/monolith.microservices.png","post_thumbnail_image_624":"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/wp-content\/uploads\/2023\/05\/monolith.microservices.png","post_frist_image":"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/wp-content\/uploads\/2023\/05\/monolith.microservices.png","post_medium_image":"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/wp-content\/uploads\/2023\/05\/monolith.microservices.png","post_large_image":"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/wp-content\/uploads\/2023\/05\/monolith.microservices.png","post_full_image":"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/wp-content\/uploads\/2023\/05\/monolith.microservices.png","post_all_images":[{"imagesurl":"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/wp-content\/uploads\/2023\/05\/monolith.microservices-300x200.png","id":"image0"},{"imagesurl":"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/https\/coolshell.cn\/wp-content\/uploads\/2023\/05\/prime.01.webp","id":"image1"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":5,"total_comments":594,"category_name":"\u4e1a\u754c\u65b0\u95fb","post_date":"2023-05-08","like_count":"0","praiseWord":"\u9f13\u52b1","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"https:\/\/blue-sea-697d.quartiers047.workers.dev:443\/http\/coolshell.cn\/wp-content\/uploads\/2016\/09\/coolshell-360x200.jpg","avatarurls":[],"related_posts":[],"pageviews":478368,"pageviews_wl":351744,"ratings_average":4,"ratings_total":2892,"ratings_users":672,"next_post_id":null,"next_post_title":null,"previous_post_id":22398,"previous_post_title":"\u6211\u770bChatGPT: \u4e3a\u5565\u8c37\u6b4c\u6389\u4e86\u5343\u4ebf\u7f8e\u91d1"}