Request Routing and Sticky Sessions in Phoenix on Fly.io
Learn to efficiently route requests to the right server using Fly.io's fly-replay header and sticky sessions with Phoenix.
I'm a Senior Elixir developer with a Psychology background, PragProg Author, Public Speaker and Blogger, and Founder. I'm passionate about Software Architecture, Product Engineering, and sharing knowledge.
Learn to efficiently route requests to the right server using Fly.io's fly-replay header and sticky sessions with Phoenix.
Learn how I discovered that ~r-sigils return Regex structs and how to include regex patterns as valid input in NimbleOptions.
Join the Elixir community on Bluesky. Learn account setup, find peers, and smoothly transition from X. Key steps for efficient migration.
Quick, dependency-free mocking in Elixir tests. Learn how to configure your mock once and use it everywhere. Simple and effective for all test suites.
Explore the Saga pattern in Elixir for managing complex, multi-step processes. Learn about choreography and orchestration approaches, with code examples for implementing long-lived transactions.
A retraction: I changed my mind about Phoenix contexts. Here's how I structure my Elixir code with a simpler, more effective design in the true functional way.
Silence the noisy Phoenix.NotAcceptableError and Plug.CSRFProtection.InvalidCSRFTokenError exceptions in your Phoenix application by implementing the Plug.Exception protocol for them.
Serve your files quickly to users all around the globe with just a small configuration change using Tigris' globally distributed S3-compatible storage solution.
Learn how to upload user-provided images to Cloudflare Images and to resize them into size variants that are optimal for your application.
Learn how to send emails from robust Oban workers so that you'll never miss sending an email again.