Technology
PerformanceProfiling, Caching, Edge
The performance stack we reach for, the trade-offs we name, and when we use something else — profiling as the first conversation, caching as the architecture, the edge as the deploy, with the cost review that keeps the bill honest.
What we use it for
Profiling as the first conversation — the slow query, the hot path, the bottleneck the data is pointing to. Caching as the architecture — the cache layer, the cache key, the invalidation strategy. The edge as the deploy — the CDN, the edge function, the image optimisation.
We extend the stack with the tools the workload needs — Redis or Memcached for the cache, Cloudflare or Fastly for the CDN, ImageOptim or Squoosh for the images, the bundle analyser for the front end.
When we choose it over the alternative
Profiling is right when the performance problem is in production and the data is pointing to a specific path. Caching is right when the data is read-heavy and the staleness is acceptable. The edge is right when the audience is global and the latency matters.
The right answer depends on the workload, the data and the cost. We will say so on the call, with a written rationale for the choice and the trade-offs named.
When we do not choose it
We do not choose a CDN when the audience is local and the latency is not a problem. We do not choose a cache when the data is always fresh and the staleness is not acceptable. We do not choose the edge when the cost (egress, edge function) makes the alternative the right answer.
Frequently asked
The questions the team asks
- How do you measure performance?
- Core Web Vitals (LCP, INP, CLS) for the front end, p50/p95/p99 latency for the API, the database query time for the data, the cache hit rate for the cache. The metrics are on a dashboard, the SLOs are written, and the alerts fire on the SLO budget.
- When is the edge the right answer?
- When the audience is global, the latency matters, and the cost of the edge is less than the cost of the latency. For a local audience, the edge is over-engineering. For a global audience, the edge is the difference between a fast site and a slow one.
- How do you handle the cache invalidation?
- A written cache key, a written invalidation strategy, and a written runbook. The cache is part of the architecture, not a wrapper, and the invalidation is tested. The cache is a leverage point, not a magic trick.
Have a project in mind?Let’s scope it together.
Tell us the outcome you need. You get an approach, a rough timeline and next steps within one business day.