Imagine this: We have 4 rooms.
Room 1: chatters 1-8 online
Room 2: chatters 9-16 online
Room 3: chatters 17-24 online
Room 4: chatters 25-32 online
Well now when I am in room 4 I see all users that are on-line right?
So I see 32 chatters. And there is some 'who' or 'whois' command that consumes many of requests. Why the hell I need to see all 32 users? I don't need to see them at all. I need to see only the users n. 25-32 . Now imagine I would like to have there about 150-250 chatters on line. It would be good to disable the method or to call other method which would show only the users in my active room.
A also see - when I am on line on demo chat in English Room, I see the is blinking a yellow chat "bubble" at the French Room. So I'd like to deactivate it because I think it consumes much resources - my browser freezes.
Notes:
to set time for refresh this reports about 60 minutes or more. Will it improve performance?
Next idea:
You do a refresh every 2 seconds in every opened room/channel? I think this would be non-sense. If I am not in room (but have it open) then I don't need to see any updates of chat text of that room. There for, just to make a update if I enter the room. Therefor to disable the yellow bubble and save much resources.