Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

NewToLaravel's avatar

Laravel Forge "Provision as load balancer" requests per second really low

Hi all,

I was try to install Swoole to see if it would increase performance (but I don't know how to make it work with my current setup of load-balancer and 2 app servers), but during my testing, I realised something...

If I test how many requests my server can handle by going straight to one of the app server IPs like so:

wrk -t4 -c400 -d10s -H "Host: mywebsite.com" server_ip

wrk says "Requests/sec: 3742.65"

When I run:

wrk -t4 -c400 -d10s https://mywebsite.com" I get this:

"Requests/sec: 36.35"

It's a considerable amount less. This is without Swoole btw, I only discovered this because I was trying to install Swoole.

Not sure why the load-balancer would be causing such a low requests/sec.

Does anyone have any idea how this happened? I haven't modified any files setup by forge

0 likes
0 replies

Please or to participate in this conversation.