Re: keepalive configuration
Zachary Giardalas <[email protected]> Tue, 09 Dec 2003 14:12:11 -0500
| Newsgroups | gmane.comp.web.mod-pubsub.devel |
|---|---|
| Message-ID | <[email protected]> |
Kragen Sitaker wrote: >On Tue, Dec 09, 2003 at 10:13:16AM -0500, Zachary Giardalas wrote: > > >>I've played with some of the demo apps on the mod-pubsub.org site and on >>a test server that we've setup here. When sniffing the connection, I >>find that from the mod-pubsub site javascript keepalive messages are >>sent once every 15 - 30 seconds, whereas the same app from our test >>server sends them about once per second. Is this configurable? Our >>test server is running apache 1.3 whereas I notice mod-pubsub.org has >>2.0. Any hints will be much appreciated. Please cc this email address >>as I'm not subscribed to the mailing list. >> >> > >You're using the Perl server, I guess? > Yes, I'm using the mod_pubsub Perl module under modperl. >And in both cases, you're talking about the single-byte keepalives, ASCII spaces? > > No, there are no single byte keepalives. The keepalives I've seen with my 1.3 installation are http continuations consisting of 8 bytes containing spaces and CRLFS, which are sent once per second or more. The mod_pubsub.org based apps contain at least 127 bytes of javascript (many are far more wasteful), but only send every 15 to 30 seconds. The documention for the project doesn't get into anything at this depth, as far as I've seen. Z ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click