<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 2/8/2013 6:11 PM, mottwsc wrote:<br>
<span style="white-space: pre;">> I've read that nginx is much
better for static web pages and that<br>
> apache is better for processing on the back end. </span><br>
<br>
I'm using OpenResty, and I would say that it gives me more
performance than Apache (as an app server) would in ANY
configuration. Possibly by a factor of 10-40, though I haven't
actually done an apples-to-apples benchmark -- and I'm also using
LuaJIT now instead of PHP, so that's a HUGE speed advantage by
itself (Lua being the FASTEST dynamic language around, and PHP being
one of the slowest).<br>
<br>
I've heard of people getting 70k+ concurrent connections per second
using Lua (or LuaJIT maybe) and OpenResty. My low-end VPS can't
handle that many connections, but it easily handles 3k+ connections
per second, including complex app logic.<br>
<br>
YMMV.<br>
<br>
Tim<br>
<br>
</body>
</html>