By mabdalmahdi
I have opencart installed into 2 server , so what is the best way to share a storage between 2 or more servers regarding to performance i have tried glusterfs but am not sure if that the best way to do it .
I can write script to do sync between the 2 server . so what is the benefit using glusterfs other than redundancy and high availability .
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
GlusterFS is not a bad choice at all for 2 servers. While it is possible to sync files between two servers in a more manual process doing this would make it more likely that files could become out of sync (if a change is made on one server and a request is sent to the other before the sync has happened). This is much less likely to be a problem with a shared distributed filesystem like GlusterFS.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.