The Real Fullstack

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?

Senior Engineer15 Min.Performance-LaborFlusssimulator
angularspring-boothibernatepostgresqlhttp

Diese Aufgabe ist noch nicht auf Deutsch übersetzt. Du liest die englische Version.

Mission:Fix each layer from its role's perspective, then bring the cold (uncached) load under one second.Kontext · Lernziele ▾

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.

Mission: Fix each layer from its role's perspective, then bring the cold (uncached) load under one second.

Lernziele

  • 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.
SimulationSimuliert
BrowserAPIPostgreSQL
Simulation starten

Starte die Simulation, um die Ausgabe zu sehen.

Vereinfachung

Fixed costs per round trip, query and kilobyte; six identical widgets. Lernmodell – die Zahlen veranschaulichen Verhalten und sind keine Benchmarks.

Konzepte

Hilfreich vorher

Verwandte Aufgaben

Referenzen