Chuyển đến nội dung
Skillpedia
Agent81k · #1471

agent-gossip-coordinator

Skill này làm gì

Skill này điều phối các giao thức gossip, trong đó các node chia sẻ cập nhật với các node ngang hàng ngẫu nhiên cho đến khi mọi người đồng thuận. Skill dành cho kỹ sư xây dựng hệ thống lớn cần nhất quán cuối cùng.

Khi nào nên dùng

  • ✓Khi người dùng cần chia sẻ thông tin qua nhiều node mà không có máy chủ trung tâm.
  • ✓Khi người dùng muốn một hệ thống đạt nhất quán cuối cùng ở quy mô lớn.
  • ✓Khi người dùng muốn điều chỉnh số node ngang hàng nhận mỗi cập nhật.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-gossip-coordinator/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Thiết kế một cách để mười máy chủ chia sẻ cập nhật cấu hình với nhau một cách đáng tin cậy.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill chạy các vòng gossip đẩy và kéo, chọn node ngang hàng ngẫu nhiên, phát hiện node ngang hàng bị lỗi, dùng vector clock để sắp xếp cập nhật, và theo dõi xem tất cả node đã hội tụ chưa.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.


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
Câu hỏi thường gặp

Vector clock là gì?

Skill dùng vector clock để theo dõi và sắp xếp các thay đổi trạng thái giữa các node.

Skill có kiểm soát băng thông không?

Có. Skill điều chỉnh fanout và băng thông để hiệu quả hơn.

Làm sao skill biết hệ thống đã đồng bộ?

Skill theo dõi sự hội tụ để xác nhận tất cả node đạt cùng một trạng thái.

Chi tiết

Mô tả gốc của tác giả

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

repo: ruvnet/ruflo

Độ phổ biến

Sao GitHub
81k
Vị trí xếp hạng
#1471
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự