48. Message Overhead
• Typically 12 Bytes. Caused by
• 1 Byte sessionId
• 1 Byte streamId
• 2 Byte sequence number
• 1 Byte submessageId
• 1 Byte flags and
• 2 Byte submessage Length
• 2 Byte request_id
• 2 Byte object_id
• We looked at whether it could be further reduced. But doing so would increase complexity and reduce
robustness.
• E.g. e do not need different code paths for mul=ple sessions, reconnec=ons, handling variable-it
encoding
• Considering TCP/IP overhead is 40 bytes, 12 bytes versus 4 Bytes represents only a 6% difference. Not
worth the complexity