lambdaclass / lambdaclass/spawned
Add DynamicSupervisor for runtime child creation
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 59
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
For dynamically created children (OneForOne strategy only):
pub enum DynSupMessage {
StartChild(ChildSpec),
TerminateChild(Pid),
WhichChildren,
CountChildren,
}
Features:
- Optional
max_childrenlimit - Optional registration by name
New file: concurrency/src/dynamic_supervisor.rs
Part of Phase 4 (Supervision).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Use concurrency/src/dynamic_supervisor.rs as the entry point and first review the existing ChildSpec, Pid, and Phase 4 supervision definitions. Define the OneForOne runtime-child behavior around the listed DynSupMessage variants, including max_children and optional name registration. Done means the requested operations and limits are implemented with the specified API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100