Whenever you're ready, walk me through how you'd approach this.
How would you gauge and improve the performance of a laggy website?
Asked in the senior engineers stage. Treat this as a practical ML system design exercise: explain how you would collect performance signals, identify likely causes, prioritize remediation, and verify that changes improve real user experience. Discuss what should run in the browser, at the edge, online, and in batch. Address latency, cost, data quality, privacy, rollout safety, and failure detection.