Andre Haykal
Andre Haykal

Reputation: 116

Laravel passport slow query

Im using Laravel 10 (PHP 8.3) with MySQL database. The Laravel apps is deployed on server A, and the MySQL deployed in server B. For the first 3 weeks, the performance is awesome, but per today the Laravel is really slow.

After I investigate it on Sentry, I found weird query time for passport, because it's need 5 seconds to 20 seconds. The proof is in the picture.

enter image description here

If anyone have met this problem before, please enlighten me.

I've tried to disable Sentry, change database connection via VPC, change MySQL config, not fix it.

Upvotes: 0

Views: 60

Answers (0)

Related Questions