All Questions
Multi Step Processes easy

You are writing a script to process 10,000 images. The script runs on a server that might restart unexpectedly. To ensure you don't have to start over from image #1 after a crash, what should you implement?

  1. A Increase the server's RAM.
  2. B Checkpointing (saving the ID of the last processed image to a database).
  3. C Use a faster CPU to finish before the crash.
  4. D Store the progress in a global variable in Python/Java.

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

Get the app

Related questions