{"id":26958529,"url":"https://github.com/drobban/ume_demo","last_synced_at":"2025-04-03T04:19:42.216Z","repository":{"id":285289649,"uuid":"956225245","full_name":"drobban/ume_demo","owner":"drobban","description":"UmeDev demo - 2025 April 11 - 12:30pm","archived":false,"fork":false,"pushed_at":"2025-03-30T20:38:03.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T21:24:02.412Z","etag":null,"topics":["beam","dynamic-supervisor","elixir","genserver","phoenix-liveview","phoenix-pubsub"],"latest_commit_sha":null,"homepage":"https://umedev.se/program","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drobban.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-27T22:43:11.000Z","updated_at":"2025-03-30T20:45:13.000Z","dependencies_parsed_at":"2025-03-30T21:34:08.196Z","dependency_job_id":null,"html_url":"https://github.com/drobban/ume_demo","commit_stats":null,"previous_names":["drobban/ume_demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drobban%2Fume_demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drobban%2Fume_demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drobban%2Fume_demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drobban%2Fume_demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drobban","download_url":"https://codeload.github.com/drobban/ume_demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246933798,"owners_count":20857130,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beam","dynamic-supervisor","elixir","genserver","phoenix-liveview","phoenix-pubsub"],"created_at":"2025-04-03T04:19:41.864Z","updated_at":"2025-04-03T04:19:42.203Z","avatar_url":"https://github.com/drobban.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UmeDemo\n\n## Repos related to this demo \n\n```\nUmeDemo\nFlightTracker\nFlightControl\nSamSite\nAircraft\n```\n\n### UmeDemo \nJust an application to spin up PubSub and get it connnected to other available PubSub's in the cluster\n\n### FlightTracker\nAn application \nHandling Web Service - Map and visuals of all the processes broadcasting their state to the Web client\nHandling Dynamic supervisor used by all the Aircrafts\nHandling the FlightController\n\n### SamSite \nA Module implementing the SamSite genserver\n\n### FlightControl \nA Module implementing the FlightControl genserver \n\n### Aircraft\nA Module implementing the Aircraft genserver \n\n## Setup\n\nStart node A\n\n```bash\ncd ~/flight_tracker\niex --name crash24@127.0.0.1 --cookie secretofmana -S mix phx.server\n```\n\n\nStart node B \n\n```bash\ncd ~/ume_demo\niex --name sam_site@127.0.0.1 --cookie secretofmana -S mix run\n```\n\nnode B assumes node A is called crash24@127.0.0.1\n\n\n### Init aircraft / sam site\n\n```elixir\n\nSamSite.round_trip(FlightControl, {Phoenix.PubSub, FlightTracker.PubSub})\n\nAircraft.spawn_kalinin_random(FlightControl, FlightTracker.Super, 5)\n\n\nAircraft.spawn_random(FlightControl, FlightTracker.Super, 2750)\n\n```\n\n## Final words\n\nThis is a product intended to give a visual demo of what BEAM \u0026 Elixir is capable of.\nThe duration of the talk is 50min including questions.\n\nThe code is the result of me experimenting / trying out ideas and getting shit done quickly.\n\nDont use this as a template for how to architect your cool application running in BEAM - To be viewed more as inspiration for something better.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrobban%2Fume_demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrobban%2Fume_demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrobban%2Fume_demo/lists"}