Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by afterburn · Jan 16, 2017 at 07:38 AM · c#networkingserverclient

What's an acceptable network send rate?

Hello,

I've written my own network implementation of an asynchronous UDP client and server (so I'm not using uNet or Photon or whatever). Whenever I receive movement updates I use lerp functions to smooth everything out. The results are what I was hoping for.

I'm however at a loss about what is an acceptable network send rate. Right now I'm sending movement updates every 100 ms. The size of these movement update packets are between 30 - 50 bytes each.

My question is will this scale, or do I have to tinker around a bit more?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
3
Best Answer

Answer by Mikilo · Jan 16, 2017 at 11:13 AM

Hello!

What you are asking for is statistics about tickrate from all over the existing games.

Counter-Strike : Global Offensive has a tickrate of about 64 in competition game. But it raises to 128 when playing real professional competition.

In Starcraft 2, packet size depends on the game mode, 1v1, 2v2, 3v3 or 4v4.

Here is an explanation of Starcraft 2 network packet management (only 2 pages): http://choongsoo.info/docs/starcraft2.netgames12.pdf

I have read an article long time ago about size packet on different games, and as far as I remember, CSGO was around 50B, BF3 80B with few other examples.

It all depends on your server structure capabilities, your bandwith and your needs.

And here you go:

http://infogr.am/comparatif-des-tickrates?src=web

Tickrates from different games. :)

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image afterburn · Jan 17, 2017 at 10:12 PM 0
Share

Thanks for answering my question, so if I understand correctly tickrate is the amount of packets sent per second? So if we were to take the CS:GO example of 50kb with a tickrate of 64, then the amount of kb's per second would be 64 * 50kb = 3200kb/s? So that's 3.2mb/s? Correct me if I'm wrong but to someone completely new to networking that's way higher than I would've expected..

avatar image Mikilo afterburn · Jan 17, 2017 at 10:51 PM 0
Share

Yeah it is correct.

3,2 $$anonymous$$b/s = 0,4 $$anonymous$$B/s

Which is acceptable.

Edit: I'm sorry, i wrote big shit, it is 50 BYTES! Not kilo bytes!

Which in turn gives 50 * 64 = 3200 B = 3.2 kB/s

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

9 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity networking tutorial? 6 Answers

Network how to send data/activate function 1 Answer

What's the best approach for creating a secure authorative server? 0 Answers

ClientRpc not called on Client 1 Answer

Server still sending Packets to inactive clients and throwing errors. How can I stop it? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges