Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

外部执行器改造 #489

Open
2 of 4 tasks
0x5459 opened this issue Oct 24, 2022 · 2 comments
Open
2 of 4 tasks

外部执行器改造 #489

0x5459 opened this issue Oct 24, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request v0.6 v0.6 features

Comments

@0x5459
Copy link
Collaborator

0x5459 commented Oct 24, 2022

模块 / Components

  • venus-sector-manager
  • venus-worker
  • 工具链 / toolchains
  • 文档 / docs

描述 / Description

当前版本外部执行器仅能以子进程的方式工作。如果子进程意外挂起,venus-cluster 无法将其拉起。尽管可以将子进程作为代理的模式工作,但是还是希望能够在 venus-cluster 设计层面支持多种外部执行器工作与通信的方式。

新的外部执行器应该支持:

  • 兼容子进程 pipe 模式
  • 足够的抽象以便支持多种模式 (rpc, exec/pipe, named pipe, memfd ...)
  • 异步 api (异步 api 对于代理模式的外部执行器是有意义的)
@0x5459 0x5459 added the enhancement New feature or request label Oct 24, 2022
@0x5459 0x5459 added this to the v0.6.0 milestone Oct 24, 2022
@0x5459 0x5459 added the v0.6 v0.6 features label Oct 24, 2022
@0x5459 0x5459 self-assigned this Nov 4, 2022
@0x5459 0x5459 mentioned this issue Nov 18, 2022
5 tasks
@0x5459 0x5459 modified the milestones: v0.6.0, v0.7.0 Mar 29, 2023
@0x5459 0x5459 mentioned this issue Apr 3, 2023
5 tasks
@elvin-du
Copy link
Collaborator

elvin-du commented Apr 6, 2023

这个会有一个设计文档吗?

@0x5459
Copy link
Collaborator Author

0x5459 commented Apr 6, 2023

这个会有一个设计文档吗?

会有。外部执行器提供 venus-cluster 用户使用自定义算法的能力,所以也需要设计文档便于用户编写自己的外部执行器。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v0.6 v0.6 features
Projects
Status: No status
Status: No status
Development

Successfully merging a pull request may close this issue.

2 participants