bentanweihao

bentanweihao

Author of The Little Elixir and OTP Guidebook

Showing Posts 1 to 10

dardub

dardub

Thank you for writing things!

nrrso

nrrso

Ok, i just registered here while learning elixir and was curious to know how shall I distribute my tiny little services as nodes in a cluster over N networks and voilà there’s a topic with a fine article. This elixir community is awesome and btw bought your book :wink:

bentanweihao

bentanweihao OP

Author of The Little Elixir and OTP Guidebook

Best. Comment. Ever. <3

bentanweihao

bentanweihao OP

Author of The Little Elixir and OTP Guidebook

<3! Thanks!

Oxyrus

Oxyrus

Shared your post on the Spanish group of Elixir, they loved it!

Cheers.

bentanweihao

bentanweihao OP

Author of The Little Elixir and OTP Guidebook

This makes me very happy. :wink:

madshargreave

madshargreave

Awesome! Thank you so much for putting time into this.

Would love to see how to go about this in an auto-scaling environment (in which the nodes dynamically created and removed, and thus, the hosts are not known at deployment)

sabondano

sabondano

Yes, details on how @bentanweihao would recommend to go about in an auto scaling environment would be awesome!

minhajuddin

minhajuddin

Thanks for writing this up :slight_smile:

A few questions

  1. How secure is the communication between nodes? Does it happen in clear text?
  2. I see that you can execute code on other nodes, are there any particular instances in a phoenix app where this could be useful? The way it is setup in your post HAProxy would distribute the load regardless of the phoenix apps being in a cluster. Do you see any scenarios where cross node communication may be useful?
andre1sk

andre1sk

  1. I think you will want to encrypt the connection

Where Next? Top

Trending in Guides/Tuts Top

c4lliope
# ~/src/livebook/.iex.exs System.cmd("xdg-open", [ LivebookWeb.Endpoint.access_url() ] ) Because Livebook requires a unique passcode on ...
New
krasenyp
You probably already know that &lt;span&gt;{nil}&lt;/span&gt; in a HEEX template produces &lt;span&gt; &lt;/span&gt; when rendered. I fin...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews