[Fearture] Use asyncio internally to reduce number of threads
维护者通常 1 天内回复
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 活跃
- 技术栈
- python
调研方向
Start by tracing the ZMQ communication between the administrative thread and worker process, especially task sends, result receives, and the calculate() boundary. No files or tests are named; done would mean using asyncio internally for this communication while reducing the number of threads.
由索引模型根据 Issue 内容生成。
描述
The ZMQ communication between processes is the natural target for asyncio:
administrative thread worker process
│ │
│ ZMQ send(task) │
├───────────────────────────────────►│
│ │ calculate()
│ │
│ thread waits │
│ thread waits │
│ thread waits │
│ │
│◄───────────────────────────────────┤
│ ZMQ recv(result) │
- 主要语言
- Python
- 星标
- 77
- 派生
- 9
- 平均合并
- 7 小时 9 分钟
- 30 天内合并 PR
- 13
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pyiron/executorlib 的其他 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
pyiron/executorlib#1054 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
pyiron/executorlib#1032 ·
维护者通常 1 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 68/100
pyiron/executorlib#1005 ·
维护者通常 1 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 35/100
pyiron/executorlib#1049 · 1 条评论 ·
维护者通常 1 天内回复
-
documentation
难度 3/5 1-2 天 新手友好度 35/100
pyiron/executorlib#999 · 1 条评论 ·
维护者通常 1 天内回复
查看 pyiron/executorlib 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 85/100
Vector35/community-plugins#376 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
py-econometrics/pyfixest#1883 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
ietf-tools/rfc2html#81 ·
-
难度 1/5 1 小时以内 新手友好度 88/100
mysql/mysql-operator#60 ·
-
Python: Bug: split_plaintext_paragraph / split_markdown_paragraph can return a chunk larger than max_tokens可能已有人在做 @xThreeh 今天认领。 未关闭python triage
难度 2/5 1-3 小时 新手友好度 75/100
microsoft/semantic-kernel#14566 ·
维护者通常 4 天内回复