logoalt Hacker News

creata • today at 2:40 AM • 1 reply • view on HN

Where does this advice come from? Most web servers would use a lot more resources if they didn't use userland threading, wouldn't they?


Replies

gertop • today at 3:32 AM

I think you're confusing userland threading (also known as green threads) with a regular thread pool implementation (that uses regular OS threads).

Because most web servers use OS threads. Nginx, Apache, litespeed, they all spin up `core count` threads but they can all work single threaded just fine as well.

➕ show 1 reply