Project Structure
Five-layer service layout, dependency direction, and ownership.
HTTP & Middleware
Typed handlers, route declarations, middleware order, timeouts, streams, and shutdown.
REST APIs
Resources, response contracts, errors, paging, OpenAPI, and idempotency.
AuthN & AuthZ
Authentication, workload identity, OpenFGA relationships, authorization boundaries, and delegation.
Database Patterns
Service-owned data, repositories, parameterized queries, paging, and escape hatches.
DSL vs sqlc
Choose the smallest persistence tool that keeps queries explicit and transaction aware.
Schema Migrations
Embedded migrations, ownership modes, compatibility, backfills, and rollback planning.
Transactions
Context-propagated transactions, retries, locks, and atomic event publication.
Elasticsearch
Search adapters, mappings, index lifecycle, projections, queries, and verification.
RabbitMQ & Events
Typed topics, delivery semantics, consumer groups, retries, dead letters, and idempotency.
Workers & Cron
Supervision, cancellation, leases, singleton work, retries, and Kubernetes scheduling.
Distributed Systems
Timeouts, retries, idempotency, consistency, partial failure, and resilience budgets.
Observability
Logs, metrics, traces, health, audit, SLOs, and asynchronous work.
Containers & Kubernetes
Reproducible images, pod lifecycle, probes, resources, secrets, and shared Helm deployment.
CI/CD
Reproducible checks, artifacts, security evidence, GitOps promotion, and rollback.