Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the Fly.io experience smooth #207

Open
jacobobryant opened this issue Jul 6, 2024 · 0 comments
Open

Make the Fly.io experience smooth #207

jacobobryant opened this issue Jul 6, 2024 · 0 comments
Labels
Roadmap Major features I'd like to add

Comments

@jacobobryant
Copy link
Owner

Try out https://fly.io again. I'm really interested in Fly but every time I use it I run into weird production bugs. But if it's more stable now, it'd be interested to either get it working nicely with XTDB or maybe write a howto for using sqlite + litestream instead since Fly is big into those.

For XTDB, that could mean setting up checkpointing + a howto and/or helper code for setting up a new deployment with Postgres + MinIO. Or maybe--and I think this would be pretty interesting to experiment with--after using Fly to provision the server, we could treat it more like a long-running VM than a short-lived container. e.g. instead of Postgres + MinIO, you could just set up a storage volume and use that, same as setting up a DigitalOcean droplet with the XTDB standalone topology. clj -M:dev deploy and clj -M:dev soft-deploy could likewise rsync the code onto the storage volume--no need to go through a whole fly deploy for application code changes. You'd only need to do fly deploy when you change the Dockerfile.

Eventually, Fly could theoretically replace DigitalOcean as the default recommended deployment provider, however it'd need to be rock solid. In the mean time, howto documentation + maybe some helper code in a standalone library would be great.

@jacobobryant jacobobryant added the Roadmap Major features I'd like to add label Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Roadmap Major features I'd like to add
Projects
Status: No status
Development

No branches or pull requests

1 participant