Re: CouchDB and RabbitMQ clusters

2021-07-15 Thread Robert Newson
Just agreeing with all previous responses but would add that it might make sense in your setup to put epmd under direct management (runit, systemd, etc) and arrange for it to start before either service. And another note that if epmd _crashes_ then existing nodes do not re-register (and that’s

Re: CouchDB and RabbitMQ clusters

2021-07-15 Thread Joan Touzet
I have seen it work this way myself with these two applications. Whoever starts first starts epmd, and the second sees epmd running on startup and simply connects to that. -Joan On 15/07/2021 10:10, Adam Kocoloski wrote: > That’s typically how it works for a well-behaved Erlang application, yes.

Re: CouchDB and RabbitMQ clusters

2021-07-15 Thread Adam Kocoloski
That’s typically how it works for a well-behaved Erlang application, yes. CouchDB does work this way; I’m not 100% certain about RabbitMQ but it probably does as well. Cheers, Adam > On Jul 15, 2021, at 5:11 AM, Andrea Brancatelli > wrote: > > Hello everybody, > > I have a general Erlang

CouchDB and RabbitMQ clusters

2021-07-15 Thread Andrea Brancatelli
Hello everybody, I have a general Erlang question but I think you could help me with that... I need to run CouchDB and RabbitMQ on the same set of (three) nodes, all clustered together. What happens with epmd? Erlang's documentation (https://erlang.org/doc/man/epmd.html) is pretty vague: