Debugging and Optimizing an Elixir API: From Redis Cache to a Regex.replace Performance Bug
This article recounts how a Tubi engineering team diagnosed a surprising latency increase after adding Redis cache to an Elixir manifest‑fetch API, identified a hidden CPU‑heavy Regex.replace/4 bug, applied targeted optimizations, and contributed a fix to the Elixir core.
