elixir-otp
Installation
SKILL.md
OTP Patterns
Expert guidance for process design, supervision, and concurrency in Elixir/OTP.
The Golden Rule
Database is the source of truth for domain entities. Processes are for infrastructure.
Don't reach for a GenServer to hold domain state (users, orders, tasks). Use PostgreSQL. Use processes for:
- Connection pools
- Caches (ETS)
- Rate limiters
- PubSub / event buses
- Background workers
- Real-time session state