Date: Thu, 16 Nov 2000 11:38:14 +0100 From: "Nicolai Petri" <nicolai@petri.cc> To: <freebsd-hackers@freebsd.org> Subject: Multithreaded tcp-server or non-blocking ? Message-ID: <021501c04fb9$574f9030$6732a8c0@atomic.dk>
next in thread | raw e-mail | index | archive | help
What's the best approach for a simple web-server(never more the 10 clients) ? Is it using pthread and a thread per connection . Or to make a non-blocking single thread server. Can people show me some simple examples of the 2 techniques ? And what's the pro's and con's for the 2 methods ??? --- Cheers, Nicolai Petri // *If you can't follow the standard, break it (MickeySoft)* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?021501c04fb9$574f9030$6732a8c0>