Blog

Posts tagged “Performance”

Deploy markers name the guilty release: p95 per endpoint before and after a deploy, with /v1/search flagged as a regression
Monitoring

Deploy markers: tying a latency regression to the release that caused it

p95 doubled, and there were three deploys and a flag flip since yesterday. Deploy markers and a version field on every log line turn "which release did this" into a five-minute query. Here is how to set both up for a Node API.

Jason Fill October 13, 2026 6 min read
Cursor vs offset pagination at page 4000. Cover graphic for a guide to keyset pagination in Node.js and Postgres APIs.
Coding

Cursor vs offset pagination: an API design that survives big tables and scrapers

Offset pagination was fast at launch; now deep pages hammer the database and one API key is walking every page. Here is when to switch to cursors and how.

Jason Fill August 21, 2026 6 min read
Node.js event loop lag, explained. Cover graphic for a guide to measuring Node.js event loop delay and finding the code that blocks it.
Monitoring

Node.js event loop lag: the metric that explains "random" slowness

Every endpoint slow at once, database fine, CPU looks idle: that is event loop lag. Here is how to measure it in Node with built-in tools and find the code that blocks.

Jason Fill June 22, 2026 6 min read
Node.js memory leak? Take three snapshots. Cover graphic for a guide to finding Node.js memory leaks with heap snapshots in Chrome DevTools.
Monitoring

Node.js memory leak debugging with heap snapshots

The container keeps getting OOM-killed and restarts hide why. Here is the three-snapshot method that finds a Node.js memory leak, and how to do it safely in production.

Jason Fill May 25, 2026 6 min read
Find N+1 queries before users do. Cover graphic for a guide to detecting and fixing N+1 database queries in a Node.js API.
Monitoring

How to find N+1 queries in a Node.js API before your users do

An endpoint that's fast in development takes 900 ms for your biggest customer because it runs 201 queries. Find N+1 queries in a Node API with a per-request query counter and a test, then fix them with one batched query.

Jason Fill April 3, 2026 6 min read
API latency percentiles, read honestly. Cover graphic for a guide to reading p50, p95 and p99 API latency correctly.
Monitoring

API latency percentiles: how to read p50, p95 and p99 without fooling yourself

Your average latency says 102 ms; a customer says the app hangs for two seconds. Both are true. Learn to read p50, p95 and p99, avoid the four classic mistakes, and record percentiles per route in Node.

Jason Fill December 18, 2025 7 min read