Tag

#phoenix

8 articles

← All tags
engineering

LiveView Hub Patterns: Building Intelligence UI That Survives Contact With Reality

Intelligence workflows demand UI that streams, degrades gracefully, and never deadlocks the BEAM. Here are the LiveView patterns Prismatic uses across /hub — async mounts, PubSub fan-out, and the one rule that prevents 90% of prod crashes.

Apr 09, 2026 ·7 min
engineering

LiveView Streams for Large Datasets: 10k Rows Without the Memory Bill

Phoenix LiveView streams solve a problem most dashboards pretend they don't have: the DOM keeps every row you ever rendered. Here's when to reach for streams, when to reach for pagination, and the memory math behind the decision.

Apr 09, 2026 ·6 min
engineering

Phoenix PubSub Fan-Out Patterns: Topics Are a Contract

PubSub is free — until the fan-out is wrong and one broadcast wakes 10,000 LiveView sockets. Three topic naming rules that keep Prismatic's live dashboards responsive at scale.

Apr 09, 2026 ·6 min
tutorial

OpenAPI 3.0 and Swagger UI Integration in Phoenix

How Prismatic auto-generates OpenAPI 3.0 specs from Elixir typespecs, serves Swagger UI, validates requests, and manages API versioning.

Mar 12, 2026 ·8 min
security

API Security and Rate Limiting: Token Bucket Implementation in Phoenix

Protecting Phoenix APIs with token bucket rate limiting, per-client quotas, DDoS mitigation patterns, and Plug-based middleware for comprehensive API security.

Mar 08, 2026 ·9 min
security

Authentication and Authorization Design: Session Auth and Casbin RBAC in Phoenix

Designing authentication and authorization for a Phoenix application: session-based auth, Casbin RBAC integration, API key management, role hierarchy with admin/operator/viewer, and permission model.

Mar 07, 2026 ·9 min
tutorial

LiveView Performance Patterns for Complex Dashboards

Practical patterns for building high-performance Phoenix LiveView dashboards: defensive mounts, efficient assigns, PubSub-driven updates, and Chart.js integration with sub-150ms mount times.

Mar 07, 2026 ·10 min
engineering

Phoenix PubSub at Scale: Topic Design and Fan-Out Patterns

Deep dive into Phoenix PubSub architecture for real-time event distribution at scale, covering topic design, fan-out patterns, message batching, and production conventions.

Mar 02, 2026 ·10 min