Conversation
|
If we do our heavy queries on a read-only replica, then we can avoid bringing down production. |
Indeed, the nice thing with azure table and similar services is that you can't make queries that won't scale. It's usually pretty obvious that a full-table scan doesn't scale. With postgres there is risk you don't find performance issues before it's scaled. |
|
Given our team's knowledge of postgres at scale, I'd say that is not so much a risk as a certainty. |
|
I'm in favor of this, but I tihnk at least two members of the team should go to some postgres admin training. @selenamarie may be able to recommend something? Ideally we'd have a good knowledge of things like sharding, replicas, explaining queries, when to use views and triggers, and so on. And probably a half dozen things with which I don't even have a passing acquaintance. I think a proposal for this should include some specifics about how the data would be organized in Postgres, and also how we'd migrate to it. |
|
This quarter:
To the end of the first bullet point, I emailed Selena |
|
I don't think there's any dissent that this is something we should do, although we haven't committed to when to do it. So I've marked it as "decided". |
Pros:
Cons:
There is an initial attempt at outlining what the database schema would look at here:
https://public.etherpad-mozilla.org/p/jonasfj-queue-with-postgres