The blog

Notes from the Phoenix landscape.

Tips, tricks & guides on building with Phoenix and Elixir.

Metering API Usage in Phoenix in Real Time with ETS
Phoenix

Metering API Usage in Phoenix in Real Time with ETS

Real-time Phoenix usage metering without touching the database on every request: atomic ETS counters, a flusher to Postgres, PubSub fan-out to LiveView, and cluster-wide totals.

By Liam Killingback

Plan-Based Feature Gating and Entitlements in Phoenix
Phoenix

Plan-Based Feature Gating and Entitlements in Phoenix

Phoenix feature gating and entitlements from one compile-time plan definition: hard caps that hold under concurrency, metered overage, feature flags, and status-aware downgrades.

By Liam Killingback