#Rails: wrote a small piece about adding a "Read-Only-Mode" (Maintenance mode) to our ATS recruiting app.
Last week-end we performed the migration of our largest app from an older dedicated server into a Kamal-based, Hetzner hosted Docker world, as well as PgAutoctl HA setup. To do that consistently without losing data, we added a ReadonlyMode and stopped writing in the old app-server while moving the DB to the new place - which took a little bit of time.
https://www.stefanwienert.de/blog/2024/11/14/rails-add-maintenance-read-only-mode/