laravel-websockets
laravel-websockets copied to clipboard
Horizontal Scaling Laravel-Websockets (with Redis and Load Balancer)
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!
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/