migration sequence / spring cleaning

Cheaper

more reliable

more modern

Speeeed, (although current speed isn’t bad, it could help w collab/ot)

Not currently too pressing

Also look at funding , Glassdoor, support quality , age

https://railway.app/

Needs

funner

postgres

node

most promising

usage graphs and metrics to know when and where the app is slow/error-ing

Does not have automated backups

ideally, built in logging or some logging solution

can be reverted from backup, regular backups?

python

secrets , env

scheduled tasks

shows errs?

Alert Email when usage/response time passes a threshold /percentile

possible mitigation?

record logging data, ideally interactively/searchably. configureable data retention period

can invite other ppl into the account to view metrics and logs? team debugging

railway dealbreaker: no built in db backups and rollback

Memory leaks shouldn’t bankrupt me

github integration: build and publish after git push/merge (watches main)

Switch to using set timeout for short time stuff

Cron jobs: scheduler for tasks than run every day? Eg every Sunday

Upgrade Postgres version locally first as test

bonus: webhooks for downtime/slowdown errors so i can make a simple api status page

local branch: update kinopio-server node version and deps

git: push branch when done

railway: deploy from branch

railway: port env vars

on both machines

railway: test routes, and confirm heroku db connection works

use fixed values for heroku db connection (same as postico)