KCP is a fast and reliable protocol that can achieve the transmission effect of a reduction of the average latency by 30% to 40% and reduction of the maximum delay by a factor of three, at the cost of 10% to 20% more bandwidth wasted than TCP. It is implemented by using the pure algorithm, and is not responsible for the sending and receiving of the underlying protocol (such as UDP), requiring the users to define their own transmission mode for the underlying data packet, and provide it to KCP in the way of callback. Even the clock needs to be passed in from the outside, without any internal system calls.
Twisted存在Todo List很久了, 之前在有关于与Tornado做抉择的时候, 选择了文档更加让我舒服的Tornado, 虽然也没有舒服到哪里去. 这次重写Monkey组件, 我打算用一些其他新的,或者是完全不一样的东西来完成这件事情.
为什么使用Protocol Buffers, 思考这个问题:
How do you serialize and retrieve structured data?