knaxuslearn · build · ship

Roadmaps / Go

Programming Languages · 16 study weeks · 4 phases

Go Roadmap Beta

Go looks simple until a service melts under real traffic. A goroutine that never exits, a missing timeout or a retry storm will not show up in a code review, and it will show up in production. These 16 study weeks teach what the runtime, the scheduler and the garbage collector do under load, and how to build, operate and ship a Go service. You build one service, hookd, a webhook delivery service, 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 explain, with measurements, why a Go service leaks, stalls or drops work, 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 language, goroutines and bounded concurrency

    This phase makes the first checkpoint possible: a delivery core that never runs away, stops when told and shows when it leaks.

    • 4 repos
    • Milestone checkpoint
    1. Study week 1Types, interfaces and generics8 h
    2. Study week 2Goroutines and channels8 h
    3. Study week 3The scheduler and what blocks it8 h
    4. Study week 4The race detector8 h
  2. Phase 2 · Study weeks 5-8

    A durable service

    This phase makes the second checkpoint possible: a service that stores events, survives a kill and shuts down cleanly.

    • 3 repos
    • Milestone checkpoint
    1. Study week 5net/http servers, handlers and timeouts8 h
    2. Study week 6pgx and pooling8 h
    3. Study week 7Retries, backoff and jitter8 h
    4. Study week 8Graceful shutdown8 h
  3. Phase 3 · Study weeks 9-12

    Operating the service

    This phase makes the third checkpoint possible: a service you can see into, load test and break on purpose.

    • 3 repos
    • Milestone checkpoint
    1. Study week 9OpenTelemetry traces and context propagation8 h
    2. Study week 10Load testing8 h
    3. Study week 11Failure drills: a hanging endpoint, a slow database, a full disk8 h
    4. Study week 12Deterministic tests with testing/synctest8 h
  4. Phase 4 · Study weeks 13-16

    Quality, supply chain and shipping

    This phase makes the last checkpoint possible: a service you can build the same way every time, defend and upgrade.

    • 4 repos
    • Milestone checkpoint
    1. Study week 13go vet, golangci-lint and custom rules8 h
    2. Study week 14Modules and go.sum8 h
    3. Study week 15goreleaser8 h
    4. Study week 16Go versions and the upgrade policy8 h

Also in this roadmap