by hurt · 16y ago · 0 comments
It's one of those things that I've read about different methods here and there, but I've never come across one good source that compared and contrasted the various techniques.
The short answer may very well be no, since it somewhat depends on the programming language one chooses to use. As you'd likely handle I/O differently in something like Haskell, versus python. Anyway, I'm just curious Thanks.
Also, some observations on server design from Jeff Darcy (http://pl.atyp.us/content/tech/servers.html).
Simpler approaches are good enough sometimes, though. There are plenty of services that won't ever need to handle more than a couple simultaneous connections, and that way you don't need to bother with asynchronous IO.