Technical guide

Application Performance

Fast pages and services, measured rather than guessed.

On this page
  1. Overview
  2. Trade-offs
  3. Architecture
  4. Workflow
  5. Challenges
  6. Example

All guides

← All guides

Overview

We measure real user timings and server traces before changing anything.

Most wins come from fewer round trips, smaller payloads and the right indexes.

Trade-offs

Caching vs freshness
Cache with explicit invalidation, not long guesses.
Pagination vs completeness
Page large lists; export when people need everything.

Architecture

Detect. An alert or report signals something may be wrong.

Illustrative diagram. For the end-to-end view, see the architecture on the Developers home.

Workflow

Measure

Baseline timings.

What we design for

  • N+1 database queries
  • Large unoptimised images
  • Missing indexes

Index for a hot query

Illustrative examplesql
create index concurrently idx_orders_status_created
  on orders (status, created_at desc);