JupyterCon 2023

Autoreload in Production at Meta
05-10, 11:30–12:00 (Europe/Paris), Louis Armand 1

An underappreciated aspect of Jupyter and IPython experiences in general is their ability to autoreload Python modules during running sessions via the autoreload extension. At Meta, we began leveraging this functionality to power interactive test sessions that allow software engineers to quickly iterate on their projects without waiting for slow restart times.

However, the base autoreload algorithm suffers from a number of reliability issues and can easily crash, thereby necessitating a costly restart. In this presentation, we’ll describe references reload, which is our new and improved autoreload algorithm with a number of benefits over the basic autoreload functionality. We’ll show how we use references reload in production to save developers hours of time, and we’ll close with a concrete use case for development on top of Bento server, which is Meta’s internal version of the Jupyter notebook server.

Stephen Macke is an engineer at Meta working on notebook technologies. He completed his PhD at the University of Illinois, Urbana-Champaign in 2020, and has been obsessing about reactivity and state management in notebooks for way too long.

This speaker also appears in: