[Seaside] Upload speeds with Comanche

Janko Mivšek janko.mivsek at eranova.si
Fri Aug 24 21:18:02 UTC 2007

Hi Sebastian,

Sebastian Sastre wrote:

> Looks good Janko,
> 	anybody knows if there is any effort being made in Squeak to make
> Seaside work with Swazoo instead of Comanche?

And anyone who will stand-up and take that job, can count on all my support!

Best regards

>> -----Mensaje original-----
>> De: seaside-bounces at lists.squeakfoundation.org 
>> [mailto:seaside-bounces at lists.squeakfoundation.org] En nombre 
>> de Janko Mivšek
>> Enviado el: Viernes, 24 de Agosto de 2007 12:28
>> Para: Seaside - general discussion
>> Asunto: Re: [Seaside] Upload speeds with Comanche
>> Hi Patrick,
>> Just for comparison, recently I measured Swazoo 2.0 
>> performance on Squeak and VW and achieved  230KB/sec download 
>> on Squeak and 3MB/sec on VW. For upload I achieved also 
>> 3MB/sec on VW, so I expect same 230KB/sec on Squeak. In all 
>> cases a streaming directly to/from a file was used.
>> To compare with your results: 5MB upload/download would take 
>> 22s on Squeak and 1.6s on VW.
>> Measurements were done on Linux, 3.2GHz CPU, 2GB ram.
>> Best regards
>> JAnko
>> 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?
>>> Cheers,
>>> Patrick

Janko Mivšek
Smalltalk Web Application Server

More information about the seaside mailing list