On Saturday 05 February 2005 18:19, Andrew Piskorski wrote:

> How does the "aggressive read ahead model" Jim Davidson introduced in
> AOLserver 4.0 work?  Why is it better for HTTP than what other web
> servers do, like AOLserver 3.x, Apache 1.x and 2.x, etc.?  If, how,
> and why is this model un-suitable for non-HTTP traffic?

I believe you are talking about the iovec scatter/gather method, which
reads/writes from multiple buffers in a single call. It should be much faster
for a lot of applications, especially UDP. Likely you have to change one line
of code to change nssock into a UDP module (of course it might be nice to do
that from a config file setting, which is probably what Vlad did if he has
written a SIP server).
I don't think the application level cares about the read ahead.
Check _UNIX Network Programming 2nd Ed. Volume 1_ page 357 (Section 13.4).

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.

Reply via email to