T
T
theMacros2016-02-16 11:34:20
Server equipment
theMacros, 2016-02-16 11:34:20

How to create a distributed file storage system?

It is necessary to make a distributed storage system for files, namely images. At the moment, everything is stored on one server and the volume of images is already approaching two terabytes. I would like to make images on a separate server and on a separate subdomain.
But there is a difficulty - thumbnails for images are formed at the moment the page is opened. That is, if a page needs a 50x50 preview, then it is formed at the moment the page is loaded.
I would be grateful for any thoughts on this matter.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Peter, 2016-02-16
@petermzg

What's the problem?
Dedicate a separate server for the views. Upon request, it will download the image from the file server and display it in the required format.

R
redakoc, 2016-02-16
@redakoc

I would just turn to hosting like cloud storage
Logic can stay where it is.
Pictures - can go to another hoster.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question