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
- 派生
- 57
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
python-hyper/wsproto 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 38/100
python-hyper/wsproto#182 ·
-
难度 1/5 1-3 小时 新手友好度 48/100
python-hyper/wsproto#173 · 1 条评论 ·
查看 python-hyper/wsproto 的全部 Issue
相似的 Issue
-
area/auth bug comp/agent P3 platform/discord type/security
难度 2/5 1-3 小时 新手友好度 88/100
NousResearch/hermes-agent#117848 ·
-
难度 2/5 1-3 小时 新手友好度 74/100
bancolombia/sentinel#23 ·
-
test md 未关闭CI
难度 2/5 1-3 小时 新手友好度 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
难度 2/5 1-3 小时 新手友好度 74/100
langchain-ai/deepagents#6450 ·
-
bug client
难度 2/5 1-3 小时 新手友好度 88/100