Library · 194 lessons

Find the exact backend lesson you need.

Filter the curriculum without losing the original stable article URLs.

194 lessons

Lesson · System Design · Intermediate

Dead Letter Queue Explained

Design dead-letter handling with bounded retries, failure metadata, alerting, approved replay, and duplicate-safe Java and Node.js recovery workflows.

Read lesson →

Lesson · API Design · Beginner

HTTP Cache Headers Explained

Understand Cache-Control, Age, Expires, Vary, freshness, validation, and browser versus shared cache behavior with Java and Node.js examples.

Read lesson →

Lesson · Backend Security · Advanced

API Request Signing Explained

Design HMAC API request signing in Java and Node.js with canonical requests, timestamps, nonces, replay defense, rotation, tests, and failure handling.

Read lesson →

Lesson · Algorithms · Advanced

Bloom Filter Explained

Learn how Bloom filters trade small false-positive risk for compact membership checks, including sizing math, Java BitSet code, and backend use cases.

Read lesson →

Lesson · System Design · Beginner

CAP Theorem Explained

Learn what consistency, availability, and partition tolerance mean during failures, why pick-two is misleading, and how PACELC improves the model.

Read lesson →

Lesson · Backend Security · Intermediate

CORS Configuration Best Practices

Configure CORS safely in Spring Boot and Express with exact origins, credentials, preflight caching, rejection behavior, tests, and deployment checks.

Read lesson →

Lesson · Production Database Engineering · Beginner

Database Deadlocks Explained

Learn why database deadlocks happen, how PostgreSQL and MySQL detect them, and how to prevent and retry them safely in Java and Node.js.

Read lesson →

Lesson · Production Database Engineering · Intermediate

Database Read Replicas Explained

Learn how database read replicas work, where replica lag breaks correctness, and how to route reads safely in Spring and Node.js services.

Read lesson →

Lesson · Algorithms · Intermediate

Graph Traversal: BFS vs DFS

Compare breadth-first and depth-first graph traversal, choose the right strategy, and implement safe iterative Java versions with complexity and tests.

Read lesson →

Lesson · Algorithms · Intermediate

Heap Patterns Explained

Recognize heap patterns for top K, kth elements, streaming medians, k-way merge, and scheduling with safe Java PriorityQueue examples.

Read lesson →

Lesson · Algorithms · Beginner

Merge Intervals Explained

Learn the merge intervals pattern, endpoint semantics, sorting invariants, Java implementation, complexity, edge cases, and scheduling variants.

Read lesson →

Lesson · Algorithms · Beginner

Monotonic Stack Explained

Learn how monotonic stacks solve next-greater, stock-span, temperature, and histogram problems in linear time with practical Java examples.

Read lesson →

Lesson · Backend Security · Advanced

API Abuse Prevention Explained

Learn API abuse prevention for backend systems, including rate limits, authentication signals, quotas, bot patterns, logging, errors, and gateways.

Read lesson →

Lesson · Authentication · Intermediate

Cookie Security Checklist

Use this backend cookie security checklist for HttpOnly, Secure, SameSite, CSRF, session rotation, prefixes, expiration, domains, and testing.

Read lesson →

Lesson · Authentication · Beginner

Cookie vs Token Authentication

Compare cookie and token authentication for backend apps, including sessions, JWTs, CSRF, XSS, storage, CORS, mobile clients, and API tradeoffs.

Read lesson →

Lesson · Authentication · Intermediate

CORS Preflight Explained

Learn how CORS preflight requests work, including OPTIONS handling, allowed methods, headers, credentials, caching, errors, and backend mistakes.

Read lesson →

Lesson · Authentication · Beginner

OAuth Scopes Explained

Learn OAuth scopes for backend APIs, including permissions, consent, least privilege, access tokens, naming, validation, and common mistakes.

Read lesson →

Lesson · Authentication · Beginner

Service Accounts Explained

Learn service accounts for backend systems, including machine identity, API access, least privilege, secrets, rotation, audit logs, and risks.

Read lesson →

Lesson · Production Database Engineering · Intermediate

Database Migration Rollback Explained

Learn database migration rollback strategies, including backward-compatible changes, expand-contract migrations, backups, deploy order, and recovery plans.

Read lesson →

Lesson · System Design · Beginner

N+1 Query Problem Explained

Learn the N+1 query problem in backend apps, including ORM loading, SQL examples, eager loading, batching, joins, query counts, and fixes.

Read lesson →

Lesson · API Design · Beginner

REST API Design Checklist

Use this REST API design checklist to review resources, methods, status codes, errors, pagination, idempotency, versioning, auth, and OpenAPI docs.

Read lesson →

Lesson · Java Collections · Beginner

