[Seaside] Concurrency question

Dale Henrichs dale.henrichs at gemstone.com
Mon Feb 18 20:16:49 UTC 2008


Jeffrey Straszheim wrote:
>
> I fully understand the difference between green threads and os level 
> threads, and blocking vs. non-blocking I/O.  I just want to know what 
> Seaside actually does.
Jeffrey,

In Squeak, HTTP requests for _different_ sessions are processed 
concurrently via green threads (a thread is forked for each HTTP 
request). HTTP requests for the _same_ session are serialized via a 
session-specific Semaphore.

You do not _have_ to run multiple vms to handle concurrent requests in 
Seaside...

Hope this helps,

Dale


More information about the seaside mailing list