You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the traffic while the player is sitting at the high score screen, I notice a lot of data. By using the binary=0 flag, I am able to see the JSON version of the data that is being sent. It's sending information that can be suppressed to save some bandwidth and processing. This seems like it would have some benefit to players and those trying to debug.
NTC frame representation is very compact at 73 bytes per frame, which means that at the highest level (29), when data is submitted at 60 frames per seconds, a player stream only consumes about 4kb/s.
In high score and menu screen, since when the data is null and static, data frames are sent over the network only every 250ms (i.e. at 4 frames per second), which is 292 bytes per seconds (see code here). Even though the traffic is technically unnecessary, I consider that bandwidth consumption a freshness/keep-alive mechanism, and 292bp/s is negligible.
We could indeed make this smaller or replace sending the frames by sending a ping instead, but I don't think that's very high priority.
Looking at the traffic while the player is sitting at the high score screen, I notice a lot of data. By using the binary=0 flag, I am able to see the JSON version of the data that is being sent. It's sending information that can be suppressed to save some bandwidth and processing. This seems like it would have some benefit to players and those trying to debug.
The text was updated successfully, but these errors were encountered: