Scaling Questions Pt: 1

This post will provide a series of questions on scaling an application with each question building off the one before it. Try to answer the questions first and then see how your answers compare!

Let’s begin.

How would you handle a server crash?

You restarted the server due a crash, but your db is empty now. How do you handle this in the future?

You have your backup db. But users are getting 404 errors. What do you do?

After some time your app produces 500 errors. What do you do?

The database connection pool has been saturated. What is the database connection pool? Why is it saturated? How do you fix this?

That’s the end of part 1. Next, we’ll see what happens when we expand globally! Till then — happy hacking!

Just another one of those dreamers with a sparkle in his eyes.