Phase 9Days 41-45

Production Go Services

Architecture, Redis, background work, gRPC, observability, and reliability

Phase Goal

Design services that remain understandable under load, failure, and team growth.

Progress

Day 41: Service Architecture & Dependency Wiring

Day 42: Redis, Caching & Distributed Coordination

Day 43: Background Jobs & Reliable Events

Day 44: gRPC, Metrics, Traces & SLOs

Day 45: Mini Project — Watershed Telemetry Pipeline

Capstone
Watershed Telemetry Pipeline

Ingest field-station readings, deduplicate retransmissions, update latest-value views, and emit threshold alerts that survive worker restarts and Redis outages.

  • Sustained ingest target with bounded queue growth
  • Duplicate readings never create duplicate alerts
  • SLO dashboard and dependency-failure runbook

Phase Complete!

After this phase, you'll be able to:

  • cmd/internal server layout
  • Transport, service, repository, and domain boundaries
  • Explicit constructor injection
  • Configuration validation and startup failure
  • Cache-aside, TTL, invalidation, and stampedes
  • Rate limiting and atomic Redis operations
  • Distributed locks and when not to use them
  • Failure policy when Redis is unavailable

You can apply Phase 9 skills in a finished, explainable Go project.