Scheduling Service — Deployment Topology
Status: populated
Owner: TBD
Last updated: 2026-04-17
Companion: Service Template
1. Runtime
| Property | Value |
|---|
| Runtime | Node.js 22 / NestJS 11 |
| Language | TypeScript 5.x |
| Package | @ghasi/service-scheduling |
| Default port | 3011 |
2. Replicas and Scaling
| Environment | Min | Max | Trigger |
|---|
| Development | 1 | 1 | — |
| Staging | 2 | 4 | CPU > 60% |
| Production | 3 | 8 | CPU > 60% or RPS > 400 |
3. Dependencies
| Dependency | Required |
|---|
| PostgreSQL 16 | Yes |
| NATS JetStream | Yes |
| Keycloak (JWKS) | Yes |
| Redis (reminder queue) | Soft (reminder feature) |
| registration-service (patient events) | Soft (event consumer) |
| provider-directory-service | Soft (provider lookup) |
4. Deployment Diagram