(Cherokee || nginx) && bsd sockets
Hello,
on my 96mb xen vps I tried to siege cherokee & nginx (trying to get a php page).
Using FPM, configured to use bsd sockets rather than tcp, I notice that nginx can't manage 200 requests/s as it starts to throw some 503 errors, 'cause can't connect to the bsd socket.
But, with the same system configuration, cherokee reach around 500 (with some timeout during php parsing, because I've set the timeout to 30 seconds).
If this a nginx misconfiguration or simply cherokee loves bsd sockets more that nginx?
Repositories: Debian: EU US - Ubuntu: Hiawatha & Others PPA ~ Opensource projects: GitHub
Support my repositories or my projects: Bitcoin 1SteRu8WRPUqUmE1YXZPZ2cQki8CSGK1r
Comments
Does it work better with TCP?
Ofc, but with tcp sockets I'll consume 2 tcp sockets for each connection that request php.
Also, with tcp sockets, any user on the system can use it.
Repositories: Debian: EU US - Ubuntu: Hiawatha & Others PPA ~ Opensource projects: GitHub
Support my repositories or my projects: Bitcoin 1SteRu8WRPUqUmE1YXZPZ2cQki8CSGK1r