Tag

#phoenix

10 articles

← All articles
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 read Β· TomΓ‘Ε‘ Korcak (korczis)
liveview phoenix pubsub +2
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 read Β· TomΓ‘Ε‘ Korcak (korczis)
liveview streams performance +2
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 read Β· TomΓ‘Ε‘ Korcak (korczis)
pubsub phoenix liveview +2
Architecture

Phoenix PubSub at Scale: Real-Time Event Architecture

Phoenix PubSub powers real-time features across the Prismatic Platform, from DD pipeline events to error pattern tracking. This article covers topic design, subscriber patterns, and handling backpressure at scale.

Mar 13, 2026 Β· 10 min read Β· Prismatic Engineering
pubsub phoenix events +2
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 read Β· Tomas Korcak (korczis)
openapi swagger phoenix +2
Engineering

LiveView Performance: Sub-250ms Page Loads

Achieving sub-250ms page loads in Phoenix LiveView requires careful attention to mount optimization, ETS caching, and error handling. This article shares the patterns we use across 30+ LiveView pages in production.

Mar 11, 2026 Β· 9 min read Β· Prismatic Engineering
liveview phoenix performance +2
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 read Β· Tomas Korcak (korczis)
api-security rate-limiting phoenix +2
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 read Β· Tomas Korcak (korczis)
liveview phoenix performance +3
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 read Β· Tomas Korcak (korczis)
authentication authorization casbin +2
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 read Β· Tomas Korcak (korczis)
phoenix pubsub real-time +2