HashSet vs TreeSet in Java

Compare HashSet and TreeSet in Java by ordering, uniqueness, contains performance, null handling, memory cost, and practical backend use cases.

Read lesson →

Lesson · Authentication · Beginner

MFA Explained for Web Apps

Learn how multi-factor authentication works in web apps, including TOTP, WebAuthn, backup codes, recovery flows, step-up checks, and backend tradeoffs.

Read lesson →

Lesson · API Design · Beginner

PUT vs PATCH in REST APIs

Compare PUT and PATCH in REST APIs, including replacement vs partial updates, idempotency, validation, status codes, and backend implementation choices.

Read lesson →

Lesson · Java Collections · Intermediate

Queue vs Deque in Java

Compare Queue and Deque in Java, including FIFO queues, double-ended operations, ArrayDeque, LinkedList, stack usage, and practical backend defaults.

Read lesson →

Lesson · Java Collections · Beginner

TreeMap vs HashMap in Java

Compare TreeMap and HashMap in Java by key ordering, lookup complexity, range queries, null handling, memory overhead, and backend use cases.

Read lesson →

Lesson · Authentication · Advanced

API Gateway Explained

Learn what an API gateway does in backend architecture, including routing, authentication, rate limiting, observability, and tradeoffs.

Read lesson →

Lesson · System Design · Advanced

Background Jobs Explained

Learn how background jobs work in backend systems, including queues, workers, retries, scheduling, idempotency, and monitoring.

Read lesson →

Lesson · Authentication · Beginner

Authorization vs Authentication

Compare authentication and authorization in backend systems, including identity checks, permissions, roles, scopes, sessions, tokens, and API enforcement.

Read lesson →

Lesson · System Design · Advanced

Caching Strategies Explained

Learn common backend caching strategies, including cache-aside, write-through, write-behind, TTLs, invalidation, and cache stampede risks.

Read lesson →

Lesson · Production Database Engineering · Advanced

Database Sharding Explained

Learn what database sharding is, when backend systems need it, how shard keys work, and what tradeoffs sharding creates.

Read lesson →

Lesson · Authentication · Beginner

JWT Claims Explained

Learn common JWT claims for backend authentication, including sub, iss, aud, exp, nbf, iat, jti, scopes, roles, tenant context, and validation mistakes.

Read lesson →

Lesson · System Design · Advanced

Load Balancing Explained

Learn how load balancing distributes traffic across backend servers, including algorithms, health checks, sticky sessions, and tradeoffs.

Read lesson →

Lesson · System Design · Beginner

Message Queues Explained

Learn how message queues work in backend systems, including producers, consumers, retries, dead-letter queues, ordering, and idempotency.

Read lesson →

Lesson · Authentication · Beginner

OAuth 2.0 vs OpenID Connect

Compare OAuth 2.0 and OpenID Connect for backend developers, including authorization, login, ID tokens, access tokens, scopes, and common mistakes.

Read lesson →

Lesson · API Design · Intermediate

Retry Patterns Explained

Learn safe backend retry patterns, including exponential backoff, jitter, retry budgets, idempotency, and when not to retry.

Read lesson →

Lesson · API Design · Advanced

Webhooks Explained

Learn how webhooks work in backend systems, including event delivery, signatures, retries, idempotency, and common design mistakes.

Read lesson →

Lesson · API Design · Beginner

API Versioning Explained

Learn practical API versioning strategies, including URL versions, header versions, backward compatibility, deprecation, and migration plans.

Read lesson →

Lesson · Java Collections · Beginner

Binary Search Explained

Learn how binary search works, when it applies, common off-by-one mistakes, and how to implement iterative binary search in Java.

Read lesson →

Lesson · Production Database Engineering · Beginner

Database Indexes Explained

Learn how database indexes work, why they speed up reads, when they slow down writes, and how backend developers should choose indexes.

Read lesson →

Lesson · Production Database Engineering · Beginner

Optimistic Locking Explained

Learn how optimistic locking prevents lost updates in backend systems using version columns, compare-and-swap updates, and 409 conflicts.

Read lesson →

Lesson · Java Collections · Intermediate

Top K Elements Explained

Learn common ways to solve top K elements problems with sorting, heaps, and Java PriorityQueue, including complexity tradeoffs.

Read lesson →

Lesson · Authentication · Beginner

Access Token vs Refresh Token

Compare access tokens and refresh tokens in backend authentication, including lifetime, storage, rotation, revocation, and security tradeoffs.

Read lesson →

Lesson · Java Collections · Beginner

ConcurrentHashMap Explained

A practical explanation of ConcurrentHashMap in Java, including thread safety, atomic methods, iteration behavior, and common mistakes.

Read lesson →