I have a few file upload websites, with files ranging from hundreds of kilobytes to a few gigabytes.
Currently I have all files in a distribute-replicate Gluster volume on a few servers.
My biggest problem with Gluster is speed.
For example I have a folder with ~80,000 images averaging 500KB each and it took me a couple of hours to change the images' owner.
For the moment everything is pretty decent, but I'm worried about having much more files and the time it will take to work with them.
What alternatives do I have? Am I doing anything wrong with Gluster?
This is my gluster configuration:
performance.cache-size: 1GB
performance.cache-refresh-timeout: 60
performance.cache-max-file-size: 100KB
cluster.choose-local: true
performance.readdir-ahead: on
performance.io-thread-count: 16
client.event-threads: 3
server.event-threads: 3