Austio
By:
Austio

Move from single server to distributed setup

January 2, 2015 2.2k views

Hello,

I currently help with a site that has a large geography of users. Predominantly they are in India but also have traffic in the United States and Africa.

Currently they have all assets, application server and database on a single device in Digital Ocean.

Their speed for network has been really bad. Probably due to the limited pipe between US and india.

The first step i will take is to move the assets/images to S3/CDN. That should alleviate a lot of it.

After that I am not sure the best step to take. Should we move the server to the Singapore Datacenter? I normally do an app/database setup so that things can be distributed a little easier. For the database though how would we get a master slave replication accross datacenters?

Any advice is really appreciated, thanks!

2 comments
  • What do the DO graphs look like for your client's current droplet. Is the network bandwidth provisioned for your droplet being reached constantly, or are you just dealing with certain peak hours when performance drops? Same question goes for the CPU usage.

  • @Austio

    It'd be easy to switch Data Centers, so you could always setup a test Droplet by taking a snapshot of your current Droplet (you'll have to shutdown for this) and then use it as the disk image for the new Singapore Droplet. The snapshot would be a 1:1 mirror of your current setup & config.

    From there, you could test the new network by routing traffic from a sub-domain to the new Droplet, either just for you or for a group. That'd give you the best overall experience so you can make a more informed decision.

1 Answer

This question was answered by @jtittle:

@Austio

It'd be easy to switch Data Centers, so you could always setup a test Droplet by taking a snapshot of your current Droplet (you'll have to shutdown for this) and then use it as the disk image for the new Singapore Droplet. The snapshot would be a 1:1 mirror of your current setup & config.

From there, you could test the new network by routing traffic from a sub-domain to the new Droplet, either just for you or for a group. That'd give you the best overall experience so you can make a more informed decision.

View the original comment

Have another answer? Share your knowledge.