High-Level Flow
- SDK calls
POST /v0/jobs. - API validates auth and workload guardrails.
- Job is persisted and queued.
- Fleet controller scales workers on demand.
- Worker executes simulation and uploads artifacts.
- Billing settles to Hardlight ledger.
- Customer downloads artifacts via presigned URLs.
Components
- API control plane
- Worker runtime
- Runtime store (Postgres in production)
- Queue (SQS in production)
- Artifact storage (S3)
- Autoscaling worker fleet (ASG)
- Billing ledger integration
Scaling Behavior
- 10k submitted jobs does not mean 10k EC2 instances.
- Capacity follows queue depth and active workload.
- Workers scale up/down automatically based on demand.