Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Xmage server uses excessive network bandwidth #2812
I was talking today with a server operator who runs both cockatrice and xmage servers, and they mentioned that the XMage server consumed over 500gb of network in one day for 200 users, where the cockatrice server used 250gb for 23 days with 600 users.
It sounds like you're using an xml or json based protocol. Cockatrice used to use an xml one, and when we switched to using Protocol Buffers, network traffic dropped by over 95%.
This matters quite a lot for players or server operators who are on metered internet. The situation I mentioned above came up because the operator discussed that he had originally moved the xmage server to a cheaper but bandwidth-metered server and had to change it again due to the heavy traffic requirements.