On Wed, 24 Jan 2007 19:15:09 -0800 "Adrian Johnston" <adrian3@xxxxxxxxx> wrote: > Hi, > > I'm writing a "webserver" where all responses are procedurally > generated and less than 1k. Scalability is key as this is a free > service which gets hit with a new TCP/IP connection every few seconds > for each user. Unfortunately there is no way to use UDP with AJAX. > > So, I'm trying to saturate a Linux boxes fast network connection, and > feeling like I should probably know more about this kind of thing. > Specifically, I'd really rather avoid context switching between an > *large* number of threads (or any) doing so little work but that kind > of thing seems to be typical of the code that I have been reading. > > Can someone recommend a good reference or advise me on this? > > Sorry if this is a typical question, I wasn't able to find anything with Google. > > > Thanks, > Adrian > - > To unsubscribe from this list: send the line "unsubscribe linux-net" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html Do your searches better. Here are some starting points http://bulk.fefe.de/scalable-networking.pdf http://www.kegel.com/c10k.html -- Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx> - To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html