On Sep 30, 9:06 am, Yann Geek <li...@ruby-forum.com> wrote:
>
> what are we seeing?
> - 5 process run together
> - Ruby take the same time for each process (760 ms)
> - BUT : RoR wait the end of each process before answer to client.
>
> finally :
> I think, there is a probleme somewhere. but WHERE?? could you help me
> please?
Rails runs single-threadedly by default. config.threadsafe! (in one of
your environment configuration file) will enable more than one request
to be processed at a time although limitations of MRI's threadeding
mean you might not see the difference you expect (and i think earlier
versions of mongrel only even dispatch one request to rails at a time,
because rails used to be non threadsafe)
Fred
>
> regards,
> Yann (geek)
> --
> Posted viahttp://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment