问题
Use MongoDB GridFS store images and images stored directly on disk What are the advantages?
回答1:
- Main advantage in my opinion is easy files distribution across multiple servers when system start growing (sharding, replication).
- Easy improvement reads/writes speed.
- No need to care where to put new file.
- Files systems become slow with big amount of small files.
来源:https://stackoverflow.com/questions/6212990/mongodb-gridfs-vs-directly-disk-io