博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Serf 了解
阅读量:6873 次
发布时间:2019-06-26

本文共 1874 字,大约阅读时间需要 6 分钟。

Introduction to Serf

Welcome to the intro guide to Serf! This guide will show you what Serf is, explain the problems Serf solves, compare Serf versus other similar software, and show how easy it is to actually use Serf. If you're already familiar with the basics of Serf, the  provides more of a reference for all available features.

What is Serf?

Serf is a tool for cluster membership, failure detection, and orchestration that is decentralized, fault-tolerant and highly available. Serf runs on every major platform: Linux, Mac OS X, and Windows. It is extremely lightweight: it uses 5 to 10 MB of resident memory and primarily communicates using infrequent UDP messages.

Serf uses an efficient  to solve three major problems:

  • Membership: Serf maintains cluster membership lists and is able to execute custom handler scripts when that membership changes. For example, Serf can maintain the list of web servers for a load balancer and notify that load balancer whenever a node comes online or goes offline.

  • Failure detection and recovery: Serf automatically detects failed nodes within seconds, notifies the rest of the cluster, and executes handler scripts allowing you to handle these events. Serf will attempt to recover failed nodes by reconnecting to them periodically.

  • Custom event propagation: Serf can broadcast custom events and queries to the cluster. These can be used to trigger deploys, propagate configuration, etc. Events are simply fire-and-forget broadcast, and Serf makes a best effort to deliver messages in the face of offline nodes or network partitions. Queries provide a simple realtime request/response mechanism.

See the  for a list of concrete use cases built on top of the features Serf provides. See the page on  to see just how it fits into your existing infrastructure. Or continue onwards with the  to get Serf up and running and see how it works.

转载地址:http://owpfl.baihongyu.com/

你可能感兴趣的文章
OSSIM安装注意事项
查看>>
【转载】Go对比Python的优点
查看>>
收费版APP三年总结(个人经验)
查看>>
SEO深度解读之HITS链接分析算法
查看>>
整合微软TechNet资源库上的文章为PDF
查看>>
为VMware ESXi主机添加本地存储的过程及注意事项-之1
查看>>
指付通盗刷信用卡维权连载--9月4日维权纪实
查看>>
XenServer 6.5实战系列之十二:License Management
查看>>
企业数据库合规的最佳实践
查看>>
Exchange 2003 升级 2010地址列表升级
查看>>
Citrix桌面及应用虚拟化系列之三:活动目录架构准备
查看>>
如何在一台ESXi主机上搭建一整套VSAN集群的环境
查看>>
【iOS-Cocos2d游戏开发之十九】游戏数据存储的四种常用方式NSKeyedArchiver/NSUserDefaults/Write写入/SQLite3...
查看>>
“李开复”危机
查看>>
libvirt 网络
查看>>
python 安装 setuptools Compression requires the (missing) zlib module 的解决方案
查看>>
SVN管理公共代码的方法
查看>>
每日英语:Poor Chinese Schools Tell Students: Bring Your Own Desks
查看>>
HDU 4268
查看>>
IE9中FCKEditor弹出层不好使的解决方法
查看>>