Backend

Sessions vs Tokens: How Authentication Really Works in Web Applications Backend
Sessions vs Tokens: How Authentication Really Works in Web Applications
Cookie sessions and JWTs solve the same problem in different ways. Here's how each behaves under revocation and scale, and the pitfalls that catch teams out.
read more
Seven Database Indexing Mistakes That Quietly Slow Down Your Queries Backend
Seven Database Indexing Mistakes That Quietly Slow Down Your Queries
Over-indexing, missing composite indexes and the wrong column order are the usual suspects behind slow queries. Here is how to read a query plan and fix each one.
read more
How to Build a Rate-Limited REST API with Node.js and Redis Backend
How to Build a Rate-Limited REST API with Node.js and Redis
Build a token-bucket rate limiter in Node.js backed by Redis, with atomic Lua updates, useful response headers, clear 429 errors and a load test that proves...
read more