What are some common Rails performance gotchas? Just a tweet would be great, but links to blog posts, diagnostics, etc. would be awesome too
@d_evolute You wouldn't want the single record to trigger a giant database query. @jackdanger
-
-
@wycats@jackdanger you would have it included already right? -
@chris_d_evolute
@wycats We have good best practices for when we find N+1 queries but finding them is tough. -
@jackdanger@wycats you tried bullet ? It seems reasonable code to me but requires upfront usage / tests to gather information -
@chris_d_evolute the basic idea behind bullet is good but shouldn't be run in production
@jackdanger -
@wycats@jackdanger no probably not . I would record users and replay them to find performance issues.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.