Heroku Routers & Mesh Layer

The mesh layer is a special architectural design of Heroku’s. Each web request is routed through one of several high-powered routers, called “the mesh layer,” before it is forwarded down to the “dyno” (virtual server) running your app. For a complicated set of reasons, this means that Heroku enforces a 30-second timeout on all requests. You can’t do anything about this. This means that if you have LRRs (Long Running Requests), you’ve got to eliminate them.