TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Patching Rails Performance

102 pointsby strzalekalmost 10 years ago

4 comments

jordanthomsalmost 10 years ago
Speed improvements are always nice, but the big improvement for us came from moving from 1x and 2x dynos to Performance dynos. CPU performance on the 1x and 2x dynos was highly inconsistent, and would suddenly become abysmal for periods of 5-10 minutes or more - and due to random routing, the backed up dyno would keep on getting requests until the requests start timing out.
schneemsalmost 10 years ago
I wrote the patch and the article, do you have any questions related to either?
评论 #10019866 未加载
评论 #10019428 未加载
评论 #10021513 未加载
评论 #10020555 未加载
评论 #10019447 未加载
评论 #10020304 未加载
matthewcfordalmost 10 years ago
A lot of time according to new relic is spent in Middleware/Rack/ActionDispatch::Routing::RouteSet#call on one of our Rails apps on Heroku. Any ideas on what might be the cause? (I'm within memory limits standard-2x)
评论 #10020659 未加载
评论 #10020649 未加载
kentoralmost 10 years ago
I've stopped doing ruby dev, but boy do I not miss mutable strings. Javascript/Python's got that part right. String interning is a godsend.
评论 #10019660 未加载
评论 #10020666 未加载