TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Which webserver is better?

2 点作者 pshirishreddy超过 14 年前
During past few days I have been reading about webservers available 1. Apache 2. Mongrel 3. Unicorn 4. Tornado 5. Nginx<p>While I have read the both Tornado, Nginx are written adressing C10K problem. Tornado being used at facebook. Twitter laying its hands on Mongrel and Unicorn and while apache serving the major percentage of Domain. My question is if I have to use one for my startup which one should it be ? Or is it completely dependent on the type of startup being founded.

2 条评论

lukeqsee超过 14 年前
There is no "better."<p>You simply look at your needs and match. E.g.,:<p>Apache: Does it all. Uses lots of ram doing it. Nginx: Does some of it. Uses little ram doing it.<p>I used to use apache, but I didn't need it's bulk. Nginx suits me just fine.<p>You just need to pick something and move on to coding. In the end a webserver is only a means to an end: your startup. If you need to change later to scale, do it then. You just need to launch right now.
madhouse超过 14 年前
I'd say, whichever you're most comfortable with, but it also depends a lot on your startup.<p>Apache is a good general purpose web server, the others are a bit more specialized.<p>Personally, I use nginx, because I do not need the extra stuff apache would provide, and my resources are fairly limited, so nginx fits my use-case better.