You're asked to optimize a Python web application under high load. How do you approach it?

Situational