mesh-supervisors
CommunityBuild resilient Mesh applications.
Authorsnowdamiz
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides the tools and knowledge to implement robust fault tolerance in Mesh applications by leveraging the supervisor model, ensuring your application remains available even when individual components fail.
Core Features & Use Cases
- Supervisor Definition: Learn how to define supervisors with different restart strategies (
one_for_one,one_for_all). - Child Specifications: Understand how to configure child processes, including their start functions, restart policies (
permanent,transient,temporary), and shutdown timeouts. - Restart Limits: Implement mechanisms to prevent runaway crashes by defining restart budgets (
max_restarts,max_seconds). - Supervision Trees: Design hierarchical fault-tolerant systems by nesting supervisors.
- Use Case: Building a web server where each incoming connection is handled by an actor. If an actor crashes due to an unexpected error, the supervisor automatically restarts it, ensuring continuous service availability without affecting other connections.
Quick Start
Define a supervisor named MySup with the one_for_one strategy and spawn a child actor named MyWorker.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: mesh-supervisors Download link: https://github.com/snowdamiz/mesh-lang/archive/main.zip#mesh-supervisors Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.