Home / Companies / SingleStore / Blog / Post Details
Content Deep Dive

How We Made Jupyter Notebooks Load 10 Times Faster

Blog post from SingleStore

Post Details
Company
Date Published
Author
Luis Neves, Tito Griné
Word Count
2,949
Company Posts That Month
7
Language
English
Hacker News Points
159
Post removed?
No
Summary

Our Notebooks integration started as an experimental project but quickly became a central piece of our Portal experience, with complaints about slow load times coming from users outside the US. To improve this, we added a loading bar, served the extension UI separately from the Jupyter server, decoupled the two and had them load in parallel, mocked static requests to reduce round trips to the backend, pre-rendered the iframe when logging into Helios to serve the necessary files before opening a notebook, and achieved significant improvements in load times. With these optimizations, our P90 for "time to interactive" decreased from around 30 seconds to less than four seconds, an 87% improvement, and we're considering further optimizations such as reducing JupyterLab's file size and building a proxy to deploy in multiple regions.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.