Answer the question
In order to leave comments, you need to log in
How and where to store a huge amount of images?
My project is now about 80 GB ... it has about 200,000 pictures. Now I store pictures in the project folder, in the img/{YEAR}/{MONTH}/* folder.
I would like to separate the pictures from the project and store them somewhere on a separate server on which we will work with the backup.
Please advise something. They say you can use CDN, cloud storage.
Answer the question
In order to leave comments, you need to log in
Choosing a cloud storage or CDN is a good option because and I don’t take up space on the server, and it reduces the load on the server itself. And choosing a CDN or a cloud depends on what you want.
In any case, you will have to pay, only for the cloud it is for the stored space, and for the CDN it is also for outgoing traffic. Free on various cloud storages they give space from 2 to 25GB, then you will have to buy tariffs, where the cost varies from 30 rubles for 10GB to $1.99 for 100GB. DropBox only offers 1TB for $9.99.
At CDN, prices for outgoing traffic vary on average 3-4 rubles per 1GB.
With the right settings, backups can be made both to the cloud and to the CDN.
If it is important that images are loaded quickly from anywhere in the world or Russia, then a CDN is preferable here, because. they have more coverage.
When using a CDN, it is also possible to access the repository via FTP.
CDN is cool. But pay for traffic.
Can be stored on a separate server + a separate domain. This is the best option.
And 200k is a trifle.
Ceph supports the Amazon S3 protocol, which allows you to store files in your cloud and serve them over HTTP in the same way as the AWS service.
Or find out which companies offer their cloud storages based on the same Ceph in order to relieve yourself of the burden of a system administrator.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question