Re:Goroutines Under the Hood (2020)
by astrange on Monday June 06, 2022 @12:12AM
(#31637192)
> Creating one thread for every request you have ( Apache + PHP ) will exhaust the hardware after a few thousands/qps target.
PHP installations more realistically use nginx and FastCGI. This is not one thread per request and it’s also a better design than hosting your entire server and every user request in the same process; that’s just asking for security issues.
PHP installations more realistically use nginx and FastCGI. This is not one thread per request and it’s also a better design than hosting your entire server and every user request in the same process; that’s just asking for security issues.