← Back to the chapter · Next detail →

Technical detail · AMQP Delivery: Sizing and Reliability Contracts

Payload efficiency and batching

For this worksheet, overhead is the sum of the method envelope, method content, content-header frame and body envelope:

8B+40B+60B+8B=116B.8B + 40B + 60B + 8B = 116B.

This is an illustrative subtotal, not a protocol minimum. Message efficiency is the payload divided by payload plus overhead, multiplied by 100%.

PayloadTotal sizeEfficiency
10 B126 B7.9% (poor)
120 B236 B50.8% (moderate)
800 B916 B87.3% (good)

For the factory’s 120-byte telemetry, nearly half the modeled bytes are overhead. Batching 10 readings into one 1,200-byte message improves efficiency from about 51% to 91%. The saving is (10 × 236 B) − (1,200 B + 116 B) = 1,044 B per ten readings, a 44% reduction. These comparisons use the same 116-byte assumption throughout.

← Back to the chapter · Next detail →