Vapor and RDS are super slow

On my local machine, I'm getting sub 1s times, but when I push the same code to Laravel Vapor, It's taking 3-5 seconds per request. Even the simple user query takes over 600ms:
select
*
from
`users`
where
`id` = 2
and `users`.`deleted_at` is null
limit
1;
select
*
from
`users`
where
`id` = 2
and `users`.`deleted_at` is null
limit
1;
When I run the query straight from my Sequel Ace app connected to the same RDS instance, it only takes 10ms. Why is Filament 10x-ing the time?
1 Reply
Darkavatar23
Darkavatar234w ago
up