使用哪个 Amazon EC2 实例?

发布于 2024-11-28 17:49:15 字数 184 浏览 3 评论 0原文

我想设置一个代理(使用 Squid),每天在 Amazon EC2 实例上处理约 5000 个请求。 微型实例与小型实例之间的速度是否存在明显差异?

这些请求针对的是 HTML,而不是针对图像或视频等任何媒体。

I want to setup a proxy (using Squid) that will take ~ 5000 requests per day on an Amazon EC2 instance. Will there be a noticeable difference in speed between a micro vs small instance?

The requests are for HTML, not for any media like images or videos.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

树深时见影 2024-12-05 17:49:15

微型实例的主要问题是 CPU 和磁盘 I/O 性能不稳定,但流量实际上很小,平均每分钟 3 个请求。作为奖励,微型实例将有资格享受亚马逊的免费套餐。为了获得最佳性能,请确保机器去除不必要的服务。

Micro instances main issue is spotty CPU and disk I/O performance, but that amount of traffic is actually quite small, averaging 3 requests a minute. As a bonus, a micro instance will qualify for Amazon's free tier. For optimal performance, make sure the machine is stripped down of unnecessary services.

黑凤梨 2024-12-05 17:49:15

我建议您从 ebs(不是实例存储)微实例开始。
稍后您将能够将微型转换为小型。

此外,如果您打算长时间(超过一年)使用该实例,请考虑购买预留实例(您会节省一些钱)。但在您预订实例之前,您必须明确知道什么对您来说更适合微型或小型。

祝你好运!

I would advice you to start with ebs (not instance-store) micro instance.
Later you will be able to convert micro to small.

Besides if you are planing to use the instance during for long time (more than one year) just think about purchasing reserved instance (you will save some money). But before you reserve instance you must definitely know what is better for you micro or small.

Good luck!

吐个泡泡 2024-12-05 17:49:15

只要您没有在其上安装太多其他东西,微型实例就应该能够处理这种流量。因为您只需按实例运行的时间付费。我会采用微型实例和小型实例,然后运行一些测试,看看微型实例是否可以处理您的流量,或者小型实例是否可以为您提供更好的性能并且值得额外花钱。

A micro instance should be able to handle that kind of traffic as long as you don't have too many other things installed on it. Since you are only charged for how long the instance is running. I would take both a micro and a small instance and then run some tests to see if the micro can handle your traffic or if the small instance gives you better performance and is worth the extra cash.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文