xiaonanln / goworld

Scalable Distributed Game Server Engine with Hot Swapping in Golang
Apache License 2.0
2.53k stars 452 forks source link

optimize AllClient operations by reducing packet count to send #9

Closed xiaonanln closed 6 years ago

xiaonanln commented 6 years ago

Current method: send packet to clients of neighbors one by one Better method: collect all neighbor clients, and send to each gate only 1 packet