moonshine_heartbeat:这个 Moonshine 插件允许您轻松地将心跳集成到您的部署中

时间:2021-07-20 16:13:13
【文件属性】:
文件名称:moonshine_heartbeat:这个 Moonshine 插件允许您轻松地将心跳集成到您的部署中
文件大小:9KB
文件格式:ZIP
更新时间:2021-07-20 16:13:13
Ruby 月光心跳 Heartbeat 是一种用于从一组两个或多个服务器提供高可用性资源(http、mysql 等)的工具。 如果出现以下情况,您需要心跳: 您需要高可用性 在您的应用程序中,可以随时将请求从一台服务器移动到热备件 我们在 Rails Machine 上使用它来为单点故障提供热备件,例如软件负载平衡器。 的插件 这个 Moonshine 插件允许您轻松地将心跳集成到您的部署中。 指示 脚本/插件安装 git://github.com/railsmachine/moonshine_heartbeat.git 在config/moonshine.yml 中配置设置(参见下面的配置) 为您的高可用性资源配方调用 Moonshine 清单中的配方:heartbeat 基本配置 基本心跳设置有两个HAProxy的服务器会是这个样子的moonshine.yml :heartbeat:
【文件预览】:
moonshine_heartbeat-master
----lib()
--------templates()
--------heartbeat.rb(2KB)
----spec()
--------spec_helper.rb(478B)
--------heartbeat_spec.rb(3KB)
----LICENSE(7KB)
----README.md(3KB)
----TODO(23B)
----moonshine()
--------init.rb(75B)

网友评论