I understand you will serve only static files. In this case, lightweight HTTP servers will give you a higher performance for a given machine. The following are well known:
但是,除非您对这些解决方案非常熟悉,否则请坚持使用 Windows 上的 IIS。 如果负载足够,请将静态文件移至其自己的计算机上。 如果您当前没有考虑多个 ASP.Net 前端,则可能不需要剥离静态文件,除非我们正在讨论多个 GB 的文件。
It all depends on your skill level and how much load you are getting on your servers.
If you have spare (physical) resources and have the technical skills and experience to maintain production machines running different operating systems, I'd recommend going running lighttpd on either Linux or FreeBSD. A light OS install with a static file optimized server will perform faster than Apache or IIS on a heavy OS.
However, unless you are extremely comfortable with these solutions, just stick to IIS on Windows. Move the static files to their own machine if you have sufficient load. If you aren't currently thinking about multiple ASP.Net frontends, there's probably no need to spin off the static files yet unless we're talking multiple gigabytes of files.
If you're serving files over the Internet, you might also consider Amazon's S3 service. I've found the rates and reliability to be better than anything I could do (or find) on my own.
发布评论
评论(3)
我知道您只会提供静态文件。 在这种情况下,轻量级 HTTP 服务器将为给定机器提供更高的性能。 以下是众所周知的:
列出了更多在维基百科上。 IBM DeveloperWorks 上有一篇更新的文章。
I understand you will serve only static files. In this case, lightweight HTTP servers will give you a higher performance for a given machine. The following are well known:
Many more are listed on Wikipedia. There's a more recent article on IBM DeveloperWorks.
这完全取决于您的技能水平以及服务器上的负载量。
如果您有备用(物理)资源,并且有技术技能和经验来维护运行不同操作系统的生产机器,我建议您在 Linux 或 FreeBSD 上运行 lighttpd。 具有静态文件优化服务器的轻型操作系统安装将比重型操作系统上的 Apache 或 IIS 执行得更快。
但是,除非您对这些解决方案非常熟悉,否则请坚持使用 Windows 上的 IIS。 如果负载足够,请将静态文件移至其自己的计算机上。 如果您当前没有考虑多个 ASP.Net 前端,则可能不需要剥离静态文件,除非我们正在讨论多个 GB 的文件。
It all depends on your skill level and how much load you are getting on your servers.
If you have spare (physical) resources and have the technical skills and experience to maintain production machines running different operating systems, I'd recommend going running lighttpd on either Linux or FreeBSD. A light OS install with a static file optimized server will perform faster than Apache or IIS on a heavy OS.
However, unless you are extremely comfortable with these solutions, just stick to IIS on Windows. Move the static files to their own machine if you have sufficient load. If you aren't currently thinking about multiple ASP.Net frontends, there's probably no need to spin off the static files yet unless we're talking multiple gigabytes of files.
如果您通过 Internet 提供文件,您还可以考虑Amazon 的 S3 服务< /a>. 我发现其速率和可靠性比我自己能做(或找到)的任何事情都要好。
If you're serving files over the Internet, you might also consider Amazon's S3 service. I've found the rates and reliability to be better than anything I could do (or find) on my own.