Elixir Mentor artwork

Elixir Mentor · Jacob Luetzow

Mark Cotner on Scaling Telecom

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 - Timeless website): https://timelessmetrics.com 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

Mar 292026
1 h 32 minlength
1,640transcript lines
Publishertranscript source

Transcript first 15 of 1,640 lines

0:00This episode is brought to you by Beam OPS.

0:02If your Elixir deployments are painful, or your infrastructure

0:05is a mess, or you just need experience hands to help you

0:07scale, these are your people. Beam OPS specializes in scalable

0:11Elixir development, automated deployment pipelines, and

0:14infrastructure migrations. They will help you work smarter

0:18and ship faster. As authors of the Pragprog book

0:21Engineering Elixir Applications, they know their stuff.

0:24Check them out at beamops.co.uk. Coding Elixir with AI or

0:30building AI into your Elixir apps?

0:32The Elixir AI Collective Discord is your community for both.

0:36Link in the description below. Testing what's up?

0:45I'm Jacob Litzow, your Elixir mentor and welcome to another

0:48exciting episode of the Elixir Mentor podcast.

0:51This is where we discuss everything related to Elixir,

More Elixir Mentor episodes →