We currently have 2 servers in the NYC3 region, the first is a web service (django) and the second a postgresql BD. It turns out that we are migrating the web service to kubernetes. We configure some clusters in the same region (NYC3) and we raise the web service, but the latency in the requests to the BD (External server but in the same region) is too high, which leads to very long pages loading times. What can I do, I don’t want to migrate the DB to a kubernetes. Can I improve latency in any way?
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!
Since everything you mentioned is in the same region, NYC3, are you sure you are using the Private Network IPs to connect?
You should see a huge latency improvement.
Islam @ SimpleBackups
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.