lambdaclass / lambdaclass/spawned

Add DynamicSupervisor for runtime child creation

Open
#134 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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_children limit
  • 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.