Reputation: 1815
we have 3 webservers (apache + PHP) on three different machines, talking to a database machine. Our application allows users to upload their own images. The uploaded images are stored and mapped to a local drive on the machines. Let me first admit that we never engineered our application to be distributed. In tha above scenario, what we see is that the images are uploaded and stored on one server and are not available to the others.
What is the current state of the art for upload content - is it something like S3 or exporting a file system over NFS (security issues ?), or is it something like an image server which allows you to do that ?
Upvotes: 2
Views: 571
Reputation: 48710
We just map shared drives on our SAN. CDN's are also a viable option. You just need shared disk space somewhere. Whether that is in the 'cloud', or on a SAN, or a simple shared network drive somewhere.. it doesn't matter.
Upvotes: 0
Reputation: 942
Here are just a few of many solutions:
Mix and match!
This may be overkill for you.. but this is how Facebook do it: http://www.facebook.com/note.php?note_id=76191543919
Upvotes: 1