I mean, I am writing a server using the network library, but as it's like a closed sandbox, I don't know how robust its performance will be in a real life situation.
Currently I use THTTPD, which manages to serve around 3000 - 3500 requests a second (only static content), how about the Network Library ?
THTTP uses "select" instead of threads or forks (Apache).
What's the inner working of the Network Lib ? Select / Threads / Forking ?
Is there an alternative way of creating a webserver without the Network Lib ?
The network lib should be no problem. It doesn't use thread or fork, but non-blocking sockets. You can still use the raw socket library if you want.. (socket_(), select_(), etc.)
Do you know if it is possible to view or change the inner settings of the Network Lib ? Just to experiment with different settings under different loads.
I can say with a good amount of confidence the network library is probably one of the best libs in pb. I've been using it to develop my mmorpg and it has performed very well so far, with only minor hiccups.