[aida] Scaling an Aida/Web site?

nico petton.nicolas at gmail.com
Thu Oct 16 13:20:57 CEST 2008


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
> 
-------------- section suivante --------------
Une pi�ce jointe non texte a �t� nettoy�e...
Nom: non disponible
Type: application/pgp-signature
Taille: 197 octets
Desc: Ceci est une partie de message
 =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url: http://lists.aidaweb.si/pipermail/aida/attachments/20081016/b07f35a2/attachment.sig 


More information about the Aida mailing list