Crowdhailer

Crowdhailer

Creator of Raxx

Example Web app with dynamic node discovery

I am trying to explore the possibilities for elixir deployment to cloud environments.

The application has one page that shows a list of all nodes know about. When a node comes up or down the updated list of nodes is set to the browser using server sent events.

  • Version 0.1.0 worked when all the erlang sessions were started on one node.
  • Version 0.2.0 uses several nodes started by vagrant, but the nodes had to have a static ip and where discovered using a sys.config
  • Master Uses UDP broadcast to discover all the nodes.

A lot of the networking stuff is new to me. If anyone had the time to give any feedback on the project/approach I would be really grateful.

Most Liked

OvermindDL1

OvermindDL1

Looks like the usual style of growing such a system, same pattern I’ve used in the past in Erlang. :slight_smile:

Where Next?

Popular in Discussions Top

restack_oslo
Hello, Please pardon me for any faux paux. I am 46 and this is my first time on a forum of any kind. I wanted to to get answers from tho...
New
Crowdhailer
I’ve been hearing much about the new formatter and it’s something I have been keen to try. I find examples buy far the most illuminating...
248 19760 150
New
pillaiindu
In django there is a cache framework backed by memcached. Rails also puts a lot of emphasis on caching, and even the idea of russian-doll...
New
rms.mrcs
A couple of days ago I was discussing with a friend about different approaches to write microservices. He said that if he was going to w...
New
Nvim
Anybody knows a comprehensive comparison of Django and Phoenix, thanks for the help. Where are they similar? Where do they differ the m...
New
paulanthonywilson
I like Umbrella projects and pretty much always use them for personal Elixir stuff, especially Nerves things. But I don’t think this is ...
New
fireproofsocks
I’ve been working on an Elixir project that has required a lot of scripting. I usually reach for Elixir because I like it more (and in th...
New

Other popular topics Top

joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
AstonJ
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New

We're in Beta

About us Mission Statement