How many messages a server can send each second?

Hi, I'm using OnPremise to develop a game, wondering how many messages a Server can send each second. Besides its bandwidth, is there any limitation like "Usually you can't send over 1000 messages for each CPU core per second"?

Comments

  • hi, @zhuchun

    messages throughput tightly depends on how do you send and on your connection speed. if we speak about UDP then in case of unreliable sending you will get maximum close to your hardware limits. in case of reliable throughput depends on more factors.

    also, you should check documentation about this configuration parameters

    MaxMessageSize="512000"
    MaxQueuedDataPerPeer="512000"
    PerPeerMaxReliableDataInTransit="51200"
    PerPeerTransmitRateLimitKBSec="256"
    PerPeerTransmitRatePeriodMilliseconds="200"

    Here you may find description: https://doc.photonengine.com/en-us/server/current/operations/server-config-settings

    best,
    ilya