By ankit803810
Hi
I have recently moved database in other droplet and different region. But now query execution time and page loading is too slow. Previously both application and database was running in the same droplet. It was very fast. I am unable to find the region? query execution time is increased from 1 second to 12 second.
Is it because of latency issue or nodes?, Can private networking will increase the speed? kindly suggest.
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!
Hi,
If you are running multiple queries and both Droplets are in different regions with high latency between them, it can dramatically slow down performance. It’s recommended to keep such setups contained in preferably one region, or one location (e.g. NYC2 and NYC3), to minimize latency and performance hits as much as possible. Private networking will definitely help and provide the lowest latency, however you will still have to move both Droplets to the same region in order to be able to use it.
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.