Hi Rusty,
Last year i implemented what i think you are looking for for the
aolserver. In essence,
the changes allow for a synchronous delivery of files. We use this (in
production on a
server with up to 4mio requests per day) for two purposes:
- background delivery of files (a connection thread can finish as soon the
asynchronous delivery starts; so multiple deliveries of e.g. large files
over slow lines dont do a DDOS "attack" to your system)
- chat (in combination with ajax): The same infrastructure can be used
for pushing (and broadcasting) information to multiple users connecting
to the aolserver (via ajax). Instead of using e.g. a polling chat
package,
the clients keep an open connection to which we can broadcast).
the asynchrounous delivery requires a small patch (2 changes, one is a
backport from naviserver)
and the tcl thread library (by zoran). The application code is in
Tcl/XOTcl is only a few lines of code.
And is included in the CVS of OpenAcs.
This is described in
http://media.wu-wien.ac.at/download/xowiki-doc/xotcl-apm.html where the
version numbers are outdated. get the actual code from cvs, not the apm
packages. The file contains as well the description for installing
libthread as well...
best regard
-gustaf neumann
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]>
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject:
field of your email blank.