Home›Design›Submit a design for review
Designs · review

Submit a design for review

Is my database design sound?

If you are designing the data side of an application, send it in. I read what comes in and reply to the ones I can, with what I would change and why. Use the same outline as the design doc template: the workload first, then what goes where.

Two ways to send it

In public, or in private

How to ask

A way to send a design for review will be added here soon. For a full review of a running system, see Work with me.

What I look at

The questions every review asks

  1. Is there one source of truth for each kind of data?And is every other copy rebuildable from it?
  2. Which rules does the database enforce?Uniqueness, money, bookings, tenant isolation.
  3. What does a lost write cost, and do the commit and replication settings match?See what a commit waits for.
  4. Do the indexes match the three most frequent queries?See queries that look fine and are not.
  5. What happens at ten times today's load, and what breaks first?See the capacity calculator and the anti-patterns.
Part 3 of 4 · Design · 24 pagesAll pages

Which database does my application need? What kind of application data goes in which database, and why, as design docs, plus the anti-patterns and the decisions behind them.