[Seaside] Upload speeds with Comanche

Colin Putney cputney at wiresong.ca
Sat Aug 25 04:03:17 UTC 2007

On Aug 24, 2007, at 8:05 AM, Patrick Collison wrote:

> Hi,
> On a dual-core 2.16Ghz MacBook Pro with 2GB of RAM, it takes Comanche
> 190 seconds to read a request containing a 5MB file upload. By
> comparison, the same request takes Apache 1.3 about 0.3 seconds.
> By changing SocketStream>>bufferSize to use a 100kb buffer (instead of
> the standard 2kb), I got that down to 8 seconds, but at the cost of
> rapidly ballooning memory usage after a few hundred requests.
> Has anyone modified a stock Comanche/Smalltalk combination to get
> things running a bit faster, or get any suggestions as to how I can
> improve things?

Göran wrote FastSocketStream, which should give you a significant  
speed boost. I just did a quick test, and I found I could stream an  
11 MB file to disk in 4.6 seconds. Still quite a bit slower than  
Apache, but way faster than SocketStream.


More information about the seaside mailing list