How we sped up our Laravel API fivefold
We break down a real path to optimizing a Laravel API: profiling, fighting N+1, caching and resident mode — with before-and-after numbers.
Blog
Practical notes on PHP and Laravel, Go, databases, queues, caching, microservices and DevOps — from real experience running production systems.
We break down a real path to optimizing a Laravel API: profiling, fighting N+1, caching and resident mode — with before-and-after numbers.
Why queued jobs must be idempotent, how to protect against double execution and properly configure retries.
How to read a query plan, choose an index type and avoid creating useless indexes that only slow down writes.
When microservices are justified, how to draw boundaries and why asynchronous events matter more than synchronous calls.
A minimal but useful pipeline for a team of a few people: tests, image builds, safe deployment and fast rollback.
Caching patterns, fighting the cache stampede and proper invalidation — so that the cache speeds up the system rather than breaking its correctness.