Avoiding Cachepocalypse in the Land of the Monolith

Wednesday, March 22, 2023 - 4:00 pm4:20 pm

David Amin, Duolingo

Abstract: 

Like many companies who switched to a microservice architecture, Duolingo runs a legacy monolith that is both business critical and not entirely owned by any one team. This monolith hit a scaling limit by exhausting memcached connections, but strangely only on a single node of the cluster. What followed was a debugging journey that spanned Python and C, took down production for an hour, and required binary arithmetic to solve. The talk will suggest strategies for mitigating unclear ownership of legacy systems, creating a fast and safe feedback loop for debugging in difficult circumstances, and coordinating a multi-team response to issues that threaten business continuity.

David Amin, Duolingo

David is an SRE on the Observability team at Duolingo, working on measuring what matters to millions of learners. He is based in New York and has previously worked in web hosting, fintech, and defense.

Open Access Media

USENIX is committed to Open Access to the research presented at our events. Papers and proceedings are freely available to everyone once the event begins. Any video, audio, and/or slides that are posted after the event are also free and open to everyone. Support USENIX and our commitment to Open Access.

BibTeX
@conference {286220,
author = {David Amin},
title = {Avoiding Cachepocalypse in the Land of the Monolith},
year = {2023},
address = {Santa Clara, CA},
publisher = {USENIX Association},
month = mar
}

Presentation Video