Thursday, March 10, 2005

Keep-Alive is an enemy of efficient wireless protocols

A thought in continuation of the theme on communication of wireless client with a server. Keep-Alive connection setting forces the server to buffer all of the response before sending it to client, since it has to determine the Content-Length. It is still possible to override Keep-Alive setting requested by the client (or, similarly, lack of "Connection: close" for HTTP 1.1 clients). Tried that with Weblogic 5.1, after all headers/cookies are set, obtain a stream from the request and do a flush. Client receives a burst of data instantaneously (checked that in BREW emulator)...

0 Comments:

Post a Comment

<< Home