Library · 77 lessons

Find the exact backend lesson you need.

Filter the curriculum without losing the original stable article URLs.

77 lessons

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 · 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 · Advanced

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 · Intermediate

Background Jobs Explained

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

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 · 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 · 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 · Intermediate

Message Queues Explained

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

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 · 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 · Java Collections · Intermediate

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 · 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 · Algorithms · Intermediate

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 · System Design · 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 · Advanced

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 →