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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Pancake HTTP Server faster than nginx running PHP

5 点作者 Hawkee超过 12 年前

5 条评论

cheald超过 12 年前
"Pancake is a fast, simple and lightweight HTTP-Server written in PHP with acceleration for PHP-powered websites"<p>So...it's written in PHP, so it loads up a PHP application and serves it faster than running through a real webserver to a PHP backend via FCGI. Duh?<p>Now go ahead and add in high concurrency and static asset serving and add PHP-APC to the workers and don't benchmark on an OpenVZ VM (which doesn't guarantee resources!) and let's see how things shake out.<p>Pancake seems to be touting this "CodeCache", which is great, except that PHP already has APC, which does this already, and I'll wager it does it better. This smells like a false benchmark, where Pancake wins because it's avoiding work that the poorly-configured nginx stack has to do. If you were to tune both of them to their maximum potential, I would be shocked if nginx didn't eat pancake for breakfast.
评论 #4770878 未加载
mxcm超过 12 年前
The license for this web server is quite unusual,<p><a href="http://pancakehttp.net/license/" rel="nofollow">http://pancakehttp.net/license/</a><p>I would expect a more sensible license.<p>P.S, that license page is so well hidden.. only possible to find by going to the github page
评论 #4770910 未加载
Adirael超过 12 年前
Interesting but: This license does not allow using Pancake for commercial websites. If you want to use Pancake for such sites, please contact support [at] pancakehttp [dot] net
devicenull超过 12 年前
Can we really trust numbers returned from a benchmark run on a VM? It seems like the other load on the system during each benchmark would effect the results.
ddorian43超过 12 年前
The benchmark is testing a php application.
评论 #4769558 未加载