I am working on chat app. I have two ejabberd nodes node1@domain.com and node2@domain.com if i will do master-master clustering between nodes and each nodes have their own riak server if node1 riak server goes down then how node1 transfer request to node2? Please suggest me solution.
相关问题
- Get Offline Messages From XMPP Without Becoming On
- Is “new” in Erlang part of the official standard a
- how to create a keep-alive process in Erlang
- ejabberd and Erlang installation with lager_transf
- Encrypt (cryptojs) - Decrypt (erlang)
相关文章
- How do I modify a record in erlang?
- Check active timers in Erlang
- undefined function maps:to_json/1
- How to convert datetime() to timestamp() in Erlang
-
How to join multiple rooms by just sending one
- what good orm api will work well with scala or erl
- How to query nested keys in Riak?
- GC performance in Erlang
This is not how it is supposed to work. If you deploy with Riak, you are supposed to have a dedicated Riak infrastructure. Moreover, having only two Riak nodes does not make sense: You need at least 5 Riak nodes to start getting the benefits of using Riak (In term of redundancy / Availability of data).
ejabberd is supposed to refer to the Riak cluster as a whole, single DNS name as Riak is supposed to be configured with a load balancer, like for example HAProxy: http://docs.basho.com/riak/latest/ops/advanced/configs/load-balancing-proxy/