Elixir Mentor

Mark Cotner on Scaling Telecom


Listen Later

Mark Cotner is a DBA managing around a thousand databases by day and a telecom CTO by night — building hospitality cable networks for RV parks, nursing homes, and apartment complexes at 100% annual growth. In this episode, he walks through the infrastructure, the business, and the two-year project that just landed on Hex: Timeless, an embedded observability suite for Elixir built on Rust NIFs, hitting 3 million metric inserts per second with 14:1 compression.

We get into what a hospitality network actually looks like — branded cable hardware, DOCSIS provisioning, and mesh Wi-Fi across dispersed sites — and how Mark's team handles monitoring across thousands of cable modems using a full Elixir stack (DHCP, TFTP, NTP, and Ash). He also shares how a frustrating Ansible setup led him to build something he thought should exist: a lightweight, embeddable observability backend that drops into a Phoenix app in under five minutes via Igniter, with less than 5% CPU overhead.

The technical core of the conversation covers the Timeless architecture in depth — PCO compression for metrics, OpenZL for logs and traces, 15 rounds of iteration before landing on a single consolidated Rust NIF, and why the Elixir-to-Rust translation layer ended up being the real bottleneck. Mark also talks benchmarking against Victoria Metrics on a 192-core AWS ARM instance, the custom C web server (Rocket) he built to cut HTTP latency 30x below Bandit, and how supervision trees let him pack an entire DOCSIS provisioning stack into one Elixir app without worrying about cascading failures.

Whether you're curious about Elixir in telecom, Rust NIF development, time series database internals, or just want to hear what 30 years of observability experience looks like applied to the BEAM, this one is packed.

Resources Mentioned:
- Timeless on Hex: https://hex.pm/packages/timeless_phoenix

Connect with Mark:
- X/Twitter: https://x.com/awksedgreep

SUPPORT ELIXIR MENTOR
- Elixir Mentor: https://elixirmentor.com

Sponsored by BEAMOps — scalable Elixir deployments and infrastructure migrations, authors of Engineering Elixir Applications: https://beamops.co.uk
Elixir AI Collective Discord — your community for coding Elixir with AI: https://agentjido.xyz/discord

...more
View all episodesView all episodes
Download on the App Store

Elixir MentorBy Jacob Luetzow

  • 5
  • 5
  • 5
  • 5
  • 5

5

4 ratings


More shows like Elixir Mentor

View all
The Knowledge Project by Shane Parrish

The Knowledge Project

2,677 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

288 Listeners

Startups For the Rest of Us by Rob Walling

Startups For the Rest of Us

701 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

629 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

986 Listeners

REWORK by 37signals

REWORK

212 Listeners

CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

CoRecursive: Coding Stories

190 Listeners

Practical AI by Practical AI LLC

Practical AI

209 Listeners

Elixir Wizards by SmartLogic LLC

Elixir Wizards

22 Listeners

Thinking Elixir Podcast by ThinkingElixir.com

Thinking Elixir Podcast

32 Listeners

Huberman Lab by Scicomm Media

Huberman Lab

29,273 Listeners

Beam Radio by Lars Wikman

Beam Radio

11 Listeners

Oxide and Friends by Oxide Computer Company

Oxide and Friends

68 Listeners

The AI Daily Brief: Artificial Intelligence News and Analysis by Nathaniel Whittemore

The AI Daily Brief: Artificial Intelligence News and Analysis

685 Listeners

Limitless: An AI Podcast by Limitless

Limitless: An AI Podcast

78 Listeners