Skip to content

Instantly share code, notes, and snippets.

View dougbarrett's full-sized avatar
🆗
coding the things

Doug Barrett dougbarrett

🆗
coding the things
  • Southern California
View GitHub Profile

Platform Comparison: Ephemeral Builder + Deploy Pattern

Context

We have a Go-based AI agent platform that generates, compiles, and deploys agent binaries. The current architecture on Fly.io uses two distinct capabilities:

  1. Ephemeral builderDispatchBuild spins up a Fly Machine via the Machines API (api.machines.dev), it builds the Go binary, then the machine self-destructs
  2. Persistent deploy — The compiled binary runs as a long-lived Fly app with auto_stop_machines/auto_start_machines

This document evaluates Railway, Koyeb, and Northflank as alternative deployment targets.

Keybase proof

I hereby claim:

  • I am dougbarrett on github.
  • I am dougbarrett (https://keybase.io/dougbarrett) on keybase.
  • I have a public key ASDdylYK-uqG8agW540jJHZZasQCpaoKuQAXMykSe32vJQo

To claim this, I am signing this object:

@dougbarrett
dougbarrett / gist:1c4d589e207f8c80f76a
Created January 24, 2015 11:05
Example Gist Embed
Here is an example gist embed!

Hello world

<?php

    echo "Hello World"

This is a test