MaxWriterQueue option

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

Moderators: Lapo, Bax

Mhollow
Posts: 24
Joined: 22 Feb 2012, 06:29
Location: Russia

MaxWriterQueue option

Postby Mhollow » 22 Mar 2015, 08:06

Hello
Could you please explain what is MaxWriterQueue option stands for? (SFS Pro)
And what's the difference between MaxWriterQueue and ClientMessageQueue options?
Thanks!
User avatar
Lapo
Site Admin
Posts: 23009
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: MaxWriterQueue option

Postby Lapo » 22 Mar 2015, 08:25

Hi,
MaxWriterQueue: is the size of the queue where all outgoing messages are put before being sent out
ClientMessageQueue
is the size of the client-specific queue where outgoing messages are parked when the client is not able to receive them. (e.g. slow connection).

Typically you won't need to change the former but you may need to reconfigure the latter, in some cases. More info are available in the docs, here:
http://www.smartfoxserver.com/docs/1x/d ... ed.htm#4aa

cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
Mhollow
Posts: 24
Joined: 22 Feb 2012, 06:29
Location: Russia

Re: MaxWriterQueue option

Postby Mhollow » 22 Mar 2015, 09:05

Does it mean that MaxWriterQueue is the size of very last query that a message hits on a server side?
If a client is able to receive a message then message goes directly to the WriterQueue and then beind sent out,
and in case of some problems on the client side the message is dropped to ClientMessageQueue at first, and only when the problem disappears the message goes further to the WriterQueue (or being dropped completely). Am I Right?
Thanks.
User avatar
Lapo
Site Admin
Posts: 23009
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: MaxWriterQueue option

Postby Lapo » 23 Mar 2015, 07:56

That is correct :)
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 42 guests