Generating key points…
Answers are grounded in this paper and cite their sources.
This study presents a comparative analysis of various combinations of four data exchange formats (JSON, Avro, Protobuf, CSV) and three application-layer protocols (HTTP, CoAP, MQTT). The analysis uses a dataset containing measurement values from a photovoltaic system in three different versions: small, medium, and large. The results show how the total number of bytes transmitted depends on the data format and protocol used. Additionally, the study illustrates the effects of changing the data format or protocol on use cases with different data sizes. The combination of HTTP and JSON serves as the basis for determining how much savings can be achieved by changing the protocol and/or the data format. For the variants with small and medium payload datasets, switching protocols results in savings of 51–62%, while changing the data format yields savings of 4–11%. For the variant with a large payload dataset, switching the protocol can improve space efficiency by about 19%, while changing the data format yields savings of 70% compared to the HTTP and JSON baseline. In general, MQTT and CoAP achieve similar results across all use cases, while HTTP proved to be less efficient. JSON is the least efficient data format considered in all use cases. For the small and medium dataset variations, all formats show very similar results, while in the large dataset scenario, CSV and Protobuf are most efficient. The paper concludes with recommendations for selecting a suitable data format and protocol enabling more efficent communication for specific use cases.
No takes yet. Share an insight, caveat, or question.
Hellwig et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: