Images uploaded by users are stored by users. Due to the large volume of uploads, it is impossible to upload images to a server. Therefore, images uploaded by users must be distributed and stored according to certain rules, how do you solve this problem? By month? Or what? How does one automatically select a storage server during upload ?... Images uploaded by users are stored by users. Because of the large upload volume, it is impossible to upload images to a server.
How do you deal with this problem? By month? Or what? For example
Why automatically select a storage server? How do I obtain the path when displaying it?
Answer
Reply content:
Images uploaded by users are stored by users. Because of the large upload volume, it is impossible to upload images to a server.
How do you deal with this problem? By month? Or what? For example
Why automatically select a storage server? How do I obtain the path when displaying it?
Answer
Lightweight fastdfs, mogilefs, moosefs, or a netapp nas are also said to be useful for redis. TFS haystack under heavyweight research.
If uploading files does not require subsequent processing please use CDN, qiniu is good, you can use my invitation link https://portal.qiniu.com/signup? Code = 3l9crsixmcy8i