使用EC2的自动Ejabberd集群(Amazon Web Services) [英] Automatic Ejabberd clustering with EC2 (Amazon Web Services)

查看:92
本文介绍了使用EC2的自动Ejabberd集群(Amazon Web Services)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 Ejabberd .com / ec2 / rel = nofollow> EC2 作为 XMPP 服务器以实时发送提供给客户的信息...

Using Ejabberd in EC2 as an XMPP server to send real-time information to clients...

如何设置群集,以便在服务器上的负载过多时, Auto Scaling 是否将创建一个新的EC2实例,该实例属于Ejabberd集群?

How it is possible to set up clustering so that if the load on the server gets too much, Auto Scaling will create a new EC2 instance that is part of the Ejabberd cluster?

文档我已经读过,建议您必须已经拥有计算机并手动配置要添加到群集的每台新计算机。当然可以,尽管您不必运行冗余EC2实例以防万一?

The documentation I've read suggests that you must already have the machines and manually configure each new one to be added to the cluster. Surely though you don't have to be running redundant EC2 instances just in case?

推荐答案

您将需要手动执行此操作,但是单个ejabberd服务器可以处理大量流量。每台服务器都会为您的群集添加大量可用连接,因此这不是一项常见的任务。

You'll need to do this manually, however a single ejabberd server can handle quite a lot of traffic. Each server adds a significant amount of available connections to your cluster, so it's not a common task.

也就是说,我非常小心在EC2中运行ejabberd。我已经进行了大约一年,我们定期与mnesia网络分区进行斗争。集群式ejabberd服务器在EC2网络中无法可靠运行。

That said, I'd really be careful running ejabberd in EC2. I've been doing it for about a year, and we fight mnesia network partitioning pretty regularly. Clustered ejabberd servers don't work very reliably in the EC2 network.

这篇关于使用EC2的自动Ejabberd集群(Amazon Web Services)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