The closing lesson of the talk: debugging subtle, long-running performance bugs requires knowing not just your own code but your framework (Rails), any in-house frameworks layered on top, the libraries you use, and the language itself. If that's impossible because the stack is too big, consider architectures that don't require monolithic/megalithic frameworks.