По порядку Middle

Порядок ответа о техническом решении

Вопрос

Расставь части ответа на Why did you choose X? в логичном порядке.

Попробуйте сами

Расставьте шаги по порядку стрелками.

  1. 1
    We considered PostgreSQL and MongoDB.
  2. 2
    MongoDB would give us flexibility, but at the cost of the guarantees we needed.
  3. 3
    So we went with PostgreSQL.
  4. 4
    We needed strong consistency for payments.
  5. 5
    The downside was stricter migrations, so we automated them in CI.
Показать ответ и разбор

Ответ

Правильный порядок

  1. 1
    We needed strong consistency for payments.
  2. 2
    We considered PostgreSQL and MongoDB.
  3. 3
    MongoDB would give us flexibility, but at the cost of the guarantees we needed.
  4. 4
    So we went with PostgreSQL.
  5. 5
    The downside was stricter migrations, so we automated them in CI.

Разбор

Требования → варианты → компромисс → решение → чем пожертвовали и как закрыли.

Обновлено