Table 2.
Comparison of data transfer encoded in JSON and in the proposed format (Protobuf).
| Number of Sensors | Total Number of Messages | Average Message Size in JSON Format (bytes) | Average Message Size in the Protobuf Format (bytes) | Message Size Ratio (3/4) |
|---|---|---|---|---|
| 1 | 32 | 340 | 78 | 4.36 |
| 2 | 90 | 369 | 82 | 4.5 |
| 3 | 153 | 398 | 86 | 4.62 |
| 4 | 170 | 427 | 90 | 4.74 |
| 5 | 177 | 456 | 94 | 4.85 |
| 6 | 143 | 485 | 98 | 4.94 |
| 7 | 107 | 514 | 102 | 5.04 |
| 8 | 54 | 542 | 106 | 5.12 |
| 9 | 36 | 572 | 110 | 5.2 |
| 10 | 21 | 601 | 114 | 5.27 |
| 11 | 5 | 629 | 118 | 5.33 |
| 12 | 3 | 664 | 122 | 5.44 |
| 13 | 2 | 694 | 126 | 5.5 |
| Total | 1000 | 454 | 94 | 4.82 |