File Storage for Web Applications: Filesystem vs DB vs NoSQL engines

前端 未结 4 1310
感动是毒
感动是毒 2020-12-23 20:54

I have a web application that stores a lot of user generated files. Currently these are all stored on the server filesystem, which has several downsides for me.

    <
4条回答
  •  Happy的楠姐
    2020-12-23 21:08

    maybe a hybrid solution.

    Use a database to store metadata about each file - and use the file system to actually store the file.

    any restructuring of 'folders' could be modelled in the DB and dereferenced from the actual OS location.

提交回复
热议问题