Dzwestwindsor
Solid State Member
- Messages
- 7
Hello,
I'm currently in the process of building a site. It involves users uploading images. My current setup is that the images are saved on a filesystem, not a database. The only thing in the database is a URL that directs the user to the image stored on the filesystem, as well as Image description, etc.
Now, it's all good if I have one server. But what if I have 2 servers? or 3? If the images are being saved on a filesystem and not the database, then is it possible for the other servers to access images stored in the filesystem of multiple servers?
If i have the images stored to a database, then sure, multiple servers can access it. But what if the images are stored in the filesystem?
Can I store files on a filesystem if I am going to have multiple servers?
(The reason I am asking is because storing binary in databases hogs up a lot of the perfomance when users are retrieving and storing new images. It's a ton faster to store it on a filesystem. But then, what if I have multiple servers?)
Thanks in advance
I'm currently in the process of building a site. It involves users uploading images. My current setup is that the images are saved on a filesystem, not a database. The only thing in the database is a URL that directs the user to the image stored on the filesystem, as well as Image description, etc.
Now, it's all good if I have one server. But what if I have 2 servers? or 3? If the images are being saved on a filesystem and not the database, then is it possible for the other servers to access images stored in the filesystem of multiple servers?
If i have the images stored to a database, then sure, multiple servers can access it. But what if the images are stored in the filesystem?
Can I store files on a filesystem if I am going to have multiple servers?
(The reason I am asking is because storing binary in databases hogs up a lot of the perfomance when users are retrieving and storing new images. It's a ton faster to store it on a filesystem. But then, what if I have multiple servers?)
Thanks in advance