Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

This project is archived and is in readonly mode.

Stock mongrel or thin will rebuild dispatcher every request

#2505

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?

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

State: wontfix
Milestone: none
Assigned to: josh josh
Importance: none

Activity

  1. Tim Connor
    Tim Connor
    • Assigned user set to josh

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

    April 28th, 2009 @ 10:27 PM

  2. josh
    josh
    • 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.

    May 17th, 2009 @ 04:49 PM

  3. Tim Connor
    Tim Connor

    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.

    May 17th, 2009 @ 06:39 PM