laravel-websockets icon indicating copy to clipboard operation
laravel-websockets copied to clipboard

Horizontal Scaling Laravel-Websockets (with Redis and Load Balancer)

Open trocker opened this issue 3 years ago • 1 comments

Hello - After reading all the docks and searching the issues, I decided to ask the question here. So far I have only been able to get laravel-websockets running on 1 machine but I wanted to scale that horizontally. How should I go about it?

I was hoping to take some inspiration from the horizontal scaling article for socket.io with Redis but I'm not sure how to get started on that.

I would greatly appreciate any help on this topic!

trocker avatar Jul 28 '22 03:07 trocker

If i'm not wrong all you have to use is 2.0 beta versions. They have redis support and so on. https://github.com/beyondcode/laravel-websockets/blob/2.0.0-beta.37/config/websockets.php

But better take a look on that https://docs.soketi.app/

sync667 avatar Jul 30 '22 22:07 sync667