Hi, Thanks Stéphane and Sven. I think that I will opt for lighttpd or Nginx as a front end for Zope/Rails/Seaside-Pier inmy attempts to solve the "504 gateway error" unsolved in Cherokee. Cheers, Offray On 11/13/11 04:42, Sven Van Caekenberghe wrote:
On 12 Nov 2011, at 23:44, Stéphane Ducasse wrote:
I guess that sven is using pharo to manage multiple servers using a rest like architecture.
I am using multiple Smalltalk server instances/images behind a non-Smalltalk (Apache 2 in my case) load balancer.
Current VMs are single core, so to use the multiple cores on modern machines, this is useful.
Given the amount of memory you get today, you can better use it, and Smalltalk is very efficient compared to say Java.
This kind of setup also allows for a more resilient system since requests can be routed around a crash in a worker.
There exist server tools (like monit) that monitor your workers and restart them automatically when needed.
The challenge is of course to build a system that is either stateless or where the shared state lives efficiently outsite each worker.
Sven