educative.io

Creating copies in case storage server is down

“Losing files is not an option for our service. Therefore, we will store multiple copies of each file so that if one storage server dies, we can retrieve the photo from the other copy present on a different storage server.”

What exactly would we be scaling here? The number of databases or the number of servers accessing a database? I’m confused because it seems like if one server is down another server could just access the same database.


Type your question above this line.

Course: https://www.educative.io/collection/5668639101419520/5649050225344512
Lesson: https://www.educative.io/collection/page/5668639101419520/5649050225344512/5673385510043648

Hello @cckn,

Basically, we store the multiple copies of a single file on multiple storage servers so that if one storage server goes down, we can retrieve the file from another storage server. So we are scaling both, which means that now we have multiple copies of a single file stored on the multiple storage servers.

I hope I have answered your query; please let me know if you still have any confusion.

Thank You :blush: