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

kenprogrammer's avatar

How to scale large Livewire applications

As the adoption of TALL stack increases I've seen testimonials where Livewire has been used in very large applications. I'm just wondering how one would scale for instance a large e-commerce website without containerization(Docker/Kubernetes). That's considering Livewire applications are session based application which would be very difficult to scale vertically. Opinions are welcome, let's talk.

0 likes
5 replies
martinbean's avatar

@kenprogrammer What about Livewire would make the approach different to any other server-rendered Laravel app using controllers, views, sessions for authentication, etc?

kenprogrammer's avatar

@martinbean Am specifically asking about Livewire as the same approach developing applications has been adopted in other frameworks as well for example Rails Hotwire.

martinbean's avatar

@kenprogrammer I’m still unsure as to what it is you’re actually asking.

Can you use Livewire for “large” applications? Sure, if you want to. Scaling them is no different to how you would scale a “normal” application that wasn’t using Livewire.

1 like
kenprogrammer's avatar

@martinbean I saw a demo of Kamal (The Kubernetes alternative) by DHH using Rails template based app. He created three instances of the same app and I was wondering why would anyone want to containerize such an app. So I thought maybe I would get some opinions from Laravel community on ways they could be building large Livewire apps.

Please or to participate in this conversation.