2 ms·
I moved a rails MVP from heroku to fly.io. Biggest negative so far: no easy way to reset the database [1]. I'd typically like to blow it away and re-create it
by nomilk 4y ago
I moved a rails MVP from heroku to fly.io.
Biggest negative so far: no easy way to reset the database [1]. I'd typically like to blow it away and re-create it frequently as I tinker with it e.g. adding/removing/renaming a column or changing a data type. Those small changes now require migrations, which are a fair bit more work (but not a huge problem tbh).
Biggest positive: ability to select a zone meant response time for Australian users was very fast compared to heroku; making a big difference to UX.
[1] https://stackoverflow.com/q/74664822/5783745 https://stackoverflow.com/q/74664822/5783745
- rtpg 4y agoThis is stuff where I highly recommend writing up helper scripts. I have one to pull in stuff from a fly Postgres DB, spin up my local docker compose setup, and then pump the data into there. I think that's the real niceness here, a CLI that is pretty straightforward (not perfect by any means! but I can still wrap my head around it)
- nomilk 4y agoSounds awesome/slick. If you know of any examples that can be shared would love to see them. My use of the fly CLI is rudimentary at best, and I don't use scripts at all, just (mostly basic) commands.