[Seaside-dev] WAStreamedResponse vs WABufferedResponse

Lukas Renggli renggli at gmail.com
Tue Jun 23 06:24:03 UTC 2009


> When you're using the Comet stuff, how do you configure the server to use
> the WAStreamedResponse. Do you start a second http server for the streamed
> version or do you configure your main http server to use streaming instead
> of buffering?

In Seaside-Squeak there is a special server (WAListener) that uses
WAStreamedResponse, the other servers (Kom, Swazoo) use the default
WABufferedResponse as they lack support for streaming.

Ideally the choice between WABufferedResponse and WAStreamedResponse
should be a setting in the server adapter, similar to upload-streaming
that is a setting in the Kom adapter. Most people probably want
buffering during development, but streaming during deployment (as it
is faster and less memory intensive).

The choice has nothing to do with Comet, only that Comet requires a
WAStreamedResponse. Currently Comet does not support to stream through
a different server, but that could probably be added.

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside-dev mailing list