TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Pancake HTTP Server faster than nginx running PHP

5 pointsby Hawkeeover 12 years ago

5 comments

chealdover 12 years ago
"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 未加载
mxcmover 12 years ago
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 未加载
Adiraelover 12 years ago
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
devicenullover 12 years ago
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.
ddorian43over 12 years ago
The benchmark is testing a php application.
评论 #4769558 未加载