On Mon, Aug 28, 2006 at 11:46:55AM +0200, Florent Solt wrote: > > > > > if you're using Rails, you usually won't encounter multithreaded access > > to a single index instance, since Rails is not threaded (or at least is > > not intended to run in a multithreaded way). > > But, tell me if I'm wrong, in dev env Rails use webrick, and webrick > create > a thread for each client, so each ajax call. Rails does not create > threads, > it's true, but webrick does. And the instance of DispatchServlet is > share > between all client thread, yes or not ?
I don't know how Webrick handles Rails, but with lighty/fastcgi you have seperate fastcgi processes that don't share anything and each only handle one request at a time. Jens -- webit! Gesellschaft für neue Medien mbH www.webit.de Dipl.-Wirtschaftsingenieur Jens Krämer [EMAIL PROTECTED] Schnorrstraße 76 Tel +49 351 46766 0 D-01069 Dresden Fax +49 351 46766 66 _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

