From: Zachary G. <zgi...@pu...> - 2003-12-09 19:10:15
|
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 |