TLDR Web Dev · MISCELLANEOUS

INVESTIGATION OF A WORKBENCH UI LATENCY ISSUE

netflixtechblog.com12 min read

Summary from the TLDR Web Dev newsletter

Netflix engineers investigated a latency issue affecting JupyterLab UI on their Workbench platform. They started with identifying the "bad" notebook and ruling out potential culprits like the pystan library and network issues. The root cause was traced to the jupyter_resource_usage extension, which was causing CPU contention by recursively querying all child processes, resulting in excessive memory usage and slow parsing of a file.