मुख्य सामग्री पर जाएँ
Skillpedia
API और सर्वर (backend)81k · #1496

agent-raft-manager

यह क्या करती है

यह स्किल वितरित सर्वरों को एक जैसा रखने के लिए Raft तरीके में मार्गदर्शन देती है, जिसमें leader चुनना और रिकॉर्ड की नकल करना शामिल है। यह भरोसेमंद सर्वर क्लस्टर बनाने वाले इंजीनियरों के लिए है।

कब इस्तेमाल करें

  • ✓जब किसी क्लस्टर में एक सर्वर को leader चुना जाना हो।
  • ✓जब आप रिकॉर्ड को कई सर्वरों पर सुरक्षित तरीके से कॉपी करवाना चाहें।
  • ✓जब नेटवर्क बँटने के बाद सर्वरों को फिर से जुड़ना हो।

Skill का लिंक

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-raft-manager/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-raft-manager/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“हमारे तीन-सर्वर क्लस्टर के लिए leader चुनाव सेट कीजिए और जाँचिए कि सारे logs सिंक में रहते हैं।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट समयबद्ध leader चुनाव का समन्वय करता है, leader से followers को log entries भेजता है, और जाँचता है कि हर सर्वर के पास एक जैसे रिकॉर्ड हैं।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।


name: raft-manager type: coordinator color: "#2196F3" description: Manages Raft consensus algorithm with leader election and log replication capabilities:

  • leader_election
  • log_replication
  • follower_management
  • membership_changes
  • consistency_verification priority: high hooks: pre: | echo "🗳️ Raft Manager starting: $TASK"

    Check cluster health before operations

    if [[ "$TASK" == "election" ]]; then echo "🎯 Preparing leader election process" fi post: | echo "📝 Raft operation complete"

    Verify log consistency

    echo "🔍 Validating log replication and consistency"

Raft Consensus Manager

Implements and manages the Raft consensus algorithm for distributed systems with strong consistency guarantees.

Core Responsibilities

  1. Leader Election: Coordinate randomized timeout-based leader selection
  2. Log Replication: Ensure reliable propagation of entries to followers
  3. Consistency Management: Maintain log consistency across all cluster nodes
  4. Membership Changes: Handle dynamic node addition$removal safely
  5. Recovery Coordination: Resynchronize nodes after network partitions

Implementation Approach

Leader Election Protocol

  • Execute randomized timeout-based elections to prevent split votes
  • Manage candidate state transitions and vote collection
  • Maintain leadership through periodic heartbeat messages
  • Handle split vote scenarios with intelligent backoff

Log Replication System

  • Implement append entries protocol for reliable log propagation
  • Ensure log consistency guarantees across all follower nodes
  • Track commit index and apply entries to state machine
  • Execute log compaction through snapshotting mechanisms

Fault Tolerance Features

  • Detect leader failures and trigger new elections
  • Handle network partitions while maintaining consistency
  • Recover failed nodes to consistent state automatically
  • Support dynamic cluster membership changes safely

Collaboration

  • Coordinate with Quorum Manager for membership adjustments
  • Interface with Performance Benchmarker for optimization analysis
  • Integrate with CRDT Synchronizer for eventual consistency scenarios
  • Synchronize with Security Manager for secure communication
अक्सर पूछे जाने वाले सवाल

Raft क्या है?

Raft एक ऐसा तरीका है जिससे सर्वरों का समूह एक ही डेटा पर सहमत हो सके, भले ही उनमें से कुछ बंद हों।

क्या यह शुरुआती लोगों के लिए है?

यह उन इंजीनियरों के लिए है जो सर्वर क्लस्टर पर काम करते हैं।

क्या यह सर्वरों के जुड़ने या छोड़ने को संभालती है?

हाँ। स्किल nodes को सुरक्षित तरीके से जोड़ने और हटाने को कवर करती है।

जानकारी

लेखक का मूल विवरण

Agent skill for raft-manager - invoke with $agent-raft-manager

repo: ruvnet/ruflo

लोकप्रियता

GitHub स्टार
81k
रैंकिंग में स्थान
#1496
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

agent-adaptive-coordinator

81k

आपके एजेंट को काम बदलने पर AI एजेंटों के समूह को बाँटने और फिर से संतुलित करने में मदद करती है, और काम के हिसाब से लेआउट चुनती है।

AI और एजेंटएजेंट

agent-agent

81k

आपके एजेंट को बड़े लक्ष्य को क्रमबद्ध कार्यों की योजना में बदलना सिखाती है, और स्थिति बदलने पर योजना फिर से बनाना भी।

AI और एजेंटएजेंट

agent-agentic-payments

81k

AI खरीदारी के लिए खर्च के आदेश मैनेज करने में मदद करती है, जिसमें खर्च की सीमा, समय अवधि, व्यापारी नियम और signed मंज़ूरियाँ शामिल हैं।

AI और एजेंटएजेंट

agent-analyze-code-quality

81k

आपके एजेंट को कोड की गुणवत्ता जाँचने में मदद करती है, बिना फ़ाइलें बदले code smells, technical debt और refactoring के सुझाव खोजकर।

कोडिंगसामान्य कोडिंग

मिलती-जुलती skills