Deployment Topology
:::info Source
Sourced from services/enrollment-service/DEPLOYMENT_TOPOLOGY.md in the documentation repo.
:::
1. Containers
enrollment-apienrollment-worker(outbox relay, expiration scheduler, bulk-create)enrollment-saga-participant(optional subcomponent)
2. Scaling
| Container | Min | Max | HPA |
|---|---|---|---|
| api | 3 | 15 | CPU>60% |
| worker | 2 | 8 | queue > 100 |
3. Resources
api: 500m/2000m, 512Mi/1Gi. worker: 500m/2000m, 512Mi/2Gi.
4. Caching
Redis: learner's active-enrollments cache 5 min.
5. CDN
None (authenticated).
6. Regional
Per region; enrollments pinned to tenant homeRegion.
7. Service Mesh
mTLS. Egress: content, progress, notification, analytics, certification.
8. Release
Blue/green. Migrations fwd+back.
9. DR
RPO 5 min. Enrollments rebuildable from purchase saga + assignment events.