在AWS Elastic Beanstalk和EKS上部署了一个Laravel应用程序,使用相同的数据库RDS W。

0

【以下的问题经过翻译处理】 在AWS Elastic Beanstalk和EKS集群上发布了一个Laravel应用程序,同时使用相同的数据库RDS。为什么我在Elastic Beanstalk上得到快速响应,而在EKS上有3.02毫秒的延迟。数据库中没有太多数据。

profile picture
EXPERT
asked 6 months ago18 views
1 Answer
0

【以下的回答经过翻译处理】 我遇到了同样的问题,我正在测试EKS RDS和其他服务。

我发现问题是网络问题。 EKS和RDS之间的网络连接需要太长时间才能加载整个网站。

对于弹性Beanstalk连接RDS是从外部进行并且速度很快,因此网站加载时间更短。或者,您可以使用VPC对等连接进行连接,可能会更快。

profile picture
EXPERT
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions