Tasharen Entertainment Forum

Support => TNet 3 Support => Topic started by: djray2k on June 26, 2014, 12:19:48 PM

Title: Sending data very often
Post by: djray2k on June 26, 2014, 12:19:48 PM
Let's say I'm doing a Server-Client structure.

Would it be OK for all the client players to send small amount of data (say 4 bytes) to the server 60 times per second? How many clients would it take for something like that to affect performance?
Title: Re: Sending data very often
Post by: ArenMook on June 27, 2014, 02:12:08 PM
I wouldn't recommend that. Your packets will be bundled into fewer packets, batched and sent many at a time, resulting in the opposite of what you're trying to achieve. Use prediction instead of frequent packets. Also note that with 60 times per second updates, a half a second spike in network traffic will be extremely noticeable.