actiondispatch

ActionDispatch::Routing::RouteSet#call Rails 4.1 really slow

亡梦爱人 提交于 2019-11-30 01:12:44
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:

ActionDispatch::Routing::RouteSet#call Rails 4.1 really slow

会有一股神秘感。 提交于 2019-11-28 21:19:07
问题 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.