Skip to content

Support Cockroach DB

Issue #598


Support a DB technology that can reduce DB downtime of the service and allow the DB to horizontally scale.


We should support Cockroach DB in addition to Postgres. Cockroach shards and replicates over several work nodes allowing it to be horizontally scalable and have higher availability than traditional single node databases. It also support doing zero downtime upgrades of the database.

Cockroach is already highly compatible with Postgres, it uses the same client drivers and supports most of the same SQL dialect.

Known Issues and Limitations

Alternatives Considered

  • Don't support it - this would allow us to stay more nimble by only having to support one database type, but keeping the sevice up with a high level of 9's might be harder.