[plt-scheme] Do servlets run in parallel threads?

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Mon Jan 14 21:36:09 EST 2008

You should not rely on the web-server to do any protection of
resources for you. Consider each call to application, regardless of
invocation (session), to be a different thread.


On Jan 14, 2008 5:55 PM, Henk Boom <lunarc.lists at gmail.com> wrote:
> I'm writing my web site in scheme using the web server, and I am
> wondering whether or not I can rely on servlets being run
> sequentially. I looked at the code, but I'm having trouble
> understanding much of it since it makes use of many mzscheme features
> I am not really familiar with.
> I've written a servlet which tells me when it is run from two threads
> at the same time (checking and setting a module variable), and as far
> as I can tell it never happens. It would be nice to know for sure
> though.
>     Henk Boom
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Jay McCarthy <jay.mccarthy at gmail.com>

Posted on the users mailing list.