如何构建图像Web服务器?
我正在尝试构建一个Web图像服务器。它同时为许多客户(10万+)提供图像。 (如果客户较少,这将是一个更容易的问题。)这是一个很好的方法,时间延迟尽可能小。
I am trying to build an web image server. It serves images to lots of clients(10 thousands+) simultaneously. (It will be a easier problem if there is fewer clients.) What is a good way to do so, with time delay as small as possible.
我是新手这个领域。任何建议都会受到欢迎。
I am new to this field. Any suggestion will be welcomed.
一定要四处寻找一个好的送货服务。 Akamai是最知名的。
Definitely look around for a good delivery service. Akamai is the best known.
如果你真的想自己做,忘了Apache / IIS。 很多更合适的是'轻型'网络服务器。两个非常好的是 lighthttp 和 NginX ( wiki )。特别是NginX,具有非常可靠的性能。
if you really want to do it on your own, forget about Apache/IIS. much more appropriate are 'light' webservers. Two very good are lighthttp and NginX (wiki). NginX in particular, has a really solid performance.
编辑:内容分发网络(CDN)在过去几年中蓬勃发展,而且它是更容易找到更容易和更便宜的。特别是,将静态内容放在亚马逊的S3中并使用 CloudFront 非常简单。
Edit: Content Distribution Networks (CDNs) have flourished in the last few years, and it's much easier to find easier and cheaper ones. In particular, it's quite simple to put your static content in Amazon's S3 and use CloudFront.