Can a bunch of video files be stored and managed using MongoDb?
过去多啦不再A梦
过去多啦不再A梦 2017-05-02 09:25:08
0
3
708

I have 10W video files, more than 100MB, with basically the same naming format, and they are placed on a hard drive (a few T or more).
I want to make a download service and throw it away at home. I originally wanted to use Php Mysql to traverse and write the paths into the database one by one.
But after several attempts, it took too long and the machine hung up.
After searching for a long time, I suddenly remembered Mongodb. I have only heard of it but never used it.
So I would like to ask, can I hang the hard drive of these videos (and some music files) on the server, and directly let MongoDb read the hard drive and output the query data?

过去多啦不再A梦
过去多啦不再A梦

reply all(3)
漂亮男人

MongoDB has this kind of gameplay? .....
Have you ever used Everything? It comes with httpFileServer+ search function, it’s awesome
Also, I’m very curious about what video you got for adding 100,000 yuan

曾经蜡笔没有小新

The key to storing videos on the server is not how to save or read them, but how to play them. No one wants to slowly download several gigabytes of videos to play on the local machine, so you should build a streaming media server, okay The streaming media server has a good retrieval system.

为情所困

Use MySQL to save the path and name of the file, and add an index.
Php+MySQL can completely do it.
Access is the browser access path to download.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template