i make my photon server to translate message. my message is a little big. 30 kbyte ~ 100 kbyte. and i find when the message from client to sever, is quickly, very quickly. but from server to client. it is so slow, sometimes it is even timeout and disconnected!
and i find the “PhotonServer.config” , it has a item:
MaxMessageSize="512000"
MaxQueuedDataPerPeer="512000"
PerPeerMaxReliableDataInTransit="51200"
PerPeerTransmitRateLimitKBSec="512"
PerPeerTransmitRatePeriodMilliseconds="200"
i change to:
MaxMessageSize="5120000"
MaxQueuedDataPerPeer="5120000"
PerPeerMaxReliableDataInTransit="512000"
PerPeerTransmitRateLimitKBSec="5120"
PerPeerTransmitRatePeriodMilliseconds="2000"
and reboost photon,but it is still slow.
the doc says:
PerPeerTransmitRateLimitKBSec
The maximum amount of data (reliable AND unreliable) that can be sent in a second (in KB). This can be used to limit the amount of data that a peer can send. When the limit is reached further reliable data is queued and unreliable data is dropped. The default, 12, is a purely arbitrary value that has no meaning and has NOT been carefully calculated to be in any way special.
i don’t know how to make it work. who can tell me!
thank you