Skip to content
Fuad Bayramov
All case studies

Azerbaijan Athletics Federation · 2022 – 2025

From 10 seconds to 3: a performance overhaul

Making a slow, data-heavy federation system fast, on the frontend, the API and the database.

Role: Frontend / Full-Stack Developer (Junior → Mid-Senior)

app load time
10s → 3sapp load time
API response time
3s → 200msAPI response time
records per import/export
100k+records per import/export

Context

The federation's web application manages large volumes of athlete and competition data, and staff regularly move that data in and out through Excel and PDF reports.

The challenge

The app took 10 seconds to load and API calls took around 3 seconds. Large imports and exports were part of daily work and had to handle 100k+ records without freezing the browser.

My role

  • Profiled and fixed performance across frontend, API and database
  • Built the Excel and PDF import/export engines
  • Ran production and staging deployments, including DNS, reverse proxy, CI/CD and firewall

Key decisions

  1. 01

    Ship less JavaScript up front

    Code splitting and lazy loading so users only download what the current page needs, plus asset optimisation. Load time dropped from 10s to 3s.

  2. 02

    Fix the API at the query level

    The slow responses came from the data layer, so I optimised the GraphQL resolvers and Django ORM queries behind them. Responses went from 3s to 200ms, 15× faster.

  3. 03

    Keep the UI responsive under heavy data

    The import/export engines process 100k+ records without blocking the interface, so staff can keep working during large Excel and PDF jobs.

Results

  • 70% faster load time (10s → 3s)
  • 15× faster API responses (3s → 200ms)
  • Excel and PDF import/export of 100k+ records without blocking the UI
  • Owned production deployments end to end

Stack

  • React
  • TypeScript
  • GraphQL
  • Django
  • Traefik
  • GitLab CI/CD

Next case study

Certificate automation and an intern team of 10+