Topic

Backend Patterns

Caching, rate limiting, queues, idempotency and other building blocks.

Kafka vs RabbitMQ vs SQS

Kafka, RabbitMQ and Amazon SQS compared: log vs queue models, ordering, replay, throughput, delivery guarantees and operations, and when to use each.

2 min read

Idempotency Keys: Designing Safe Retries

How idempotency keys make retries safe: why duplicate requests happen, how to store and check keys, handling concurrent requests, expiry and common mistakes.

2 min read

Load Balancing Algorithms Explained

Load balancing algorithms compared: round robin, weighted, least connections, least response time, IP hash and consistent hashing, L4 vs L7 and health checks.

2 min read

REST vs gRPC vs GraphQL

REST vs gRPC vs GraphQL compared: how each works, performance, contracts, caching, streaming, tooling and browser support, and when each API style fits best.

4 min read