№ 02 / SUMMARIES

#caching

Every summary, chronological. Filter by category, tag, or source from the rail.

Tag · #caching
DAY 01May 7, 2026 MAY 7 · 20261 SUMMARIES
Data and BeyondSoftware Engineering

Fix Node.js API Slowness: DB N+1, Cache, Code Tweaks

Profile with Performance Hooks to confirm slowness (e.g., 1200ms), then fix N+1 queries via joins/indexes (1s to 100ms), add Redis caching for repeated data, parallelize loops, trim payloads, timeout external APIs, and gzip responses (500kb to 50-100kb).

Data and Beyond

Showing 1 of 1