Design of Network Messages
Posted: Tue Nov 13, 2012 3:35 pm
Warning: Very technical thread ahead.
So the idea for the networking part is to use the netty library for network communication and send protocol buffers messages between clients and servers. In the best case these messages form a hierachy, so that they can be handled efficiently. I will start a brainstorm in this thread (paper or a notepad would have done the trick too) about the structure and hierachy of these messages. I will use some pseudo notation.
A bit of explanation. Message are just some data structures that are transferred over the internet. Because network communication is quite unreliable and speed is variable we must take many precautions. A good framework is essential. The messages by itself should also be well designed but since our experience grows while we are doing it, we just start with what looks best now and then we will improve.
So the idea for the networking part is to use the netty library for network communication and send protocol buffers messages between clients and servers. In the best case these messages form a hierachy, so that they can be handled efficiently. I will start a brainstorm in this thread (paper or a notepad would have done the trick too) about the structure and hierachy of these messages. I will use some pseudo notation.
A bit of explanation. Message are just some data structures that are transferred over the internet. Because network communication is quite unreliable and speed is variable we must take many precautions. A good framework is essential. The messages by itself should also be well designed but since our experience grows while we are doing it, we just start with what looks best now and then we will improve.