[aida] Scaling an Aida/Web site?

Janko Mivšek janko.mivsek at eranova.si
Fri Oct 17 10:04:20 CEST 2008

Nico, this is really good reference for Aida scalability and it would be 
nice if you publish also the code. Is your work part of 
ScriboPersistence effort?

Maybe we can make an AidaMagmaPersistence package to store those   basic 
Aida data like security settings, users/groups, urls ...


nico wrote:
> When I'll have time, I will write a detailed article on my blog about
> this :)
> Nico
> Le jeudi 16 octobre 2008 à 13:15 +0200, nico a écrit :
>> Hi,
>> I did some experiements some weeks ago to see how Scribo can scale with
>> a Magma repository.
>> The cool thing with Magma is that your objects work like if they were in
>> your image.
>> I put the Scribo repository, the UrlResolver, WebSecurityManager and
>> WebIndex in a Magma repository.
>> This repository was shared between 5 Squeak VMs.
>> I used Apache for load balancing, and I wrote a small bash script to
>> make sure that user sessions are always in the same vm, with a cookie.
>> So, when a request came, the script checked for this cookie, and if it
>> find it, redirect to the right VM. If not, use the load balancing, and
>> then AIDA started a session, with a cookie for the next request.
>> I can say that it worked great!
>> According to httperf, this setup can handle 150 requests per second :)
>> The script and Apache configuration was adapted from this one by Ramon
>> Leon for Seaside:
>> http://onsmalltalk.com/programming/smalltalk/seaside/scaling-seaside-more-advanced-load-balancing-and-publishing/
>> Cheers!
>> Nico
>> ------------------------------------------------------------------------
>> _______________________________________________
>> Aida mailing list
>> Aida na aidaweb.si
>> http://lists.aidaweb.si/mailman/listinfo/aida

Janko Mivšek
Smalltalk Web Application Server

More information about the Aida mailing list