使用哪个 Amazon EC2 实例?
我想设置一个代理(使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
微型实例的主要问题是 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.
我建议您从 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!
只要您没有在其上安装太多其他东西,微型实例就应该能够处理这种流量。因为您只需按实例运行的时间付费。我会采用微型实例和小型实例,然后运行一些测试,看看微型实例是否可以处理您的流量,或者小型实例是否可以为您提供更好的性能并且值得额外花钱。
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.