Home / Companies / Mux / Blog / Post Details
Content Deep Dive

Real-time dashboards powered by Elixir

Blog post from Mux

Post Details
Company
Mux
Date Published
Author
Jacqui Manzi
Word Count
2,260
Company Posts That Month
5
Language
English
Hacker News Points
-
Post removed?
No
Summary

The text discusses how Elixir and its web framework Phoenix were used to manage large real-time data sets across many channel topics for a real-time analytics product. It highlights the use of Erlang's OTP (Open Telecom Platform) and Phoenix's Channel / Presence features, which are designed for fault tolerant, concurrent systems. The text also covers how WebSockets were used to communicate between server and client, how dynamic supervision was implemented with Elixir's DynamicSupervisor feature, and how GenServer processes were used for information polling. Furthermore, it explains how process crashes were isolated, how subscription duplication across nodes was prevented using globally registered processes and process monitors, and how socket subscription state was kept server-side with Presence. The text concludes by discussing some technical considerations such as the eventually consistency of Presence, potential race conditions, zombie processes, soft real time, and resource management.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 25 370 126 47 +1%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.