I am coding board game server using Netty. Using TCP at every part of the game. But I am having issues most of the time. Even though have posted several questions, tried many configuration parameters, I am still having issues (latency and un-expected disconnect issues at most)
My idea is, using TCP while visitors playing the game. Other than this, if you are exploring rooms, checking tables, looking for friends etc. will use UDP instead. Can I expect performance increase ?
Server: JAVA, Linux
Client: Adobe Flash
No, because in the end you will have to account for those udp messages not getting where they are going. If I know my friend is playing and when I search for friends he doesn’t come up, I’ll just run the search over again.
If you truly have too much traffic (which seems bizarre for a board game server) you can always isolate different functionality to different servers. For example, one server could be dedicated to chat, another to lobbies, and another 3 to running games.