Local development and staging with Amazon Redshift

前端 未结 4 752
野趣味
野趣味 2021-01-31 03:21

I like to set up tools and services with production, staging, and local development. I\'d like to use Amazon Redshift, and starting at $180 a month seems pretty reasonable for a

4条回答
  •  -上瘾入骨i
    2021-01-31 03:40

    Another cost-cutting solution is to treat each database as an environment in a single cluster. Databases cost nothing, and you're allowed 60 of them in a cluster

    We've tried the Postgres-as-emulator solution, and it's been kind of OK, but

    • The performance characteristics are radically different
    • It's easy to use Postgres features that are not in Redshift (or vice versa)
    • It's a pain to maintain a schema that has optional parts (indexes for one, sort keys for the other, for example).

    We've backed away from that for the moment, though as we get larger we may have to use a hybrid solution where acceptance testing & staging are databases in Redshift, while developers go back to using Postgres.

提交回复
热议问题