gregmsanderson / fly-live-beats

Deploying the Live Beats app to various platforms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fly Live Beats

Amazon Web Services (AWS) is the largest cloud provider in the world, with around a third of the market share. It dominates the market for running a container in the cloud. An estimated 80 percent of cloud-hosted containers run on AWS. So it made sense to start there.

I tried deploying the same app to both Fly.io and AWS to compare the experience.

The app is Live Beats. It's a full-stack app including form validation, file uploads and navigation. It uses Phoenix LiveView to provide a real-time experience without needing JavaScript. HTML is rendered on the server. Changes are automatically tracked so the client is only sent the data it needs. This reduces latency, keeps the payload small and means the application can react faster.

Note: The original app was written to run on Fly.io. So it you are deploying there, make sure to use that code. If you are deploying to AWS, you would instead use the modified version of that app that's in this repo. For reference you might like to see the changes I've made to it.

First I'll try running Live Beats locally.

About

Deploying the Live Beats app to various platforms

License:MIT License


Languages

Language:Elixir 84.1%Language:CSS 5.1%Language:HTML 5.0%Language:JavaScript 4.6%Language:Dockerfile 1.0%Language:Shell 0.1%Language:Batchfile 0.0%