How to solve the photo server send buffer?
Options
dsifgh
✭
I heard that you can increase s endbuffer. Which parameter of the configuration file should be modified? I can't find the corresponding parameter. It seems that the developer document can't find it
0
Best Answers
-
there is a set of values that regulate how many data can be send to peer. here they are:
PerPeerMaxReliableDataInTransit="51200"
PerPeerTransmitRateLimitKBSec="256"
MaxQueuedDataPerPeer="512000"
those settings are for UDP. But you have to be very careful. It is bad sign that you need to increase those values. that may mean that your clients are overloaded by amount of data from server. in this case you need to optimize your traffic
best
ilya5 -
Thanks you very much!Thanks you photon server!0
Answers
-
Hi @dsifgh,
Thank you for choosing Photon!Which parameter of the configuration file should be modified?
Which version?
anyways, I will move this discussion to the Photon Server category.
the setting should be MaxQueuedDataPerPeer in instance node in PhotonServer.config.
my colleague @chvetsov can confirm or rectify.0 -
Thank you very much!I am using a self-hosted Photon Server (_v4-0-29-11263) for unity.I try to change MaxQueuedDataPerPee but not useful.I find the document and see TCPBufferSize parameter.I modified this parameter and change coonet use TCP.This problem is sloved.But I want to know how to modifie the buffer size for UDP or other connet.Are there any other variables I don't know?I only see tcpbuffersize in the description document.I would like to konw how to modifie the buffer size for UDP connect or other connet.Thank you!0
-
there is a set of values that regulate how many data can be send to peer. here they are:
PerPeerMaxReliableDataInTransit="51200"
PerPeerTransmitRateLimitKBSec="256"
MaxQueuedDataPerPeer="512000"
those settings are for UDP. But you have to be very careful. It is bad sign that you need to increase those values. that may mean that your clients are overloaded by amount of data from server. in this case you need to optimize your traffic
best
ilya5 -
Thanks you very much!Thanks you photon server!0