You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Overview
Laravel Reverb uses Redis only for scaling when running across multiple servers. However, it does not support setting a Redis prefix for its scaling mechanism. This can cause issues when running multiple Laravel applications using Reverb on the same Redis server, as they may interfere with each other's pub/sub channels.
Expected Behavior
Each Laravel application should be able to define a unique Redis prefix so that its Reverb scaling events are isolated from other applications using the same Redis instance.
Actual Behavior
Laravel Reverb does not respect Laravel’s REDIS_PREFIX setting.
All applications using the same Redis server will share Reverb’s scaling channels (e.g., reverb:server:*), leading to conflicts.
There is no built-in way to namespace or separate Reverb’s Redis pub/sub channels per application.
Steps To Reproduce
Set up two Laravel applications (App1 and App2) with Laravel Reverb and Redis as the scaling mechanism.
Ensure both applications use the same Redis instance.
Run php artisan reverb:start on both applications.
Broadcast an event from App1 and notice that App2 can also receive the event due to shared Redis pub/sub channels.
The text was updated successfully, but these errors were encountered:
Reverb Version
1.4.6
Laravel Version
11.40.0
PHP Version
8.3
Description
Overview
Laravel Reverb uses Redis only for scaling when running across multiple servers. However, it does not support setting a Redis prefix for its scaling mechanism. This can cause issues when running multiple Laravel applications using Reverb on the same Redis server, as they may interfere with each other's pub/sub channels.
Expected Behavior
Each Laravel application should be able to define a unique Redis prefix so that its Reverb scaling events are isolated from other applications using the same Redis instance.
Actual Behavior
Laravel Reverb does not respect Laravel’s REDIS_PREFIX setting.
All applications using the same Redis server will share Reverb’s scaling channels (e.g., reverb:server:*), leading to conflicts.
There is no built-in way to namespace or separate Reverb’s Redis pub/sub channels per application.
Steps To Reproduce
The text was updated successfully, but these errors were encountered: