The System Design Trap: Capacity Planning in Ruby on Rails

I was asked 'how many machines for 1,000 RPS?' in an interview. The textbook formula is simple - but it will crash a real Rails app. Here's why.