Kernels: Connect via IPC/Domain sockets instead of TCP
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
The issue identifies Kallichore and Ark as the components that need domain socket support, and notes that IPyKernel reportedly supports it through an undocumented connection file format. Start by reading the linked IPyKernel discussion and checking the existing kernel connection paths in Positron. Done means Positron can connect to kernels over domain sockets; the issue does not specify tests or acceptance criteria.
索引モデルが issue の本文から書いたものです。
説明
Today, the connection between Positron and Kallichore is typically done over a domain socket, but the connection from Kallichore to the kernels happens over TCP.
graph LR
Positron -- socket --> Kallichore -- TCP --> Kernels
TCP is simple and widely supported. It's the standard way to connect to Jupyter kernels that is used by almost every front end. However, it has some real drawbacks:
- Higher latency; going through the TCP stack adds overhead
- Security concerns; any process on the machine can connect to TCP, but domain sockets can be protected by filesystem permissions
- Race conditions; the Jupyter protocol has an inherent TCP race condition that sometimes results in a ZMQ "address already in use" error, a longstanding Positron issue we have never been able to fix, because it is not fixable without changes to the protocol (JEP 66), which Ark supports but IPyKernel doesn't
- Antivirus issues; perhaps most importantly, opening up a bunch of TCP ports often gets software flagged by aggressive or corporate AV software.
IPyKernel reportedly supports domain sockets via a somewhat undocumented connection file format: https://github.com/ipython/ipykernel/issues/925
Ark does not yet support domain sockets, and neither does Kallichore, but both could be made to do so.
- 主要言語
- TypeScript
- スター
- 4.4k
- フォーク
- 207
- 平均マージ
- 1日 16時間
- マージ済み PR(30日)
- 308
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
posit-dev/positron のほかの issue
-
area: assistant area: ui
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
accessibility area: plots area: ui
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
area: plots area: ui bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
area: kernels lang: r
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
posit-dev/positron#17575 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Memory meter counts page cache as used memory under a cgroup limit対応中かも @jmcphers が 10 日前に担当しました。 オープンarea: workbench bug memory-use support
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
posit-dev/positron#17414 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
posit-dev/positron の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
laststance/design-world#98 ·
メンテナーはふだん 1 日以内に返信
-
Add: KCM True crimeオープンapproved check:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
triage: failed
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
oxc-project/tsrs#1277 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ardia-browser/ardia#6798 ·
メンテナーはふだん 1 日以内に返信