title: Atlas — Distributed Infrastructure Engine date: 2025-01-01 summary: Models infrastructure as a graph, replicates state through a from-scratch Raft layer, injects failures and correlates them into incidents. tag: ENGINEERING
Atlas — Distributed Infrastructure Engine
Atlas discovers and models infrastructure as a graph, schedules workloads, replicates state through a from-scratch Raft layer, injects controlled failures, correlates them into incidents and produces advisory AI analysis — running entirely over an in-memory event bus on a single machine.
The problem
Most distributed systems are consumed as managed black boxes — the mechanics and the failure modes stay hidden until something breaks in production. Infrastructure understanding is scattered across separate tools that never talk to each other.
The approach
Infrastructure modelled as a graph with BFS, DFS, Dijkstra and A* pathfinding. A from-scratch Raft consensus layer with leader election, log replication, heartbeats and snapshots. Consistent hashing with virtual nodes. Chaos engineering primitives wired into an event bus. Advisory AI that is read-only and requires explicit approval before any action.
Results
- Everything implemented from scratch — no external DB or broker
- Raft consensus with full election and replication
- 16 algorithm workloads benchmarked
- 5 chaos primitives