DOMINANCE OF FIELD PROCESSING DURING THE FORMATION OF PROTOCOL BUFFER MESSAGES IN MULTI-NODE IoT SYSTEMS

Authors

  • Ozora Himmatana Prasetyo Universitas Negeri Malang
  • Rangga Bayu Saputra Universitas Negeri Malang
  • Raihan Nauval Aziz Universitas Negeri Malang
  • Muhammad Zamroji Universitas Negeri Malang
  • Taharo Hafwenia Universitas Negeri Malang
  • Putra Wisnu Agung Sucipto Universitas Negeri Malang

DOI:

https://doi.org/10.36563/h9pbrj93

Keywords:

Protocol Buffers,, field processing,, encoding time,, data serialization,, IoT.

Abstract

Differences in encoding time in Internet of Things (IoT) systems are related not only to

payload size but also to the data processing stages before serialization. This study identifies

the processing time characteristics of fields during Protocol Buffers message formation in a

multi-node IoT system. Data from two ESP32 sensor nodes communicating with a Raspberry

Pi server via TCP were analyzed, with JSON, PSON, and MessagePack as comparison

formats. The analysis combined source code examination, 60-second system tests for each

format, and two stages of encoder profiling using fixed inputs without TCP. MessagePack had

the lowest average encoding time (85.86 µs), whereas Protocol Buffers required 442.23 µs

despite producing the smallest average payload (45.00 bytes). The node carrying additional

IMU fields increased the Protocol Buffers encoding time by 78.62 µs, compared with 12.42 to

18.25 µs for the other formats. Profiling showed that telemetry field processing (76.02 µs) and

general field processing (39.29 µs) together accounted for 85.8% of the message structure

creation time (pbFill(), 134.36 µs), while structure initialization took 1.29 µs and Nanopb

serialization took 120.00 µs. These findings indicate that field processing dominates message

structure construction in the tested Protocol Buffers implementation, although Nanopb

serialization also accounts for a significant share of the encoding time.

Downloads

Download data is not yet available.

References

Angelina, D. D. M., & Marcus, R. D. (2026). Comparative analysis of AES-GCM and

ChaCha20-Poly1305 in IoT data encryption based on ESP32. Jurnal Teknologi

Informasi dan Terapan, 13(1), 10–18.

https://jtit.polije.ac.id/index.php/jtit/article/view/473

Chen, T., Guan, X., Shuai, S., Huang, C., & Aibin, M. (2024). Lite2: A schemaless zero-copy

serialization format. Computers, 13(4), Article 89.

https://doi.org/10.3390/computers13040089

Dzurinadib, M. I., Huda, M. M., & Prabowo, T. (2026). Comparison of JSON and

MessagePack serialization performance on end-to-end latency over HTTP protocol. GTech: Jurnal Teknologi Terapan, 10(3), 1117–1130. https://doi.org/10.70609/gtech.v10i3.10072

Friesel, D., & Spinczyk, O. (2021). Data serialization formats for the Internet of Things.

Electronic Communications of the EASST, 80.

https://doi.org/10.14279/tuj.eceasst.80.1134

Huang, B., & Tang, Y. (2021). Research on optimization of real-time efficient storage

algorithm in data information serialization. PLOS ONE, 16(12), Article e0260697.

https://doi.org/10.1371/journal.pone.0260697

Kabamba, H. M., Khouzam, M., & Dagenais, M. R. (2024). Vnode: Low-overhead transparent

tracing of Node.js-based microservice architectures. Future Internet, 16(1), Article 13.

https://doi.org/10.3390/fi16010013

Kumar, N., Falcitelli, M., Kotopulos De Angelis, F., Pagano, P., & Noto, S. (2026). Evaluating

binary serialization protocols for IoT/M2M applications over hybrid terrestrial and nonterrestrial networks. Telecom, 7(2), Article 43. https://doi.org/10.3390/telecom7020043

Luis, Á., Casares, P., Cuadrado-Gallego, J. J., & Patricio, M. A. (2021). PSON: A serialization

format for IoT sensor networks. Sensors, 21(13), Article 4559.

https://doi.org/10.3390/s21134559

Maltsev, E., & Amin, R. U. (2024). Impact of serialization format on inter-service latency.

Advances in Cyber-Physical Systems, 9(2), 89–94.

https://doi.org/10.23939/acps2024.02.089

Maltsev, E., & Muliarevych, O. (2024). Beyond JSON: Evaluating serialization formats for

space-efficient communication. Advances in Cyber-Physical Systems, 9(1), 9–15.

https://doi.org/10.23939/acps2024.01.009

Nanopb. (n.d.). Nanopb: Overview. Retrieved October 31, 2026, from

https://jpa.kapsi.fi/nanopb/docs/

Pardede, C., Sihombing, W., & Nainggolan, W. (2025). Comparative study of manual and

generated data transfer object implementation performance. Journal of Applied

Informatics and Computing, 9(5), 2912–2919. https://doi.org/10.30871/jaic.v9i5.10818

Plauska, I., Liutkevičius, A., & Janavičiūtė, A. (2023). Performance evaluation of C/C++,

MicroPython, Rust and TinyGo programming languages on ESP32 microcontroller.

Electronics, 12(1), Article 143. https://doi.org/10.3390/electronics12010143

Shvaika, D. I., Shvaika, A. I., & Artemchuk, V. O. (2024). Advancing IoT interoperability:

Dynamic data serialization using ThingsBoard. Journal of Edge Computing, 3(2), 126–

135. https://doi.org/10.55056/jec.745

Trovato, A., Traini, L., Di Menna, F., & Di Nucci, D. (2025). AMBER: AI-enabled Java

microbenchmark harness. In 2025 IEEE Conference on Software Testing, Verification

and Validation (ICST) (pp. 762–766). IEEE.

https://doi.org/10.1109/ICST62969.2025.10988925

Winata, A., Soeparno, H., Gaol, F. L., & Arifin, Y. (2024). Efficiency of multi-language data

serialization for hybrid cloud-edge HRIS. Procedia Computer Science, 245, 28–38.

https://doi.org/10.1016/j.procs.2024.10.226

Downloads

Published

2026-12-01

How to Cite

DOMINANCE OF FIELD PROCESSING DURING THE FORMATION OF PROTOCOL BUFFER MESSAGES IN MULTI-NODE IoT SYSTEMS. (2026). INTERNATIONAL SEMINAR, 8, 692-702. https://doi.org/10.36563/h9pbrj93

Similar Articles

71-80 of 219

You may also start an advanced similarity search for this article.