一堆的视频文件能用MongoDb来存储管理么?
过去多啦不再A梦
过去多啦不再A梦 2017-05-02 09:25:08
0
3
614

我10W+的视频文件,100MB以上,命名格式基本相同,放在一块硬盘里(几个T以上吧)。
想弄成个下载服务丢家里,原本是想用Php+Mysql一条条遍历写路径进数据库。
但试了几次时间太久,还挂了机器。
找了半天看突然想起Mongodb来,只听过没用过。
所以想问问,能不能把这些视频(还有一些音乐文件)的硬盘挂在服务器上,直接让MongoDb读到这个块硬盘上输出查询数据呐?

过去多啦不再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 astreaming 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
        About us Disclaimer Sitemap
        php.cn:Public welfare online PHP training,Help PHP learners grow quickly!