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

cuartas15's avatar

Scalability on demand?

I've been through multiple tutorials, where the scalability basically begins since the application is first deployed by configuring load balancers and some guides go as far as making a separate server for each individual function (database, redis, application, etc) which is excessive cost wise honestly.

What if I configure a DO server that is simply enough for a year or two, I have everything there, my application, database, Laravel websockets and then when the time comes I need to assign more resources, how do I proceed in that case? would I need to start from zero to decouple my sever into multiple instances each one doing something different or is there a more simpler approach? what if I just need to allocate more storage? are there any good tutorials explaining these situations?

Any help is really appreciated.

0 likes
6 replies
jlrdw's avatar

If you are really that concerned check out laravel vapor.

cuartas15's avatar

Uhh, my app is off the mark by 1 version (5.8) and why would I need to switch to Vapor when I can achieve the same with Forge, right?

cuartas15's avatar

Anyone have a possible answer? I honestly refuse to believe that the only way is setting the load balancers and such from minute 0 because that would be a good waste of money. I of course gave a look to vapor, but it requires laravel 6+ and it costs triple the Most basic plan on forge and double the one that allows multiple sites. Remember I'm making these questions with saving money in mind.

Thanks in advance

jlrdw's avatar

D.O. should have a guide on scaling up, and how to handle it.

goldtaste's avatar

Have you looked into bref for serverless PHP. Then you could pick your cloud provider (e.g. Amazon AWS). I have not used it myself, but think it is quite popular.

Please or to participate in this conversation.