laravel-echo-server icon indicating copy to clipboard operation
laravel-echo-server copied to clipboard

Redis Adapter Integration With Laravel Echo

Open Huzaifa-Asif opened this issue 1 year ago • 1 comments

To make Laravel Echo Server Horizontally Scalable Redis Adapter is integrated with Echo Server.

The following changes are made:

  1. Npm Version Update for Socket and Ioredis.
  2. Added two new modules Redis and Redis Adapter
  3. Socket Server Creation updated as per Socket 4.x module documentation.
  4. Attaching Redis Adapter in init method

Huzaifa-Asif avatar Jul 27 '23 05:07 Huzaifa-Asif

It will not effect the existing behaviour of Laravel Echo Npm Module, It will make sure that if multiple echo servers are running with same Redis Connection then the Event is emitted to other server as well if they are subscribed to that event.

Huzaifa-Asif avatar Jul 27 '23 05:07 Huzaifa-Asif