Ordermatic Infrastructure & Observability
Interactive architecture map for how Ordermatic is deployed, controlled, and observed.
Artifacts
Section titled βArtifactsβ| File | Purpose |
|---|---|
| ordermatic-infrastructure-observability.architecture.html | Interactive, pan/zoom viewer with guided views |
| ordermatic-infrastructure-observability.architecture.json | Archify source of truth (validated, versioned) |
| ordermatic-infrastructure-observability.architecture.png | Static preview for docs / READMEs |

Components
Section titled βComponentsβ- Developers push code to GitHub Actions.
- GitHub Actions trigger Cloud Build for image builds and deploys.
- Cloud Build pushes Docker images to Artifact Registry and deploys to Cloud Run & GCE.
- Cloud Run & GCE run the webapp and workers.
- Neon is the app-layer Postgres database.
- Upstash is the Redis cache and rate-limiting service.
- Cloudflare hosts Workers and R2 for edge compute and object storage.
- Infisical + Flagsmith supply secrets and feature flags.
- Observability aggregates OpenTelemetry / Pino telemetry into Better Stack, Langfuse, and PostHog.
Guided views
Section titled βGuided viewsβ- Deployment flow β from push to built images and deployed compute.
- App runtime β compute reads Neon Postgres, Upstash Redis, and Cloudflare R2 / Workers.
- Data services β Neon for app-layer Postgres, Upstash for cache and rate limiting.
- Control plane β Infisical secrets, Flagsmith feature flags, and CI gates.
- Observability β OpenTelemetry, Pino, Better Stack, Langfuse, and PostHog.
Workflow
Section titled βWorkflowβThe Archify source is the canonical map. To update it:
node /path/to/archify/bin/archify.mjs validate architecture \ apps/docs/public/diagrams/ordermatic-infrastructure-observability.architecture.json \ --quality showcase
node /path/to/archify/bin/archify.mjs deliver architecture \ apps/docs/public/diagrams/ordermatic-infrastructure-observability.architecture.json \ apps/docs/public/diagrams/ordermatic-infrastructure-observability.architecture.html \ --quality showcase
node /path/to/archify/bin/archify.mjs visual-check \ apps/docs/public/diagrams/ordermatic-infrastructure-observability.architecture.htmlThen commit both the .json source and regenerated .html / .png.