M
M
MR.TOSTER Gipard Valerievich2016-06-16 23:34:13
PHP
MR.TOSTER Gipard Valerievich, 2016-06-16 23:34:13

Should GridFS be used to store files in Mongodb?

Files size 100kb - 1mb.
The increase per day is about 1000 pieces, stable and measured throughout the day.
But requests from visitors per day to these files are approximately 1,000,000
I don’t want to use the file system + nginx so as not to think about how it lies there and how many folders to divide and the like. Plus, I want to save the metadata next to the file.
What is the best way to store files in Mongodb?
GridFS or binary (BSON?) and why?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2016-06-16
@Nc_Soft

As if the monga is not on the disk, you are doing some kind of nonsense)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question