Lune

VLDB2024顶会

ElasticNotebook: Enabling Live Migration for Computational Notebooks

Zhaoheng Li, Pranav Gor, Rahul Prabhu, Hui Yu, Yuzhou Mao, Yongjoo Park

摘要

Computational notebooks (e.g., Jupyter, Google Colab) are widely used for interactive data science and machine learning. In those frameworks, users can start a session , then execute cells (i.e., a set of statements) to create variables, train models, visualize results, etc. Unfortunately, existing notebook systems do not offer live migration: when a notebook launches on a new machine, it loses its state , preventing users from continuing their tasks from where they had left off. This is because, unlike DBMS, the sessions directly rely on underlying kernels (e.g., Python/R interpreters) without an additional data management layer. Existing techniques for preserving states, such as copying all variables or OS-level checkpointing, are unreliable (often fail), inefficient, and platform-dependent. Also, re-running code from scratch can be highly time-consuming.

In this paper, we introduce a new notebook system, Elastic-Notebook, that offers live migration via checkpointing/restoration using a novel mechanism that is reliable, efficient, and platform-independent. Specifically, by observing all cell executions via transparent, lightweight monitoring, ElasticNotebook can find a reliable and efficient way (i.e., replication plan ) for reconstructing the original session state, considering variable-cell dependencies, observed runtime, variable sizes, etc. To this end, our new graph-based optimization problem finds how to reconstruct all variables (efficiently) from a subset of variables that can be transferred across machines. We show that ElasticNotebook reduces end-to-end migration and restoration times by 85%-98% and 94%-99%, respectively, on a variety (i.e., Kaggle, JWST, and Tutorial) of notebooks with negligible runtime and memory overheads of <2.5% and <10%.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • LIMA: Fine-grained Lineage Tracing and Reuse in Machine Learning Systems 引用了 Fine-Grained Lineage for Safer Notebook Interactions
  • MojoFrame: Dataframe Library in Mojo Language 引用了 Towards Scalable Dataframe Systems
  • MojoFrame: Dataframe Library in Mojo Language 引用了 Enhancing Computational Notebooks with Code+Data Space Versioning
  • MojoFrame: Dataframe Library in Mojo Language 引用了 Kishu: Time-Traveling for Computational Notebooks
  • MojoFrame: Dataframe Library in Mojo Language 引用了 Chipmink: Efficient Delta Identification for Massive Object Graphs
  • Chipmink: Efficient Delta Identification for Massive Object Graphs 引用了 MojoFrame: Dataframe Library in Mojo Language
  • Enhancing Computational Notebooks with Code+Data Space Versioning 引用了 Kishu: Time-Traveling for Computational Notebooks
  • Kishu: Time-Traveling for Computational Notebooks 引用了 Enhancing Computational Notebooks with Code+Data Space Versioning
  • QStore: Quantization-Aware Compressed Model Storage 引用了 Kishu: Time-Traveling for Computational Notebooks
  • Kishu: Time-Traveling for Computational Notebooks 引用了 IDEBench: A Benchmark for Interactive Data Exploration
  • Kishu: Time-Traveling for Computational Notebooks 引用了 Fine-Grained Lineage for Safer Notebook Interactions
  • Chipmink: Efficient Delta Identification for Massive Object Graphs 引用了 Enhancing Computational Notebooks with Code+Data Space Versioning
  • Chipmink: Efficient Delta Identification for Massive Object Graphs 引用了 QStore: Quantization-Aware Compressed Model Storage
  • Chipmink: Efficient Delta Identification for Massive Object Graphs 引用了 Kishu: Time-Traveling for Computational Notebooks
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Kishu: Time-Traveling for Computational NotebooksZhaoheng Li, Supawit Chockchowwat, Areet Sheth, Yongjoo Park 等VLDB 2025 · 11 次引用
  2. Enhancing Computational Notebooks with Code+Data Space VersioningHanxi Fang, Supawit Chockchowwat, Hari Sundaram, Yongjoo ParkCHI 2025 · 6 次引用
  3. QStore: Quantization-Aware Compressed Model StorageRaunak Shah, Zhaoheng Li, Yongjoo ParkVLDB 2026 · 3 次引用
  4. Chipmink: Efficient Delta Identification for Massive Object GraphsSupawit Chockchowwat, Sumay Thakurdesai, Zhaoheng Li, Matthew Krafczyk 等VLDB 2026 · 1 次引用
  5. MojoFrame: Dataframe Library in Mojo LanguageShengya Huang, Zhaoheng Li, Derek Werner, Yongjoo ParkICDE 2026

它引用的 Paper9

  1. Towards Scalable Dataframe SystemsDevin Petersohn, William W. Ma, Doris Jung Lin Lee, Stephen Macke 等VLDB 2020 · 109 次引用
  2. IDEBench: A Benchmark for Interactive Data ExplorationPhilipp Eichmann, Emanuel Zgraggen, Carsten Binnig, Tim KraskaSIGMOD 2020 · 57 次引用
  3. Fine-Grained Lineage for Safer Notebook InteractionsStephen Macke, Aditya G. Parameswaran, Hongpu Gong, Doris Jung Lin Lee 等VLDB 2021 · 46 次引用
  4. Moneyball: Proactive Auto-Scaling in Microsoft Azure SQL Database ServerlessOlga Poppe, Qun Guo, Willis Lang, Pankaj Arora 等VLDB 2022 · 40 次引用
  5. LIMA: Fine-grained Lineage Tracing and Reuse in Machine Learning SystemsArnab Phani, Benjamin Rath, Matthias BoehmSIGMOD 2021 · 30 次引用

相关 Paper

  1. Multiverse Notebook: Shifting Data Scientists to Time TravelersShigeyuki Sato, Tomoki NakamaruOOPSLA 2024 · 3 次引用
  2. NotebookOS: A Replicated Notebook Platform for Interactive Training with On-Demand GPUsBenjamin Carver, Jingyuan Zhang, Haoliang Wang, Kanak Mahadik 等ASPLOS 2026
  3. Assessing and Restoring Reproducibility of Jupyter NotebooksJiawei Wang, Tzu-yang Kuo, Li Li, Andreas ZellerASE 2020 · 68 次引用
  4. Restoring the Executability of Jupyter Notebooks by Automatic Upgrade of Deprecated APIsChenguang Zhu, Ripon K. Saha, Mukul R. Prasad, Sarfraz KhurshidASE 2021 · 12 次引用
  5. Bolt-on, Compact, and Rapid Program Slicing for Notebooks [Scalable Data Science]Shreya Shankar, Stephen Macke, Sarah E. Chasins, Andrew Head 等VLDB 2022 · 17 次引用
黄昏的海面,两侧是细线勾勒的悬崖