Improved network messages

Registered by Manuel Moos on 2008-02-08

The current network messages are simple streams with inefficient storage (a bool takes full two bytes); this causes a lot of compatibility problems everywhere. For example, it is not (easily) possible to extend the WriteCreate() part of a sync message, and it is not possible to change the way data types are transmitted. I propose switching to a (compressed) xml-like format where messages are essentially typesafe dictionaries, mapping ID strings to values. This decouples encoding and message processing and allows arbitrary extensions of messages and efficient syncing where unchanged values are left out of the message.

Blueprint information

Status:
Complete
Approver:
Armagetron Advanced Admins
Priority:
Medium
Drafter:
Manuel Moos
Direction:
Needs approval
Assignee:
Manuel Moos
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 0.4.0
Started by
Manuel Moos on 2009-02-25
Completed by
Manuel Moos on 2009-02-25

Whiteboard

Implemented using Google protobuf in trunk.

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.