Storage server in another data centre + Web server question?

April 24, 2018 375 views
WordPress Nginx PHP Storage Ubuntu 16.04
Lilap
By:
Lilap

Hi team!

Alright, so I have been trying to find out how to solve my question but I am unsure what to call it and not coming up with results thus far.

My situation is that I need a server that has 100gb+ only for stage of downloads/images etc as I have Hi-Res photography images that I give to clients for download.

I have a web server that is in a country closest to the bulk of my clients, on an ssd and getting really great response times. I have a storage server mounted to this ssd server, but it is in a different country because that is where you can only get high capacity storage.

I have started to get timeouts on my galleries since it is a 180ms+ send and another 180ms to receive, so loading 1000 images its really slow.

Is there a way to make this faster by using load balancers? Or any other solutions?

I am planning to use my storage server as the main web server, and just have mirrors for the main web server to the closest data centre to my clients? Will this work? What do you call this?

Thanks in advanced.

1 Answer

Can you share some additional details on your current setup?

What storage server or protocol are you using between your droplets?

Are both servers on DO's network?

What web server are you using on your public facing server? Are you utilizing any caching?

Are you using any reverse proxy service such as CloudFlare?

The more information you can provide on your current configuration, the better everyone will be able to assist you with suggestions for optimization.

  • So the current setup is a 40GB SSD server with NGINX php7.2 MariaDB Redis Cache. Have KeyCDN and Cloudflare.

    Both are different datacentres but same network if that makes sense. The Public facing is 40gb ssd, and sotrage is 500gb.

    Protocol between servers is just the nsmount system I believe. So only the 40gb server can communicate with the storage server.

Have another answer? Share your knowledge.