I have a server running on Ubuntu which creates lots of data and media files. I would like to know what is the best location to store the files.
Requirment :
My application running on java server(tomcat) needs to read, write and delete these files.
There could be 100s of these files and the files could be huge.
I would like to know what is the best location(directory) for storing the files.
thank you
Being linux, there are several possible locations that make sense. There is no technical limitation on where they can go – tomcat can access them anywhere. If it were me, I think I might choose this structure:
(where
<app>is the name of your app)