Kernel 是 Notebook 中的代码实际的运行环境,它是一个独立的进程。每一次「运行」动作,产生的效果是单个 Cell 的代码被运行。具体来讲,「运行」就是把 Cell 内的代码片段,通过 Jupyter Notebook 后端以特定格式发送给 Kernel 进程,再从 Kernel 接受特定格式的返回,并反馈到页面上。这里所说的「特定格式」,可参考 [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/stable/messaging.html)。在 DataLeap 数...
Kernel 是 Notebook 中的代码实际的运行环境,它是一个独立的进程。每一次「运行」动作,产生的效果是单个 Cell 的代码被运行。具体来讲,「运行」就是把 Cell 内的代码片段,通过 Jupyter Notebook 后端以特定格式发送给 Kernel 进程,再从 Kernel 接受特定格式的返回,并反馈到页面上。这里所说的「特定格式」,可参考 [Messaging in Jupyter](https://jupyter-client.readthedocs.io/en/stable/messaging.html)。在 DataLeap 数...
**当使用 Notebook 的项目日渐增加时,火山引擎 DataLeap 研发团队发现运行中的 PaaS 服务实在太多了,之前的架构有如下缺点:** 1. 部署麻烦。全量升级 JupyterLab 较为痛苦。尽管有升级脚本,但是通过 API 操... Jupyter Notebook 使用 [File Manager](https://xie.infoq.cn/link?target=https%3A%2F%2Fgithub.com%2Fjupyter-server%2Fjupyter_server%2Fblob%2Fmain%2Fjupyter_server%2Fservices%2Fcontents%2Ffilemanager.py...
JupyterHub 是一个支持 “多用户” notebook 的 Server,通过管理 & 代理多个单用户的 notebook server 实现多用户 notebook。JupyterHub 服务主要三个组件构成:- a Hub (tornado process), which is the heart of JupyterHub;- a [configurable http proxy](https://github.com/jupyterhub/configurable-http-proxy) (node-http-proxy): 动态路由用户的请求到 Hub 或者 Notebook server;- multiple single-user Jupy...