The Dashboard That Takes Eight Seconds
Every team says their part takes “only” a few hundred milliseconds. How does that add up to nine seconds?
此挑战尚未翻译为简体中文,你正在阅读英文版本。
任务:Fix each layer from its role's perspective, then bring the cold (uncached) load under one second.
Quillfin's analytics dashboard loads six widgets. The browser requests them one after another, each endpoint lazily loads related rows, an aggregate query scans the events table, and raw rows are shipped to the browser to be summed. A distributed trace shows every layer contributing.
任务: Fix each layer from its role's perspective, then bring the cold (uncached) load under one second.
学习目标
- Read a waterfall across browser, API and database.
- Fix sequential requests, N+1 queries, missing indexes and oversized payloads.
- Distinguish cold-load fixes from cache mitigations.
模拟模拟数据