gpt4 book ai didi

amazon-web-services - 如何加快 AWS Fargate 上的部署?

转载 作者:行者123 更新时间:2023-12-04 06:30:57 24 4
gpt4 key购买 nike

从 EC2 集群实例迁移到 AWS Fargate 后,我意识到部署需要更长的时间。以前他们需要 1-2 分钟,现在有些部署需要长达 5 分钟。 This post声称他们在 Fargate 上的部署甚至需要长达 10 分钟。

有人知道加快速度的方法吗?我找不到有关此主题的任何文档。

最佳答案

通过进一步的谷歌搜索,我发现 this Reddit thread .一位 AWS 员工写道:

With regard to time to provision and start a container it is definitely longer when using Fargate. We may reduce the length of the provisioning state in the future, but Fargate is doing much more under the hood than ECS on your own self managed hosts. When you self manage hosts they are already up and running, and may even already have your docker image downloaded and cached locally, so ECS is able to launch the container very quickly. That's not the case with Fargate.



所以缩小图像应该会有所帮助。但总的来说,我想我将不得不接受它并希望 AWS 方面进行优化。

关于amazon-web-services - 如何加快 AWS Fargate 上的部署?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51618252/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com