Compression
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- python
- 領域
- networking
研究方向
Start by reading src/wsproto/extensions.py around its zlib usage and trace how compression is invoked through the sans-IO WebSocket flow. No test is named; determine the appropriate integration boundary for avoiding event-loop blocking without assuming thread sharing, and establish the maintainer-approved behavior and coverage needed for the issue to be done.
由索引模型根據 Issue 內容生成。
描述
I see compression uses zlib. It seems to be one potential CPU-bound operation. In an async framework, one would run that in a thread to avoid blocking the event loop, but since wsproto is a sans-IO library, I don't know what to do. Running handlers in a thread in my async web framework is not an option because I need to access an object that cannot be shared between multiple threads.
- 主要語言
- Python
- 星號
- 303
- 分支
- 61
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
python-hyper/wsproto 的其他 Issue
-
Attempt to close with local-only codes (e.g. 1006) results in normal close (1000)可能已有人在做 @ShipItAndPray 於 180 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 38/100
python-hyper/wsproto#182 ·
-
Type compatibility with `h11._headers.Header`可能已有人在做 @gyanu2507 於 56 天前認領。 未關閉
難度 1/5 1-3 小時 新手友好度 48/100
python-hyper/wsproto#173 · 1 則留言 ·
查看 python-hyper/wsproto 的全部 Issue
相似的 Issue
-
enhancement
難度 2/5 1-3 小時 新手友好度 72/100
fossasia/visdom-dev#77 ·
維護者通常 4 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
aws-cloudformation/cfn-lint#4890 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
volcengine/OpenViking#6521 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 84/100
-
bug
難度 2/5 1-3 小時 新手友好度 77/100
AstrBotDevs/AstrBot#10720 ·
維護者通常 1 天內回覆