« Return to Thread: Scaling Seaside

Scaling Seaside

by Richard Eng :: Rate this Message:

Reply to Author | View in Thread

Just out of curiosity, if I should need to scale my Seaside app beyond  
my one Linux box, exactly how do I do that?

I am currently using Apache to load-balance over several Squeak VMs:

<Proxy balancer://seaside_cluster>
        BalancerMember  http://localhost:9090/seaside/go  route=GSN9090
        BalancerMember  http://localhost:9091/seaside/go  route=GSN9091
        BalancerMember  http://localhost:9092/seaside/go  route=GSN9092
        BalancerMember  http://localhost:9093/seaside/go  route=GSN9093
        ...

Do I add a second Linux box that runs additional Squeak VMs (but does  
not run Apache)? Say, the second Linux box is at IP 192.168.1.110.  
Then do I edit the above to:

<Proxy balancer://seaside_cluster>
        BalancerMember  http://localhost:9090/seaside/go  route=GSN9090
        BalancerMember  http://localhost:9091/seaside/go  route=GSN9091
        BalancerMember  http://localhost:9092/seaside/go  route=GSN9092
        BalancerMember  http://localhost:9093/seaside/go  route=GSN9093
        ...
        BalancerMember  http://192.168.1.110:9200/seaside/go  route=GSN9200
        BalancerMember  http://192.168.1.110:9201/seaside/go  route=GSN9201
        BalancerMember  http://192.168.1.110:9202/seaside/go  route=GSN9202
        ...
?

Is it really that simple and straightforward?

Thanks,
Richard
_______________________________________________
seaside mailing list
seaside@...
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

 « Return to Thread: Scaling Seaside