A
A
akdes2017-10-30 15:21:15
PHP
akdes, 2017-10-30 15:21:15

Docker + Laravel + RDS DB - the speed of communication with the database is several times worse than if the database is in the docker, why?

Hello.
Such a problem:
I have a project of three containers: a server, an application on the lara and a database.
Everything is super and works, but - as soon as I put the database on AWS RDS for reasons of stability, the application speed drops 4-5 times. Such a difference is only in conjunction with docker and PHP, if I write on NodeJS the connection and the speed does not change.
Who met with this problem, how was it treated?
Thanks in advance

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question