Hi, I'm planning to use ejbberd for our chat platform with very large amount of users.
I have a question about scalability of ejabberd, especially about mnesia.
My understanding is that each ejabberd node has full replication of mnesia. Is this correct?
If so, I'm worrying that it doesn't scale out enough even though I use many nodes.
Please teach me use cases of ejabberd to support huge number of users.
You decide which mnesia
You decide which mnesia tables are fully replicated on which nodes, and which ones are only fully stored in a single node.
Notice that you can also decide which ejabberd modules use mnesia, and which ones use MySQL or other database backend. So, probably you want to store heavy tables (like roster, offline, ...) in a database system you know well how to manage, and use mnesia only for light tables.
Thank you, badlop. I
Thank you, badlop.
I misunderstood how ejabberd use mnesia and external DBs.
I'll setup ejabberd cluster and try to configure them.