How to lower the latency of requests to the DB
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?
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.×