~/talk

Giving your Heroku App highly-available PostgreSQL

Talkat RailsConf 2018 · 2018-04-17..04-19· [ruby-on-rails, databases, devops-and-delivery]
slides:none on file

Explains how a Compose / IBM Cloud HA PostgreSQL setup uses etcd plus a Governor/Patroni-style coordinator with HA proxy and WAL streaming to keep leader/follower nodes synced, then walks through the exact migration: grab a Heroku PG backup, pg_restore into the IBM Cloud connection string (nonstandard port), remove the Heroku Postgres add‑on so DATABASE_URL can be reset, set DATABASE_URL to the new host, verify in console; data copy is online, the config‑var switch causes the only brief downtime.

AI-written summary · about

  1. 0:00High-availability PostgreSQL intro
  2. 1:25IBM Cloud PostgreSQL HA
  3. 2:57Demo setup and backup
  4. 4:00Restore to IBM Cloud PostgreSQL
  5. 5:29Heroku config for new instance
  6. 7:02Migrate data and final checks
  7. 8:33Downtime and sync handling
  8. 9:38Elasticsearch integration
  9. 10:43Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.