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

kuechenplaner's avatar

Inertiajs servers are not scalable?

Is it true that an application in laravel + vue js + inertia.js is poorly scalable in terms of monthly server costs? So compared to serverless? How can I make a Laravel+ vue.js + inertia.js application scalable to millions of users per day and keep server costs low? Also, are there simple managed solutions so I don't have to be familiar with certain things?

0 likes
8 replies
Snapey's avatar

come back when you have millions of users

#premature_optimisation

2 likes
kuechenplaner's avatar

@Snapey I would start small, of course, but I must at least have solutions for my client for high scaling.

martinbean's avatar
Level 80

Is it true that an application in laravel + vue js + inertia.js is poorly scalable in terms of monthly server costs?

@kuechenplaner Says who? 🤷‍♂️

So compared to serverless? How can I make a Laravel+ vue.js + inertia.js application scalable to millions of users per day and keep server costs low?

People need to stop thinking “serverless” is some magic bullet for both scalability and cost. It’s not. You get charged per invocation. If you do get “millions of users per day” then your costs are going to rise along with your workload. Unlike if you just rented a VPS or similar for a fixed price per month.

Also, are there simple managed solutions so I don't have to be familiar with certain things?

Well, if your goal is to keep server costs down then a managed solution is just going to add to that cost, as you not only have to pay for the underlying server/resources, but then also pay whatever company is managing the solution for you.

My client wants it to be scalable to so many users, not me.

Doesn’t change the fact that this is classic premature optimisation. Solve problems when you actually have them, not before. When you try and guess the problems you’ll have with scale, you’ll always be wrong. You try and optimise for X, reality will laugh in Y.

3 likes
kuechenplaner's avatar

@martinbean Thanks for your answer. So the most important thing would be that it is easily scalable upwards. Keeping the server costs low would be great but is not a must. With a managed solution, I simply pay more and the provider takes care of the scalability, right? Who offers such a managed solution? Something like Laravel Forge?

martinbean's avatar

With a managed solution, I simply pay more and the provider takes care of the scalability, right?

@kuechenplaner Well, no. A “managed” service does not mean they’re going to swallow any increase costs from increased load. The opposite would be true. They‘re going to go, “Oh, you’ve had an increase. We’re bumping you up to a higher cost plan due to the increased workload.”

Who offers such a managed solution? Something like Laravel Forge?

No. Laravel Forge is just a service that allows you to deploy your apps to your own servers that you have with AWS, Digital Ocean, or similar. You still need to pay the costs of the servers on those services.

1 like
JussiMannisto's avatar

scalable to millions of users per day

keep server costs low

simple managed solutions so I don't have to be familiar with certain things

This is such an absurd combination of criteria.

But I don't want to be all negative here. There are many things you can do once it's needed. I liked this short video by Sabatino. You can also look into Laravel Octane. None of that matters though if you don't learn the basics. A managed solution won't do your job for you.

2 likes

Please or to participate in this conversation.