Skip to content

Instantly share code, notes, and snippets.

View Ayanda-D's full-sized avatar
🌍
africa

Ayanda Dube Ayanda-D

🌍
africa
  • East Sussex
View GitHub Profile
@Ayanda-D
Ayanda-D / embedded.md
Created January 13, 2022 22:55 — forked from andrzejsliwa/embedded.md
Ranch User Guide WIP

Embedded mode

Purpose

Embedded mode allows you to insert Ranch listeners directly in your supervision tree. This allows for greater fault tolerance control by permitting the shutdown of a listener due to the failure of another part of the application and vice versa.

Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$
Ayandas-MacBook-Pro:sbin ayandadube$ ./rabbitmqctl cluster_status
Cluster status of node 'rabbit_1@Ayandas-MacBook-Pro' ...
[{nodes,[{disc,['rabbit@Ayandas-MacBook-Pro','rabbit_1@Ayandas-MacBook-Pro',
                'rabbit_2@Ayandas-MacBook-Pro']}]},
 {running_nodes,['rabbit_2@Ayandas-MacBook-Pro','rabbit@Ayandas-MacBook-Pro',
                 'rabbit_1@Ayandas-MacBook-Pro']},
 {cluster_name,<<"rabbit@ayandas-macbook-pro">>},