Data and consistency
Start here for transactions, CAP tradeoffs, isolation, replicas, sharding, and eventual consistency.
Knowledge map
Explore by domain and module when you need context, then enter a guided path when you are ready to study in sequence.
9 modules
Design reliable backend systems through data, traffic, async work, and failure trade-offs.
Start here for transactions, CAP tradeoffs, isolation, replicas, sharding, and eventual consistency.
Diagnose query explosions, tune concurrency and pools, and prepare replicas, migrations, backups, and recovery.
Diagnose and safely remediate slow database workloads through plans, statistics, indexes, MVCC, locking, partitioning, compatible schema changes, and evidence-driven recovery.
Learn how production systems handle failures, retries, duplicate work, lock contention, overload, and recovery.
Follow one failure chain from durable event publication through delivery guarantees, duplicate-safe consumers, dead-letter recovery, and Saga compensation.
Follow one production incident from user-impact detection through metrics, logs, traces, telemetry pipelines, SLO alerting, mitigation, and verified recovery.
Design deadlines, resource isolation, bounded work, admission control, degradation, health checks, and evidence-driven incident response for overloaded production systems.
Study how requests reach backend services and how public API contracts stay stable over time.
Complete the course with focused guides that extend the core sequence.
3 modules
Build production Spring services across request, transaction, data, security, operations, testing, and recovery boundaries.
Follow one order request from production architecture through a thin controller, bounded request validation, and stable failure contracts.
Keep local transactions explicit, diagnose the SQL that JPA actually produces, and operate typed configuration without confusing profiles with secrets.
Deny access by default, expose bounded operational evidence, prove production-sensitive behavior against PostgreSQL, and recover from incidents deliberately.
5 modules
Design message-driven systems across contracts, publication, consumption, ordering, recovery, and production operations.
Choose asynchronous boundaries, then connect Kafka partitions, consumer groups, ordering, and delivery semantics to business outcomes.
Define stable envelopes and schemas, evolve them compatibly, and publish durable business facts through an operated outbox.
Make consumer effects duplicate-safe, configure bounded Spring Kafka recovery, and converge when records arrive late or more than once.
Coordinate long-running work and troubleshoot real event flows from durable intent through consumer state and user recovery.
Run deterministic crash, retry, acknowledgement, and idempotency scenarios, then connect each timeline to production evidence and recovery ownership.
6 modules
Master shared-state correctness, task execution, cancellation, virtual threads, finite capacity, and production concurrency evidence.
Build one model for task ownership, visibility, atomicity, locking, concurrent collections, and business invariants.
Own executor admission, compose asynchronous results, propagate deadlines, and distinguish cancellation requests from stopped effects.
Use Java 21 virtual threads deliberately, then isolate Java 25 Scoped Values and JDK 26 preview Structured Concurrency.
Protect finite resources through bulkheads, backpressure, admission, and evidence-driven JVM and downstream troubleshooting.
Move from user impact through GC, managed and native memory, thread, JIT, container, and capacity evidence before changing runtime policy.
Run six deterministic queue, virtual-thread, capacity, deadline, and cancellation scenarios without creating real load.
5 modules
Ship and operate backend services through immutable artifacts, Kubernetes workload boundaries, capacity, safe rollout, and verified recovery.
Trace reviewed source into an immutable OCI artifact, registry, runtime bundle, and least-privileged Java process.
Connect controllers, Services, configuration, identity, probes, traffic eligibility, and graceful application termination.
Budget JVM and dependency resources, distribute failure domains, and scale from signals without inventing capacity.
Coordinate mixed-version rollout, collect safe evidence, mitigate reversibly, and verify customer and durable-state recovery.
Run six deterministic readiness, surge, termination, stall, and capacity scenarios without contacting a cluster.
5 modules
Operate Spring services through trustworthy telemetry, bounded signals, SLO alerting, incident command, and verified recovery.
Define trustworthy telemetry identity, quality, and Spring instrumentation before building operational views.
Use bounded logs, metrics, traces, JVM recordings, GC, thread, and JIT evidence according to each signal's boundary.
Operate the telemetry chain, define user-centered objectives, and route actionable alerts to owned runbooks.
Coordinate response, communicate facts, learn without blame, and verify recovery with independent evidence.
Compare modeled user impact with observed evidence, SLO burn, alert windows, telemetry gaps, and recovery.
6 modules
Operate PostgreSQL 18 and MySQL 8.4 InnoDB through transactions, concurrency, capacity, change, recovery, and incident evidence.
Locate durable order state across storage engines, MVCC, logs, and local transaction outcomes.
Protect order invariants with explicit isolation, deadlock, and optimistic-conflict decisions.
Connect indexes, plans, statistics, transactions, and finite connection ownership.
Ship compatible change, reason about replicas and failover, and prove recoverability through restore evidence.
Measure before sharding, preserve safe engine evidence, mitigate reversibly, and verify business recovery.
Model pool saturation, lock waits, retry amplification, replica lag, and failover ambiguity without contacting a database.
6 modules
Choose Java collections by access pattern, correctness constraints, and performance behavior.
Start with HashMap behavior, TreeMap ordering, legacy Hashtable differences, load factor tuning, and concurrent map choices.
Understand equals, hashCode, key mutability, collision handling, and why hash-based collections behave the way they do.
Compare hash-based uniqueness with sorted set behavior, range navigation, comparator rules, and membership checks.
Compare ArrayList and LinkedList through access patterns, insertion cost, memory overhead, and backend usage.
Choose between FIFO queues, double-ended queues, heap-backed priority queues, and algorithmic top-K patterns.
Use Big-O as a practical language for collection choices, hot paths, memory overhead, and code reviews.
7 modules
Build clear API contracts that remain predictable through errors, retries, and change.
Choose API style, review REST contracts, document schemas, evolve versions, and understand where an API gateway and browser preflight behavior fit.
Design status codes, stable error shapes, request IDs, and client-friendly failure behavior.
Understand cache headers, choose Cache-Control policies, validate with ETags, operate through CDNs, and keep private responses out of shared caches.
Protect APIs with authentication choices, cookies vs tokens, API keys, OAuth scopes, service credentials, gateways, and clear auth failures.
Make API retries safer with idempotency, abuse prevention, rate limits, backoff, and predictable response contracts.
Handle paginated data, pagination metadata, webhook delivery, JSON contracts, schemas, and payload inspection.
Connect API design decisions to a concrete Spring Boot controller implementation.
4 modules
Understand identity, tokens, sessions, OAuth, and browser security boundaries.
Compare identity, credentials, permissions, sessions, JWTs, OAuth, OpenID Connect, and login tradeoffs.
Understand access tokens, refresh tokens, API keys, JWT claims, expiration, rotation, and local inspection.
Connect CORS, cookies, bearer tokens, CSRF, XSS, storage choices, session fixation, and safe browser authentication design.
Design permission checks, least privilege, authentication failures, gateway checks, OAuth resource servers, API keys, and clear API responses.
5 modules
Protect APIs, credentials, sessions, integrations, and operational trust boundaries.
Separate identity, permissions, login state, delegated authorization, and protected resource checks.
Understand token claims, expiration, refresh behavior, local inspection, timestamps, and revocation tradeoffs.
Connect origins, credentials, cookie behavior, cookie hardening, preflight requests, CSRF, XSS, URL encoding, and browser-backed API calls.
Use security event logs, audit logs, secret handling, service accounts, least privilege, and safe evidence trails to operate production systems.
Design gateway checks, rate limits, 401 and 403 responses, safe error messages, and useful debugging signals.
7 modules
Build practical complexity judgment for search, arrays, heaps, and backend code reviews.
Learn the growth curves behind common algorithms and use Big-O as a practical code review language.
Study windows, pointers, prefix sums, monotonic stacks, and interval frontiers for array and range problems.
Understand binary search, sorted input requirements, logarithmic growth, and lookup tradeoffs.
Use heap-backed priority queues for ranking, scheduling, streaming medians, k-way merge, and top K.
Choose BFS or DFS for reachability, shortest unweighted paths, components, cycles, and dependency-style traversals.
Use Bloom filters and hashing to avoid expensive negative lookups while keeping correctness in an exact source of truth.
Connect algorithm complexity to everyday backend collection choices, maps, lists, queues, and sets.