Running hosted Jupyter notebooks for many users exposes limits that the original design never faced. Quadrillion, maker of the Qualia notebook, has laid out how it re-engineered the stack so a 300 MB notebook with 400 cells opens and edits as smoothly as a tiny one, all while remaining an ordinary .ipynb file.
Where the single-machine model fails
The notebook grew out of IPython, which Fernando Pรฉrez began in 2001. Its core assumption was one user, one computer, one kernel and one file. Yet GitHub counted 2.4 million repositories containing notebooks in 2025, and users expect browser access, team sharing, GPU runs and agent integration.
Quadrillion’s first cloud attempt behaved like a classic Jupyter server. Each workspace was tied to a single process holding its notebooks in RAM. Busy workspaces were capped at one machine, deployments needed fragile handoffs, and a crash wiped whatever sat in memory. The company dismisses that as unworkable.
Teamwork adds pressure. Several people may edit simultaneously, and agents keep running code after the tab that launched them is gone. Changes land on different servers, which have to converge on one version.
Servers that can be swapped
The fix is that any server can serve any request. Qualia calls these servers nodes, and none keeps essential state. Requests for a workspace usually return to the same node to benefit from a warm cache, but a different node can step in on the next call. Shared durable storage is the source of truth.
That rules out loading entire notebooks per request. A node reads just the bytes a request needs, so cost follows what is touched, not total size. Quadrillion benchmarks with a million cells, well above real usage.
Why the file stays
Other projects dropped .ipynb. The marimo and Pluto notebooks re-execute dependent cells to avoid stale hidden state. Several hosted services hide storage, with one keeping each notebook as rows spread over multiple Postgres tables.
Qualia keeps files deliberately. Its basic unit is the workspace, a folder holding notebooks next to everything else, either on a desktop or on a distributed file system mounted in the sandbox that runs code. Agents already handle grep and sed well, and people find files easier to reason about. A git pull, a script or a different editor can change a notebook without Qualia knowing.
Building an index
Outputs take up most of the space. Plots are saved as base64-encoded PNGs of up to tens of megabytes, which leaves code and markdown as a thin sliver of a 300 MB file. Pulling outputs into separate storage would help, but Jupyter’s own documentation describes a notebook as a self-contained record, and Quadrillion wants one file to travel intact.
Normal parsing is slow. In Quadrillion’s tests, Jupyter’s nbformat reached about 16 MB/s. A 1 GB notebook then needs over a minute before the browser sees data, and sending 300 MB over a 100 Mbit/s link adds 24 seconds. JSON carries no index, so ijson-style streaming parsers, which manage only 50 to 100 MB/s, don’t report byte offsets.
The team leans on the fact that most notebooks it reads came from Qualia and follow Jupyter’s standard layout. In that layout, a newline followed by two spaces and a brace appears only where a cell begins, so a file can be split and scanned in parallel. Base64 never contains quotes or backslashes, so passing over a 20 MB plot reduces to finding the next quote, a job SIMD instructions do at gigabytes per second.
The result is FastNB, a Rust scanner. It checks JSON grammar, UTF-8 and the notebook schema but never creates Python objects. Tested on an M4 Pro, it covers about 900 MB/s on a single thread and 4.5 GB/s on eight. Python’s json.loads handles about 170 MB/s while building a tree that is then thrown away.
What’s still to prove
Agents write longer outputs and produce bigger notebooks, so this design targets that trend. The real test is whether huge notebooks remain responsive when many people and agents share one workspace.
Source: Quadrillion