Getting slow behaviour #208
-
Hey @jaydrogers It's not my first time reporting this, but I'm getting it again. Via Forge, I have set a Hetzer CPX21 (x86_64) 3core, 4 RAM, and it's a production project. The first one is with docker-php, and right now, it's at a point where I can even give you access to everything if you want to debug yourself. When I got suspicious about the speed, I installed a second website from the same repo, even using the same database, but with Native nginx+fpm.
Try to access them and navigate. It's a fork of laravel.io, just plain install, not seeded. Inside the machine I run
Which is an API endpoint, without providing any authentication, so it should be the one of the quickest endpoints, right? But no, I consistently get 1.4-1.5 seconds. Below, I'll leave the relevant configurations. Please let me know what I'm doing wrong. Nginx config:
The compose file:
The Dockerfile
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
@ijpatricio were you able to find a solution to this? I'm experiencing some of the same using the combined PHP+FPM+Nginx image currently. |
Beta Was this translation helpful? Give feedback.
-
Hey @tomschlick still no. The ubuntu22 flavor with s6 and nginx+fpm will still continue to exist, and it still makes sense IMO, so not sure if it will remain the same base, and potentially, the same issue. Now we're 2 that can make tests/experiments. What do you think, @jaydrogers ? |
Beta Was this translation helpful? Give feedback.
-
I do have a reproducible setup. https://io.unitedbycode.com/ => laravel.io repo directly on nginx+fpm, by Forge turn on inspector and check timings https://github.com/unitedbycode/laravel.io/blob/production/docker-compose.prod.yml
|
Beta Was this translation helpful? Give feedback.
-
Would you guys mind trying the new beta and seeing if that works? #254 |
Beta Was this translation helpful? Give feedback.
Would you guys mind trying the new beta and seeing if that works? #254