Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MongoDB GridFS VS Directly disk IO

Tags:

mongodb

gridfs

Use MongoDB GridFS store images and images stored directly on disk What are the advantages?

like image 535
Raymond Jiang Avatar asked Jun 02 '11 09:06

Raymond Jiang


1 Answers

  1. Main advantage in my opinion is easy files distribution across multiple servers when system start growing (sharding, replication).
  2. Easy improvement reads/writes speed.
  3. No need to care where to put new file.
  4. Files systems become slow with big amount of small files.
like image 86
Andrew Orsich Avatar answered Sep 26 '22 07:09

Andrew Orsich