I uploaded new nssock module with generic server support with example of nscp module in Tcl
ftp://ftp.crystalballinc.com/pub/vlad/nssock.tar.gz
The patched driver.c,queue.c,ns.h also in the same ftp directory in aolserver-patch.tar.gz
PS: A year ago i tested performance using servers implemented as separated thread with sock callback and patched aolserver using connection driver. Connection driver outperformed with big difference, i used dual PIII 2.4 Ghz server with 2Gb memory and used postal as test utility with average load about 50 requests per second.
Tom Jackson wrote:
On Fri, 2004-05-28 at 09:58, Vlad Seryakov wrote:
I have patch that convert aolserver into generic threaded server platform. I had to write SMTP proxy server and it required just a small patch to change default HTTP-aware behaiviour of server thread. Now it supports generic drivers and uses same thread pools/connection driver as for http communications.
This is great, it would be a huge step forward, IMHO. I've been looking at the code, so I knew you could do it, but this is somethig that should really be done, given the state of the other ns_sock* APIs
tom jackson
-- 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.
-- 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.
