Skip to content

Feature: Erlang-style Supervisors for Process Resilience #16

@cinar

Description

@cinar

Implement a resile/supervisor package to manage the lifecycle of long-running background goroutines.

Erlang Context: Inspired by OTP Supervision Trees, this provides "Process Resilience" beyond transient function calls.

Proposed Implementation:

  • Support restart strategies: OneForOne, OneForAll, RestForOne.
  • Integrate with resile.Backoff to prevent "restart storms".
  • Integrate with resile.Instrumenter for visibility into worker restarts.
  • Ensure clean shutdown using context.Context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions