How to set network rate?

Hi, I'm using OnPremise and LoadbalacingApi, how to increase the network rate to 30/60hz? Is it 15/20hz by default?

Comments

  • Hi, @zhuchun

    No, it is not. the server has some limitations. for instance is DisableNagle is false then we wait for 15 milliseconds to get enough data to send. but this still more than 60 hz, right. Next point to check is client. if you do not call peer.Service often enough. then your data will be neither sent nor received. So, if you call it on client 60 times per second, you will not get response from server faster then in 1/60 of second

    best,
    ilya
  • zhuchunzhuchun
    edited July 18
    chvetsov said:

    Hi, @zhuchun

    No, it is not. the server has some limitations. for instance is DisableNagle is false then we wait for 15 milliseconds to get enough data to send. but this still more than 60 hz, right. Next point to check is client. if you do not call peer.Service often enough. then your data will be neither sent nor received. So, if you call it on client 60 times per second, you will not get response from server faster then in 1/60 of second

    best,
    ilya

    Thank you, I've just realized that there're a few things on the server-side matter, say CreateTime() actually works differently from Unity FixedUpdate() (post), it may slow down the simulate rate and cause fewer data to be feed.
Sign In or Register to comment.