建议在服务器上存储大量图像[PHP] [关闭]

I am having one website for image gallery. Where i want to store Million of photographs on server. So please suggest me how i can store the images so that it will be easily retrieval and storing...

Should i go for database or Storing into Directory .. I will not go with database , it will panic to retrieve data. If go with Directory structure , it will be problem if 1000 start operation of upload then it will be problematic..

Thanks in advance

If your question is about the best way to store images on a server, I would suggest that you store the image files in a directories and save the links to those images in a database.

Try a key value store one nice key value store is redis its fast and easy to learn it will enable fast storing and retrieval of the images.