All Questions
Scaling Writes easy

Your 'Logs' table has 10 billion rows and writes are getting slow. You barely access logs older than 1 year. What is the simplest strategy to improve performance?

  1. A Add more indexes.
  2. B Archive (move) old data to 'Cold Storage' (e.g., S3 or a separate table) and delete it from the main active table.
  3. C Buy a larger hard drive.
  4. D Use a faster internet connection.

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

Get the app

Related questions