<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[jupyter 架构]]></title><description><![CDATA[<p dir="auto"><a href="https://docs.jupyter.org/en/latest/projects/architecture/content-architecture.html" rel="nofollow ugc">https://docs.jupyter.org/en/latest/projects/architecture/content-architecture.html</a></p>
<p dir="auto"><img src="/assets/uploads/files/1684380771023-f2ac2e15-2ce2-4b57-a14a-bb221c77f278-image.png" alt="f2ac2e15-2ce2-4b57-a14a-bb221c77f278-image.png" class=" img-responsive img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1684380809833-5bd26eba-e7ed-4872-8faa-3edee9b878b6-image.png" alt="5bd26eba-e7ed-4872-8faa-3edee9b878b6-image.png" class=" img-responsive img-markdown" /></p>
]]></description><link>http://an.forum.genostack.com/topic/892/jupyter-架构</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 09:20:16 GMT</lastBuildDate><atom:link href="http://an.forum.genostack.com/topic/892.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 18 May 2023 03:33:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to jupyter 架构 on Thu, 18 May 2023 03:49:17 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://jupyter-server.readthedocs.io/en/latest/" rel="nofollow ugc">https://jupyter-server.readthedocs.io/en/latest/</a><br />
<img src="/assets/uploads/files/1684381356163-5b5ca0b8-cad5-4413-8479-208fe053b179-image.png" alt="5b5ca0b8-cad5-4413-8479-208fe053b179-image.png" class=" img-responsive img-markdown" /></p>
<p dir="auto">Jupyter Server contains the following components:</p>
<p dir="auto">ServerApp is the main Tornado-based application which connects all components together.</p>
<p dir="auto">Config Manager initializes configuration for the ServerApp. You can define custom classes for the Jupyter Server managers using this config and change SererApp settings. Follow the Config File Guide to learn about configuration settings and how to build custom config.</p>
<p dir="auto">Custom Extensions allow you to create the custom Server’s REST API endpoints. Follow the Extension Guide to know more about extending ServerApp with extra request handlers.</p>
<p dir="auto">Gateway Server is a web server that, when configured, provides access to Jupyter kernels running on other hosts. There are different ways to create a gateway server. If your ServerApp needs to communicate with remote kernels residing within resource-managed clusters, you can use Enterprise Gateway, otherwise, you can use Kernel Gateway, where kernels run locally to the gateway server.</p>
<p dir="auto">Contents Manager and File Contents Manager are responsible for serving Notebook on the file system. Session Manager uses Contents Manager to receive kernel path. Follow the Contents API guide to learn about Contents Manager.</p>
<p dir="auto">Session Manager processes users’ Sessions. When a user starts a new kernel, Session Manager starts a process to provision kernel for the user and generates a new Session ID. Each opened Notebook has a separate Session, but different Notebook kernels can use the same Session. That is useful if the user wants to share data across various opened Notebooks. Session Manager uses SQLite3 database to store the Session information. The database is stored in memory by default, but can be configured to save to disk.</p>
<p dir="auto">Mapping Kernel Manager is responsible for managing the lifecycles of the kernels running within the ServerApp. It starts a new kernel for a user’s Session and facilitates interrupt, restart, and shutdown operations against the kernel.</p>
<p dir="auto">Jupyter Client library is used by Jupyter Server to work with the Notebook kernels.</p>
<p dir="auto">Kernel Manager manages a single kernel for the Notebook. To know more about Kernel Manager, follow the Jupyter Client APIs documentation.</p>
<p dir="auto">Kernel Spec Manager parses files with JSON specification for a kernels, and provides a list of available kernel configurations. To learn about Kernel Spec Manager, check the Jupyter Client guide.</p>
<p dir="auto"><img src="/assets/uploads/files/1684381466648-0c508af6-fbf0-4f42-b0fb-a4468da9cdc2-image.png" alt="0c508af6-fbf0-4f42-b0fb-a4468da9cdc2-image.png" class=" img-responsive img-markdown" /></p>
<p dir="auto"><a href="https://jupyter-server.readthedocs.io/en/latest/developers/rest-api.html" rel="nofollow ugc">https://jupyter-server.readthedocs.io/en/latest/developers/rest-api.html</a></p>
<p dir="auto"><a href="https://jupyter-server.readthedocs.io/en/latest/operators/multiple-extensions.html" rel="nofollow ugc">https://jupyter-server.readthedocs.io/en/latest/operators/multiple-extensions.html</a><br />
One of the major benefits of Jupyter Server is that you can run serve multiple Jupyter frontend applications above the same Tornado web server. That’s because every Jupyter frontend application is now a server extension. When you run a Jupyter Server with multiple extensions enabled, each extension appends its own set of handlers and static assets to the server.</p>
]]></description><link>http://an.forum.genostack.com/post/2164</link><guid isPermaLink="true">http://an.forum.genostack.com/post/2164</guid><dc:creator><![CDATA[anneng]]></dc:creator><pubDate>Thu, 18 May 2023 03:49:17 GMT</pubDate></item></channel></rss>