ActionDispatch::Routing::RouteSet#call Rails 4.1 really slow
I've searched for days but can't find any relevant answers to this question. In my Rails 4.1 app hosted on Heroku, when the load goes up, some PUT requests get REALLY slow. The slowest one today was 53 seconds. All without the database (MongoDB) registering any slow queries. Normally this request takes 0.3ms so pretty fast. The request is slow no matter what the payload is. Upon installing New Relic it shed some more light on the situation, but I still don't know where to fix this problem. The code in the controller is fast, but according to New Relic, the thing that is slow is ActionDispatch: