All Questions
Scaling Writes medium

Why are Database Triggers (logic that runs automatically on INSERT) generally discouraged in high-scale write systems?

  1. A They are invisible hidden logic that executes synchronously, locking the row longer and silently killing write performance.
  2. B Triggers are not supported by SQL.
  3. C They consume too much disk space.
  4. D They cannot update other tables.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions