Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
  1. Im setting up a cluster of Ejabberd nodes to to host 1M+ active connections.

Is the internal Mnesia database on every cluster the best solution in terms of reliability and load balancing, or would it be better to use an external DB on a seperate server?

  1. From what I can tell, each node needs its own DB and all nodes cant share one common DB?
share|improve this question

closed as not constructive by mdpc, MadHatter, Khaled, Dave M, Stefan Lasiewski Feb 13 '13 at 17:54

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 1 down vote accepted

My instinct of scaling systems generally says that a cluster of external databases would be a better thing than having lots of internal databases. I've never actually looked at scaling ejabberd, but generally it's good to separate services into clusters.

This quora answer seems to agree about scaling to a separate DB when you've many nodes.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.