[英]Amazon EC2 - picture upload
I have a web application and I'm moving the picture upload from my machines to EC2 machines. 我有一个Web应用程序,我正在将图片上传从我的机器上移到EC2机器上。 Basically I will have a web application where the user can send a jpg file through HTTP post.
基本上,我将有一个Web应用程序,用户可以在其中通过HTTP发布发送jpg文件。
Any ideas on which machine would best be suited for this job ? 关于哪种机器最适合该工作的任何想法? I was thinking of the c3.large instance http://aws.amazon.com/ec2/pricing/
我在想c3.large实例http://aws.amazon.com/ec2/pricing/
Do you guys have any other suggestions ? 你们还有其他建议吗? Thanks
谢谢
Tough to say, going to depend on the volume of images coming in. Any of the instances (except the micro IMO), would do what you want if the volume of users was matched to the instance size, but we don't know the # of users. 很难说,这取决于传入的图像量。如果用户数量与实例大小匹配,则任何实例(微型IMO除外)都可以满足您的要求,但是我们不知道用户数。
Couple of suggestions, instead of trying to guess the correct size, setup your application the way AWS intends it to be used - automatically scalable, so you don't have to guess, or worry about what to do if suddenly your system becomes very popular. 几个建议,而不是尝试猜测正确的大小,而是按照AWS打算使用的方式设置应用程序-自动可伸缩,因此您不必猜测,也不必担心如果系统突然变得非常流行怎么办。
Consider building in the ability for your system to respond to higher volumes by spinning up more instances as they are needed, instead of paying for a single machine that is bigger than you need 95% of the time so that that 5% of the time when the volume spikes you have the extra capacity to meet your need. 考虑通过增加需要的实例数量来增强系统响应更大容量的能力,而不是为一台大于您所需时间的机器付费(95%的时间)音量峰值可以满足您的需求。 This will require more work upfront, but may save your butt and money down the road.
这将需要更多的前期工作,但可能会节省您的屁股和金钱。
Some general thoughts: 一些一般的想法:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.