Get the latest tech news
Real-Time Mouse Pointers
Our journey to implement and support real-time mouse pointers.
Using the Redis PubSub channel to broadcase mouse pointer position updates.This architecture successfully scaled to 100% of users in the collaborative editing sessions without any performance issues. To keep the channel open, it periodically sends ping messages, adding extra overhead, and we must carefully control the number of active connections. Using the combination of WebSockets and a message broker or an in-memory database like Redis, it’s possible to implement such features on a global website with hundreds of thousands of simultaneous collaborative users.
Or read this on Hacker News