Report this

What is the reason for this report?

Will a private network increase the bandwidth between two droplets?

Posted on July 12, 2019

I have a droplet which contains a REST API that I query for data from another droplet which displays this information to customers. I want to know if setting up a private network (as described here would increase the speed at which the frontend droplet could fetch information from the API droplet. I still want both droplets to be independently accessible from outside the network, so I wouldn’t be closing off either droplet to the public Internet.



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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

The easiest way to test this is to do a ping test between the two droplets between their public and private IP addresses.

If both are <1ms then whether you use the private IP address or public IP address won’t matter in terms of performance.

However, if you are requesting data between Servers on the public address, then that data will be counted as part of your data transfer quota. If you do it via the private network, then it isn’t counted as part of your data transfer quota.

If you are using a lot of data I would use the local private IP address just to reduce any data transfer fee, but if you are well below your quota, since you mentioned both servers are available publicly anyway, feel free to use the public IP address so long as the ping test above shows that whether you go over the private or public network there is no major difference in latency.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.