Skip to content

Document amqp_dist a bit#1

Draft
jamesaimonetti wants to merge 13 commits intomasterfrom
preso2026
Draft

Document amqp_dist a bit#1
jamesaimonetti wants to merge 13 commits intomasterfrom
preso2026

Conversation

@jamesaimonetti
Copy link
Copy Markdown
Member

Includes CodeBEAM 2026 presentation

"amqp://guest:guest@rabbitmq:5676/lx1"
,"amqp://guest:guest@rabbitmq:5676/lx2"
,"amqp://guest:guest@rabbitmq:5676/lx3"
"amqp://guest:guest@localhost:5672"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a way to simulate multiple zones. any reason for removing it ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a config that probably works out of the box for someone, vs having to edit it then start nodes. not married to the change but could also introduce a sys.config.example with the multiple zones configured and annotated?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point, leave the change and introduce the sys.config.example for multiple zones

Comment on lines +6 to +12
Erlang ships with a default distribution protocol called EPMD (Erlang
Port Mapper Daemon). When a node starts up, it registers itself with a
little helper process (EPMD) running on the same machine, and other
nodes ask EPMD "hey, how do I reach the node named foo@mymachine?"
EPMD answers with a port number, and the connection proceeds from
there. It's a bit like a phone book: you look up a name, get a number,
dial it.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EPMD is not the default distribution protocol, tcp_dist is. EPMD is like you said a phonebook . amqp_dist could work with EPMD

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fair, good nuance to add, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants