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
# ❌ Bad: GenServer for domain entity
defmodule MyApp.TaskServer do
Related skills
Installs
8
First Seen
Feb 18, 2026