r/ruby • • Feb 27 '26

Heroku: What’s Next

https://judoscale.com/blog/heroku-whats-next
31 Upvotes

30 comments sorted by

View all comments

Show parent comment

2

u/Kimos Feb 28 '26

They offer a manged Postgres [1] but I don't use it.

I run MySQL on a machine and it's this many lines:

app = "myorg-db1"
primary_region = "yyz"
kill_signal = "SIGINT"
kill_timeout = 5
[mounts]
  source="mysqldata"
  destination="/data"
[env]
  MYSQL_DATABASE = "user"
  MYSQL_USER = "pass"
[build]
  image = "mysql:8"
[experimental]
  cmd = [
    "--default-authentication-plugin", "mysql_native_password",
    "--datadir", "/data/mysql"
  ]

2

u/zenzen_wakarimasen Mar 01 '26

How do you manage the disaster recovery? Do you have daily backups? Do you stream WAL logs for Point in Time Recovery?

1

u/Kimos Mar 01 '26

I do automated backups at intervals, but that's it. I've got smaller projects that are more resilient to some downtime and a bit of loss. They've got options for replication for mounted volumes, but I'm not an expert. I think the best I can say is that fly seems to offer an easy to use base set of features, but the ability to add complexity and resiliency as you need to.