On Sep 30, 9:44 am, Yann Geek <li...@ruby-forum.com> wrote:
> I comment this line :
> config.cache_classes = false
>
> In the config, And I see it work better.
>
You definitely want that - class reloading is non threadsafe.
> But, could you answer to this question :
>
> When only one process run, the client wait 0.907 sec.
> When 2 process run together, each client wait 1.705 sec.
> When 5 process run together, each client wait 4.073 sec.
>
I checked mongrel's source code - it's still got that mutex inside the
rails dispatcher ( a relic really from when that was still needed) so
it will never dispatch more than one request to rails at a time.
Fred
> Whereas ruby take 0.760 sec each time, for all process in all
> configuration.
>
> Why?
>
> --
> 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