Event Writer threads count

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

User avatar
Posts: 47
Joined: 26 Dec 2008, 00:45

Event Writer threads count

Postby cemuzunlar » 29 Dec 2008, 08:37

If we increase the Event Writer thread count, does it maintain the order of the messages send from server to client?

I mean, If server send three messages to a client:
send A
send B
send C

Are Event Writer threads aware of the order and maintain it?
Cem Uzunlar
Infosfer Game and Visualization Technologies
User avatar
Site Admin
Posts: 21286
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 31 Dec 2008, 10:54

Yes the order will be the same because those threads work on shared queue which is accessed sequentially.
Since write operations are very fast it's usually not needed to raise the number of the EventWriter threads. 1 or 2 is great for most any level of network traffic.
...addicted to flash games

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 6 guests