Architecture
Architecture deep dive
AtGlance has three layers: CLI, Rest API API Gateway, and Management Console (Application + Cache + Database).
Resilience: DB outage flow
- Web/API request arrives at Application.
DatabaseCircuitBreakermiddleware detects DB unhealthy.- Writes are encoded as queued jobs and pushed to Cache Buffer.
- Reads fall back to cache where safe.
- Database recovers → queue workers replay jobs idempotently → state converges.
RBAC roles
- superadmin: tenancy, billing, integrations
- admin: organization-level systems, users, configs
- user: assigned workspaces only