User_disconnection call through Java extension.

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

noveltysoft
Posts: 39
Joined: 19 Sep 2012, 03:24

User_disconnection call through Java extension.

Postby noveltysoft » 09 Dec 2012, 08:58

Hi,

I am using AS3 api. But due to certain reason i need to write an extension in java to make USER_DISCONNECT working. I have inplemented this successfully. But my question is that this event fires to all users on sfs server. If I have 10k users playing game or chatting. This extension will broadcast message to all 10k users on anyone's enterance and exit. How much processing load will be generated by sending constant messages to 10k users using this extension. Can anyone explain? So I can decided what type of machine I need to achiev the goal of 10k concurrent users.

William
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Re: User_disconnection call through Java extension.

Postby rjgtav » 09 Dec 2012, 23:06

I'm sorry, but I'm not understanding quite well what you're asking. When you disconnect an user using the ExtensionHelper class, it only informs the client about the disconnection, and then informs that a user has lost the room in the rooms where the client was joined.
What do you mean when you say that the server needs to inform everyone inside about an user disconnection?

Thanks
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 39 guests