I'm building an app, and I'm trying to decide on the best way to manage hosting photos that would be uploaded.
The app is hosted on a CentOS vm named WWW01.
My current plan is to have a standalone CentOS box called 'IMAGES01' on the same private network with a folder /images shared via NFS and mounted as /images01 on the webserver (WWW01). With that, any uploads through the webapp will end up on the image server.
In order to serve the images, I'm trying to decide between hosting them back through the webserver, or hosting them directly from the imageserver. It seems like it would be more efficient to use apache to host the images directly off the image server.
Thoughts?
The app is hosted on a CentOS vm named WWW01.
My current plan is to have a standalone CentOS box called 'IMAGES01' on the same private network with a folder /images shared via NFS and mounted as /images01 on the webserver (WWW01). With that, any uploads through the webapp will end up on the image server.
In order to serve the images, I'm trying to decide between hosting them back through the webserver, or hosting them directly from the imageserver. It seems like it would be more efficient to use apache to host the images directly off the image server.
Thoughts?