knaxuslearn · build · ship

Roadmaps / Java

Programming Languages · 16 study weeks · 4 phases

Java Roadmap Beta

A Java service can pass every test and still stall at 2 a.m., because the cause sits below your code: a pinned thread, a GC pause, a full connection pool. These 16 study weeks teach the JVM, the service around it and the way to run it. You build one service, orders-service, on Spring Boot with Postgres and Kafka, and every phase adds a checkpoint to it. At 8 hours a week the core path is 128 hours and takes 16 weeks. At 12 hours a week it takes about 11 weeks, and at 16 hours a week about 8 weeks. At the end you can say, with measurements, why a Java service is slow, leaking or failing, and you can fix it.

This roadmap is in beta and keeps improving over time. If you spot an error, please email your suggestions and corrections to [email protected].

Read first

  1. Phase 1 · Study weeks 1-4

    The JVM, threads, memory and measurement

    This phase makes the first checkpoint possible: a service you have measured, with a leak and a stall found from evidence.

    • 4 repos
    • Milestone checkpoint
    1. Study week 1Records, sealed types and pattern matching8 h
    2. Study week 2Heap layout and object headers8 h
    3. Study week 3Tiered compilation, inlining and deoptimisation8 h
    4. Study week 4Java Flight Recorder8 h
  2. Phase 2 · Study weeks 5-8

    Service design, data and events

    This phase makes the second checkpoint possible: a service whose modules are separate, whose database changes are safe and whose events are never lost.

    • 5 repos
    • Milestone checkpoint
    1. Study week 5Spring Boot 4 and Spring Framework 78 h
    2. Study week 6Transactions and isolation8 h
    3. Study week 7The outbox pattern8 h
    4. Study week 8Timeouts, retries and circuit breakers8 h
  3. Phase 3 · Study weeks 9-12

    Operating the service

    This phase makes the third checkpoint possible: a service that runs in Kubernetes, shows what it is doing and sheds load before it falls over.

    • 3 repos
    • Milestone checkpoint
    1. Study week 9Containers and the JVM8 h
    2. Study week 10Micrometer metrics and histograms8 h
    3. Study week 11Load testing with k68 h
    4. Study week 12Overload and load shedding8 h
  4. Phase 4 · Study weeks 13-16

    Change, supply chain and shipping

    This phase makes the last checkpoint possible: a service you can upgrade, defend and hand to another team.

    • 5 repos
    • Milestone checkpoint
    1. Study week 13Architecture rules as tests with ArchUnit8 h
    2. Study week 14Moving between JDK versions8 h
    3. Study week 15Dependency policy and lockfiles8 h
    4. Study week 16The runbook8 h

Also in this roadmap