lambdaclass / lambdaclass/spawned

Add Supervisor actor for fault tolerance

Open
#133 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

Erlang-style supervision:

Restart strategies:

  • OneForOne - restart only failed child
  • OneForAll - restart all children when any fails
  • RestForOne - restart failed child and all started after it

Features:

  • Restart intensity tracking (max_restarts in max_seconds)
  • Graceful shutdown in reverse order
  • Monitors all children for exits

New file: concurrency/src/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

Start with the planned concurrency/src/supervisor.rs file and the Phase 4 (Supervision) requirements. Define the three restart strategies, restart-intensity tracking, reverse-order graceful shutdown, and child-exit monitoring; completion means all listed supervision features are covered.

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.