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?

Ingeniero sénior15 minLaboratorio de rendimientoSimulador de flujos
angularspring-boothibernatepostgresqlhttp

Este reto aún no está traducido al Español. Estás leyendo la versión en inglés.

Misión:Fix each layer from its role's perspective, then bring the cold (uncached) load under one second.Contexto · Objetivos de aprendizaje ▾

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.

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

Objetivos de aprendizaje

  • 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.
SimulaciónSimulado
BrowserAPIPostgreSQL
Ejecutar simulación

Ejecuta la simulación para ver la salida.

Simplificación

Fixed costs per round trip, query and kilobyte; six identical widgets. Modelo educativo: los números ilustran un comportamiento, no son benchmarks.

Conceptos

Útil antes de este

Retos relacionados

Referencias