gritter icon indicating copy to clipboard operation
gritter copied to clipboard

Reduce update times

Open geekyi opened this issue 7 years ago • 1 comments

Here is the network stats when my gitter tab is not focused, on firefox: image

As you can see, it doesn't poll that often. Eyeballs, followed by 8 mins until a ping. Eyeballs again when I focus back into tab.

eyeballs looks like presence, and I'm guessing ping is for idle times.

Also, I'm curious what statsc is, you send a response with params like:

{"stats":[{"stat":"minibar.activated.org","count":1}],"features":["halley","connectivity-indicator","left-menu"]}

Do they all collect stats, or is there anything useful we can get from them?

geekyi avatar Apr 26 '17 14:04 geekyi

There is Faye and streaming API for Gitter to get real-time updates, but I am not sure if they can be implemented using current Red with limited I/O. I'll take a look at the streaming API and try to figure out what can be done right now with it.

rebolek avatar Apr 26 '17 16:04 rebolek