agent-substrate / agent-substrate/substrate
use runsc shim at ateom-gvisor
Open
area/gvisor
kind/feature
- Dominant language
- Go
- Stars
- 1.8k
- Forks
- 316
- Avg merge
- 2d 43m
- Merged PRs (30d)
- 287
Description
ateom-gvisor at cmd/ateom-gvisor currently starts sandbox using runsc (an OCI compatible runtime) directly, I would like to move substrate to use runsc shim.
we can potentially get benefits on lifecycle management by doing the migration, The shim daemon manages runsc child processes (sandbox, gofer) and reaps them automatically. Right now ateom does this itself with go-reap and reapLock coordination around every exec.Command.
And we can introduce a runtime-agnostic interface that we can introduce to manage other runtime as well, for example, https://github.com/agent-substrate/substrate/issues/123
Contributor guide
Assessment
This issue has not been assessed yet.