Why is it best to NOT load up the file system of your application with content in a production scenario for spring web apps?

Viewed 89

On the guide of spring.io on uploading files there is this warning:

In a production scenario, you more likely would store the files in a temporary location, a database, or perhaps a NoSQL store like Mongo’s GridFS. It’s is best to NOT load up the file system of your application with content.

without any other context. is this for reasons of security or performance or something else?

1 Answers
Related