Skip to content
Performance · PostgreSQL · Load tests

Backend and database performance: faster, and proven by load tests

When pages take seconds, the problem is usually on the server: queries, data shape or missing caches. We find it, fix it and prove the result with load tests, not with a promise.

Report API
1.9 s → 0.71 ms with cache
Before the cache
more than 5 s → 0.5 s
Proof
k6 load tests
Challenges

What usually goes wrong, and our fix

  • ProblemReport pages take more than five seconds as data grows.

    Composite indexes and ready-made totals, so the database reads instead of recalculating.

  • ProblemThe site slows down exactly during a campaign or a tournament.

    Load tests before the peak, then caching and scaling where they show the limit.

  • ProblemVideos start slowly on phones.

    Adaptive HLS streaming from your own video server.

  • ProblemCategory pages get slower as the catalogue grows.

    API-⁠level caching and background rebuilds of heavy data.

  • ProblemCloud bills grow with the traffic.

    We find which services cost the money and cut them.

What you get

What stays with you

No black box. All of this belongs to you, during the project and after it, even if you move to another team one day.

  • MonitoringErrors tracked in Sentry and uptime watched in Uptime Kuma, with alerts to the team.
  • Tests around the risky partsEnd-⁠to-⁠end tests in Playwright and unit tests in Jest, where a mistake would cost the most.
  • A preview link for every featureOpen and test each change before it goes live.
  • Code in your repositoryFrom the first commit. Repositories and infrastructure accounts are in your name too.
  • Deploy scripts and a setup guideCI/CD from the first sprint, and written steps to deploy the whole system from scratch.
  • Support after launchOngoing support, with an SLA contract when you need guaranteed response times.
What we built

What we have built

  • Charity reports, ten times faster before the cache: profiling, indexes, a PostgreSQL materialised view and an nginx cache; with the cache, 1.9 s to 0.71 ms on k6.
  • A table shrunk from 444 MB to 23 MB on a 5-million-record test set, with indexes an order of magnitude smaller.
  • An esports backend load-tested for tournament peaks on Kubernetes, with Elasticsearch and scheduled jobs that never fail silently.
  • Our own HLS video server for a premium furniture site, so videos start fast on any connection.
  • Caching and background rebuilds for a B2B store, so pages stay fast as the catalogue grows.
  • AWS cost optimisation across Lambda and S3 for a US app.

Cases

  • Non-⁠profit · 2022–2024

    A major non-⁠profit foundation: donation reports thousands of times faster

    A major non-⁠profit foundation publishes its donation reports openly. We made its public report pages fast and proved it with load tests.

    1.9 s → 0.71 ms with cache
  • Esports · Mobile app backend · 2018–2022

    eForce: the data backend behind an esports app for CS:GO and Dota 2

    We built and ran the whole backend of eForce, an esports app for iPhone. Every day it collected matches, teams and players from many sources and turned them into live scores, statistics and push alerts. At its peak the app had 150,000 users a month.

    CS:GO + Dota 2 · Push alerts
  • Website · Premium furniture · 2021–2022

    Dura: premium garage furniture, sold as finished projects

    A website for an importer of premium garage furniture from England: a gallery of finished garages, videos that start fast on any connection and an admin panel the team runs on its own.

    Video that starts fast
  • B2B e-⁠commerce · Automotive · 2023 → 2026

    AM Tech: one store for dealers, workshops and retail buyers

    A partner of Automehanica sells parts and consumables for car-⁠service stations. We rebuilt its store from scratch on our platform: every order is synced with the accounting system, each dealer sees their own prices while retail buyers see retail ones, search is smart, and the admin panel works even for managers with no training.

    Dealer + retail prices
  • Backend takeover · Social app · 2022–2023

    Capsll: taking over and stabilising the backend of a time-capsule app

    A US app for digital time capsules: private memories you keep now and open later. The founders had a first version built by another team and needed it stable enough to grow. We took over the whole backend and put it in order.

    Backend taken over and stabilised

All services

Features

Features we’ve shipped

  • ProblemEvery page view summed millions of rows, so pages loaded in seconds.

    Reports read from ready totals, not recalculated

    Non-⁠profit foundation
  • ProblemThere was no proof that changes actually help.

    Load tests that prove the speed-up

    Non-⁠profit foundation
  • ProblemPages slow down as the catalogue grows.

    A catalogue that stays fast as it grows

    AM Tech
  • ProblemReport pages slow down exactly when most people are watching.

    Public reports that hold up during peaks

    Non-⁠profit foundation
  • ProblemHeavy project videos load slowly and stall on phones.

    Videos that start fast on any connection

    Dura
  • ProblemA startup keeps paying for cloud resources it doesn’t need.

    Cloud bills brought under control

    Capsll
  • ProblemEvery new filter on a large table makes the page slower.

    Indexes designed for a very large table

    Non-⁠profit foundation
  • ProblemDonors can’t find their own payment in a public report.

    Full-text search in payment comments

    Non-⁠profit foundation

All 8 features in the catalogue

FAQ

Questions and answers

How do you find the bottleneck?

We measure first: slow-query logs, profiling and load tests on realistic data. Then we fix the biggest cause, not the most visible one.

Do you always add a cache?

No. A cache hides a slow query; we fix the query first. At a major non-⁠profit foundation reports were ten times faster before the cache was added.

How do you prove the result?

With load tests such as k6, before and after, on the same data and the same number of virtual users.

Is this about Lighthouse and front-end speed?

This page is about servers and databases. For a fast website on launch day see our launch-ready page.

Which databases do you work with?

PostgreSQL and MongoDB most of all, with Redis and Elasticsearch next to them.

Let’s talk

Pages that take seconds to load?

Send us the address of one slow page or API through the form below, and we’ll reply in writing with where we would look first. A 30-⁠minute call works too.

Wrocław, Poland · Central European Time

Prefer to write? Describe the task in two or three lines and we’ll reply by email.

    We use your details only to reply. Privacy

    Thank you! Your message is with us, and we’ll reply by email.

    Test mode: the form works, but this preview sends nothing.

    Book a 30-⁠min call