From: Kieran <ki...@du...> - 2009-03-03 12:26:19
|
Daniel Hans wrote: > Ok, I was quite misunderstood ;-) I am not looking for a GSOC idea. I > have to accomplish my project by the beginning of June, so maybe 1500 > lines is to many... For example Tomasz Kosiak suggested me to deal > with C10k problem in Tcl Channels. > Hello Daniel, FWIW, I'd also like to see Tcl better support huge numbers of socket connections. Not sure if it exactly fits into the scope of your project though. I recently worked on a project where Tcl could not be used for (at least) this reason - it needed to support many thousand clients on UNIX and Tcl's select() based socket polling wasn't likely to cut it (see unix/tclUnixNotify.c). Not sure what the Windows situation is. The difficulty is that even across Unices, there are a variety of select/poll replacements - e.g. epoll, kqueues, /dev/poll each with their own quirks and limitations. The dual BSD/GPL licensed C library libev seems like a promising attempt to offer a unified interface across Linux/Solaris/BSD - see http://software.schmorp.de/pkg/libev.html. Regards, Kieran Elby |