Report this

What is the reason for this report?

How to get the lowest latency between 2 droplets in the same datacenter?

Posted on February 8, 2021

I have a droplet in AMS3 and an Ethereum node in that same datacenter.

However, most of the calls take around 80-100ms to complete. The fastest test was 48ms. But looking at te ping tests, AMS3 should be having an average of 22ms. Especially when both machines are at the exact same location I would expect it to be at least this fast.

Is there anything I can do to optimize this?



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.

Latency can be affected by various factors such as network routing, hardware performance, or application-level issues. It is almost never a easy investigation and it will require some additional time to analyse all factors that can cause the latency.

To optimize the performance between your droplet and the node, you can consider the following steps:

  1. Verify network configurations: Ensure that both your droplet and the node have proper network settings. This should be c
  2. Review application performance: Check the performance of your applications and their resource consumption, and optimize them to use resources more efficiently.
  3. Monitor server hardware: Keep an eye on resource usage (RAM, CPU, Disk I/O, etc.) and upgrade hardware resources as necessary.
  4. Consider using Private Networking: If not already, enable Private Networking for your droplet and the node to improve network connectivity and reduce latency.
  5. Analyze trace routes: Analyze trace routes between your droplet and the node to identify any routing or latency issues.

Hope that this helps!

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.