This project is archived and is in readonly mode.

#2505 ✓wontfix
Tim Connor

Stock mongrel or thin will rebuild dispatcher every request

Reported by Tim Connor | April 16th, 2009 @ 01:03 AM

As I noted this blog post if you are running stock thin or mongrel clusters they will route through the old deprecated dispatch call, which will cause all of your metal (and middleware?) to be re-required every request.

As people with metal are probably those who most need performance, this may be a big hit for them. Since there are already handlers in the custom vendorized rack that work perfectly fine to avoid this, perhaps there just need to be some docs on this?

Comments and changes to this ticket

  • Tim Connor

    Tim Connor April 28th, 2009 @ 10:27 PM

    • Assigned user set to “josh”

    So as per the discussion on 4a3afe0b what do you think a good solution is, Josh?

  • josh

    josh May 17th, 2009 @ 04:49 PM

    • State changed from “new” to “wontfix”
    • Milestone cleared.

    I really hate the way mongrel wraps around Rails. I'm surprised we even have this working at all.

    I'll totally out of ideas, sorry man.

  • Tim Connor

    Tim Connor May 17th, 2009 @ 06:39 PM

    No worries. If I had any bright ideas, I would have done it myself. We're using thin with a config.ru, anyways, just trying to watch out for other people who might hit this oops. At least this way maybe it is googleable.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages