What's the best way to keep a List of an Application connected Users in the Server that every Client can see (maybe with restricted levels) and keep updated all the time? For instance, if a User connects/disconnects, the list would be updated and sent to all other Client.
I have tried using SO (passing the Users array in the Server) but I was not satisfied with the solution I did.
So, then I created an object in the server (the way you did in your last tutorial) and am taking profit of SO to use its Broadcasting features (onSync). Once the Client receives SO notification that something has changed in the list, each client sends a Server request to receive the updated list (NetConnection.call with receiving method).
Is this too much work for the server? Is this too slow? I estimate each List may contain 100/200 Users (ID, nick, gender, nationality, and a few other info) and there should be not more than 100 active lists (each user may connect to let's say, 10 lists at most)
Although it looks it will work fine (I still am working on it), I am not satisfied yet, so, I would like to hear your great ideas/suggestions.
Best regards and thank you for your time, your interest and your hard work.