Hacker News new | ask | show | jobs
by originalgeek 5535 days ago
I know how nginx works, I use it all the time. He is saying if you have 1024 woker_connections, at 2 per connections per user, you'll get 512 users per worker process. But the truth with most modern browsers is it is 4 connections per user, woker_connections = 1024, that is more like 256 users. So if you really want to service 512 users, you need to set woker_connections to 2048. This is the math problem I was highlighting, a simple division problem.

I believe you are talking about worker_processes

1 comments

Oops -- you're right I misread your comment. Sorry about that.