ether / ep_guest

Etherpad plugin to grant limited access to users that are not logged in.
Apache License 2.0
1 stars 2 forks source link

read only users don't need "really-real time" as much as contributing authors. Let's use that to our advantage. #18

Open JohnMcLear opened 4 years ago

JohnMcLear commented 4 years ago

Given our current SocketIO 10k msgs/sec constraint it may make sense to find a way to make non-contributing "lurkers" able to receive "batches" of changesets as opposed to "really-real-time"..

The reasoning is essentially if instead of a msg every 10ms to a lurker, you do it every 100ms as a batch of changesets you reduce socketio server load by 10x and the latency is/should be barely noticeable to someone lurking...

Something to consider anyway and might not fall within the remit of this plugin.

Also I'm really keen on moving away from SocketIO which would have the most meaningful impact on Etherpad performance.

rhansen commented 4 years ago

This will have to be fixed in Etherpad core. Other changes that would reduce overhead from read-only users:

JohnMcLear commented 4 years ago

Agreed, note that "Don't show read-only users in the user list.", it might be nice to see "X number of watchers"