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

bifog's avatar
Level 1

PHP is stateless, what about Laravel?

Scaling of my custom PHP scripts horizontally (multiple servers) has been easy. Well, I have done it only once in my life for one client of mine. But it was trivial - especially because the DB was on a separate server.

How easy or hard is scaling of Laravel on multiple servers?

Are there any readings or videos or audios in which people describe their scaling stories with Laravel websites that became popular and they had to abanom vertical scaling and went horizontally on multiple servers?

0 likes
4 replies
undeportedmexican's avatar

@bifog Not familiar with Fly.io, but from what I can see, Fly.io is like Vercel, where they deploy your app on multiple servers around the world to basically provide a better response time to your users throughout the globe (as opposed of somone in Russia needing to access a server in USA).

Laravel vapor by itself (afaik) just help you manage a Serverless solution (Like AWS Lambda) to deploy your app in a container-like deployment, which means you don't need to worry about the server at all, because it's all managed by AWS.

As I said I'm not super familiar with it, but that the gist.

Please or to participate in this conversation.