This video is sponsored by https://controlplane.com/
Follow me on Mastodon: https://hachyderm.io/@fasterthanlime
Support me on Patreon or GitHub: https://fasterthanli.me/donate
Fresh web framework: https://fresh.deno.dev/
Contents
00:00 - Start
00:04 - Recap
00:33 - Fetching revisions and restarting Deno
01:19 - Rust's Child API vs Linux processes
02:51 - Downloading a new revision from Postgres
04:15 - The "." path element on Linux
04:41 - Doing it all in a single query
06:06 - Waiting and killing at the same time
07:05 - Testing deploys locally
07:15 - Woops, forgot to create parent directories
07:33 - Testing deploys locally, try 2
08:42 - Recap: how our deploys work
09:23 - Deploying the deployer to production
09:57 - Using our deployer to push the latest Fresh app
10:55 - Adding more locations (Google Cloud, Azure)
11:16 - Woops, old deploy is sticking around
11:49 - Comparing latencies across locations
14:03 - Teaser