Backend
6 guides tagged “Backend”.
- Dead Letter Queue vs Retry: When to Use Each (and When to Use Both) Your message failed. Should you retry it or send it to a dead letter queue? Here's the decision framework, the patterns, and why you usually need both.
- What Is Memoization (and When Does It Actually Help)? Memoization caches a function's results by its arguments so repeat calls skip the work. Learn when it's a huge win and when it's wasted effort.
- How to Build a Background Job Queue Move slow work out of request handlers: a background job queue with a worker, retries, and a dead letter path. Redis + Python example.
- What Is a Database Transaction (ACID)? A transaction groups database operations so they all succeed or all roll back. Learn ACID, why transfers need it, and how to use it in code.
- Why Should Servers Always Use UTC? Servers should store and log time in UTC so logs, timestamps, and schedules agree across machines and time zones. Learn why and how to switch.
- What Is an ORM (and When Should You Use Raw SQL)? An ORM maps database tables to objects so you write queries in your language. Learn what it hides, what it costs, and when raw SQL is the right call.