Kernels: Connect via IPC/Domain sockets instead of TCP
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- backend-api-design, networking
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 4.4k
- Fork
- 207
- Merge trung bình
- 1 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 308
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của posit-dev/positron
-
area: assistant area: ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
accessibility area: plots area: ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: plots area: ui bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: kernels lang: r
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
posit-dev/positron#17575 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Memory meter counts page cache as used memory under a cgroup limitCó thể đã có người làm @jmcphers đã nhận 10 ngày trước. Đang mởarea: workbench bug memory-use support
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
posit-dev/positron#17414 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của posit-dev/positron
Issue tương tự
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
novuhq/novu#13613 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement from-app needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
nightly-labs/openbot#23943 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
comp/desktop desktop/chat P3 type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
NousResearch/hermes-agent#164451 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
shortkeys-2188:ready
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
crittermike/shortkeys#1121 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
Doist/todoist-cli#742 ·