Thinking Elixir 306: Don't Exhaust Your Atoms

Designing Data Flow in an Elixir Trading System

Five distinct data flows through a GenServer-based system — inbound ticks, outbound orders, Postgres persistence, periodic reconciliation, and portfolio aggregation — each with its own provenance, latency budget, and rule for what state is worth keeping.

https://seriousalchemy.com/elixir-trading-system-data-flow