Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Should Whisper go through redis? #346

@jdavidbakr

Description

@jdavidbakr

I have a chat that I'm using Laravel Echo for, and am taking advantage of the Whisper function to notify when a user is typing. I monitored the redis traffic and noticed that the Whisper is not being sent through redis, which I assume means that it is just being relayed via the socket.io client. My problem is that if I deploy this into a scaling load balancer environment and two users are connected to different servers, they will see each others' chats (because Redis should publish through to both servers) but they won't see each others' whispers. Is this by design, or should the whisper functionality publish through the redis queue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions