<div class="gmail_quote">On Fri, Sep 11, 2009 at 11:34 AM, Joseph Harrison <span dir="ltr">&lt;<a href="mailto:stoicdeveloper@hotmail.com">stoicdeveloper@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I have some questions about Seaside scalability.<br><br>
I understand Smalltalks (especially Squeak) use green threads for concurrency,<br>
so obviously a single VM process handling all of those HTTP connections would<br>
not work. Rather, the solution seems to be some sort of parallel setup with many<br>
VM processes running simultaneously, each using green threads as needed, with<br>
some load balancer in front of them. Do they share the same image (in which<br>
case, I am guessing they can&#39;t save the image), or must each have its own? Next,<br>
persistence: I need a robust alternative. It need not be a pure object database,<br>
just something with decent performance that can scale; a mature Squeak interface<br>
to an RDBMS like PostgreSQL would suffice. Additionally, I am curious about<br>
64-bit Squeak and if it can work with Seaside.<br></blockquote><div><br></div><div>Ramon has interesting post about scaling Seaside/squeak:  <a href="http://onsmalltalk.com/scaling-seaside-more-advanced-load-balancing-and-publishing">http://onsmalltalk.com/scaling-seaside-more-advanced-load-balancing-and-publishing</a>.</div>
<div><br></div><div>I have also been experimenting with Nginx as load balancer and static files web server, all on the Amazon ec2 instances, but there is nothing in real production as of yet.</div><div><br></div><div>As for database Gemstone is natural choice, as log as it can fit in your budget. If not, maybe something very lightweight ansd simple like CouchDB can fit the bill.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Am I setting myself up for a lot of pain, or is it really practical to use these<br>
tools with large websites? If Squeak + Seaside isn&#39;t enough, how hard is it to<br>
drop down into C for extra performance or to call out to foreign code?<br>
<br></blockquote><div>Well, I guess there will be some pain and experimenting involved, since it is obviously not something that has been done on huge number of sites. Nevertheless, I think Seaside is viable option for high activity sites. </div>
<div><br></div><div>rush</div><div><a href="http://www.cloud208.com/">http://www.cloud208.com/</a></div><div><br></div></div>