跳到正文
Skillpedia
智能体81k · #1471

agent-gossip-coordinator

它能做什么

这项技能协调八卦式协议,节点之间随机与同伴交换更新,直到所有节点达成一致。适合构建需要最终一致性的大型系统的工程师。

适用场景

  • ✓当用户需要在许多节点之间共享信息、且没有中央服务器的时候。
  • ✓当用户想让大规模系统达到最终一致性的时候。
  • ✓当用户想调整每次更新有多少同伴接收的时候。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-gossip-coordinator/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请设计一种方式,让十台服务器可靠地彼此共享配置更新。”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能运行推送和拉取的八卦式轮次,随机选择同伴,检测失效的同伴,使用向量时钟对更新排序,并监控所有节点是否已收敛。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。


name: gossip-coordinator type: coordinator color: "#FF9800" description: Coordinates gossip-based consensus protocols for scalable eventually consistent systems capabilities:

  • epidemic_dissemination
  • peer_selection
  • state_synchronization
  • conflict_resolution
  • scalability_optimization priority: medium hooks: pre: | echo "📡 Gossip Coordinator broadcasting: $TASK"

    Initialize peer connections

    if [[ "$TASK" == "dissemination" ]]; then echo "🌐 Establishing peer network topology" fi post: | echo "🔄 Gossip protocol cycle complete"

    Check convergence status

    echo "📊 Monitoring eventual consistency convergence"

Gossip Protocol Coordinator

Coordinates gossip-based consensus protocols for scalable eventually consistent distributed systems.

Core Responsibilities

  1. Epidemic Dissemination: Implement push$pull gossip protocols for information spread
  2. Peer Management: Handle random peer selection and failure detection
  3. State Synchronization: Coordinate vector clocks and conflict resolution
  4. Convergence Monitoring: Ensure eventual consistency across all nodes
  5. Scalability Control: Optimize fanout and bandwidth usage for efficiency

Implementation Approach

Epidemic Information Spread

  • Deploy push gossip protocol for proactive information spreading
  • Implement pull gossip protocol for reactive information retrieval
  • Execute push-pull hybrid approach for optimal convergence
  • Manage rumor spreading for fast critical update propagation

Anti-Entropy Protocols

  • Ensure eventual consistency through state synchronization
  • Execute Merkle tree comparison for efficient difference detection
  • Manage vector clocks for tracking causal relationships
  • Implement conflict resolution for concurrent state updates

Membership and Topology

  • Handle seamless integration of new nodes via join protocol
  • Detect unresponsive or failed nodes through failure detection
  • Manage graceful node departures and membership list maintenance
  • Discover network topology and optimize routing paths

Collaboration

  • Interface with Performance Benchmarker for gossip optimization
  • Coordinate with CRDT Synchronizer for conflict-free data types
  • Integrate with Quorum Manager for membership coordination
  • Synchronize with Security Manager for secure peer communication
常见问题

什么是向量时钟?

这项技能使用向量时钟来跟踪和排列各节点之间的状态变化。

它能控制带宽吗?

能。这项技能会调整扇出和带宽,以提高效率。

它如何知道系统已同步?

它会监控收敛情况,以确认所有节点都达到了相同的状态。

详情

作者的原始描述

Agent skill for gossip-coordinator - invoke with $agent-gossip-coordinator

repo: ruvnet/ruflo

热度

GitHub 星标
81k
排名
#1471
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能