Welcome! Log In Create A New Profile

Advanced

Re: nginx or apache for game

Tim Mensch
February 09, 2013 02:34AM
On 2/8/2013 6:11 PM, mottwsc wrote:
> I've read that nginx is much better for static web pages and that
> apache is better for processing on the back end.

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).

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.

YMMV.

Tim

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx or apache for game

mottwsc February 08, 2013 08:11PM

Re: nginx or apache for game

Tim Mensch February 09, 2013 02:34AM

Re: nginx or apache for game

mottwsc February 10, 2013 09:15AM

Re: nginx or apache for game

mex February 11, 2013 03:19AM

Re: nginx or apache for game

Rainer Duffner February 11, 2013 04:10AM

Re: nginx or apache for game

mex February 11, 2013 04:12AM

Re: nginx or apache for game

Andre Jaenisch February 11, 2013 08:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 305
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready