UmeDemo
FlightTracker
FlightControl
SamSite
Aircraft
Just an application to spin up PubSub and get it connnected to other available PubSub's in the cluster
An application Handling Web Service - Map and visuals of all the processes broadcasting their state to the Web client Handling Dynamic supervisor used by all the Aircrafts Handling the FlightController
A Module implementing the SamSite genserver
A Module implementing the FlightControl genserver
A Module implementing the Aircraft genserver
Start node A
cd ~/flight_tracker
iex --name [email protected] --cookie secretofmana -S mix phx.server
Start node B
cd ~/ume_demo
iex --name [email protected] --cookie secretofmana -S mix run
node B assumes node A is called [email protected]
SamSite.supervised_round_trip(UmeDemo.Super, FlightControl, {Phoenix.PubSub, FlightTracker.PubSub})
Aircraft.spawn_kalinin_random(FlightControl, FlightTracker.Super, 10)
Aircraft.spawn_random(FlightControl, FlightTracker.Super, 2750)
This is a product intended to give a visual demo of what BEAM & Elixir is capable of. The duration of the talk is 50min including questions.
The code is the result of me experimenting / trying out ideas and getting shit done quickly.
Dont use this as a template for how to architect your cool application running in BEAM - To be viewed more as inspiration for something better.