Need more info on advanced server settings

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Alex
Posts: 131
Joined: 03 Sep 2006, 09:15

Need more info on advanced server settings

Postby Alex » 08 Jan 2012, 10:22

Hi

I need little bit more explanation about some of the advanced server settings.

Code: Select all

<systemControllerRequestQueueSize>20000</systemControllerRequestQueueSize>
<extensionControllerRequestQueueSize>20000</extensionControllerRequestQueueSize>

Is this the size per client or this is some queue that all clients share?
Is this the count of actual number of messages ( for instance: userJoin +1msg, userLeave +1msg = Total size of queue: 2 ) or this is the size of the message ( for instance: userJoin +5kb, userLeve +7kb = Total size of queue: 12kb)


Code: Select all

<maxReadBufferSize>1024</maxReadBufferSize>
<maxWriteBufferSize>32768</maxWriteBufferSize>
<sessionPacketQueueSize>120</sessionPacketQueueSize>

What are the above settings for and what are the pros/cons of increasing/decreasing their values?
User avatar
Lapo
Site Admin
Posts: 23026
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 09 Jan 2012, 14:46

Hi,
this parameter from core.xml

Code: Select all

<sessionPacketQueueSize>120</sessionPacketQueueSize>

is the one that controls the max. amount of messages that are held in the client queue. The limit is expressed in number of messages, not size.

The other params you have mentioned are already set to the best value for most uses. Only in special occasions they can be changed, but that's a very long story and requires special use-cases. So far we haven't seen clients that needed to touch those.
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 107 guests