Energy-Efficient Transaction Serialization for IoT Devices

Daniel Evans (Pace University, United States)

Article ID: 1620


This article presents two designs, the Transaction Serial Format (TSF) and the Transaction Array Model (TAM). Together, they provide full, efficient, transaction serialization facilities for devices with limited onboard energy, such as those in an Internet of Things (IoT) network. TSF provides a compact, non-parsed, format that requires minimal processing for transaction deserialization. TAM provides an internal data structure that needs minimal dynamic storage and directly uses the elements of TSF. The simple lexical units of TSF do not require parsing. The lexical units contain enough information to allocate the internal TAM data structure efficiently. TSF generality is equivalent to XML and JSON. TSF represents any XML document or JSON object without loss of information, including whitespace. The XML equivalence provides a foundation for the performance comparisons. A performance comparison of a C reference implementation of TSF and TAM to the popular Expat XML library, also written in C, shows that TSF reduces deserialization processor time by more than 80%.


Energy efficiency;Data serialization;IoT serialization;XML equivalence;JSON equivalence

Full Text:



[1] G. Pinto and F. Castor. Energy Efficiency: A New Concern for Application Software Developers. Communications of the ACM, 2017.

[2] Apache Group. Apache Avro. 2012. [Online]. Available at: html

[3] Apache Parquet. 2013. [Online]. Available at:

[4] MongoDB, Inc. BSON (Binary JSON). 2018. [Online]. Available at:

[5] Java Language. Java Object Serialization. 1993. [Online]. Available at: guides/serialization/index.html

[6] G. van Rossum. Python Pickle - PEP 3154. 2011. [Online]. Available at:

[7] L. Wall. PERL Modules DataDumper, FreezeThaw, Storable. 1991. [Online]. Available at:

[8] The Object Management Group. CORBA. 2008. [Online]. Available at:

[9] The Java Language. Java Remote Method Invocation. 1993. [Online]. Available at: java.rmi/module-summary.html

[10] H. Pennington et al.. The D-Bus Specification. 2003. [Online]. Available at: html

[11] Apache Group. Apache Thrift. 2007. [Online]. Available at: pdf

[12] D. Winer. XML-RPC. 1998. [Online]. Available at:

[13] M. Gudgin et al., Eds. SOAP Version 1.2. 2007. [Online]. Available at:

[14] International Telecommunications Union. Specification of Abstract Syntax Notation One (ASN.1). ITU Standard (Blue Book), 1988. [Online]. Available at:

[15] K. McCloghrie, D. Perkins, J. Schoenwaelder, Eds.. RFC 2578 - Structure of Management Information Version 2 (SMIv2). 1999. [Online]. Available at:

[16] International Telecommunications Union. X.509 - IT OSI - Public-key and Attribute Certificate Frameworks. 2008. [Online]. Available at:

[17] T. Bray, J. Paoli, C. M. Sperberg-McQueen, Eds.. Extensible Markup Language (XML) 1.0. February 1998. [Online]. Available at:

[18] D. Crockford. Introducing JSON. 2005. [Online]. Available at:

[19] O. Ben-Kiki, C. Evans,d I. döt Net. YAML Ain’t Markup Language - Version 1.2. 2001. [Online]. Available at:

[20] R. Rivest. S-Expressions. 1997. [Online]. Available at:

[21] M. Cokus, S. Pericas-Geertsen, Eds.. XML Binary Characterization Properties, W3C Working Draft 05, 2004. [Online]. Available at:

[22] J. Schneider et al., Eds.. Efficient XML Interchange (EXI) Format 1.0 - W3C Working Draft 16, 2007. [Online]. Available at:

[23] J. Clark, J. Cowan, Eds.. MicroXML. October 2012. [Online]. Available at: microxml.html

[24] C. Bormann, P. Hoffman. Compact Binary Object Format. 2013. [Online]. Available at:

[25] Google. Protocol Buffers. 2008. [Online]. Available at: proto

[26] W. van Oortmerssen. Flatbuffers, 2014. [Online]. Available at:

[27] M. Eisler, Ed.. RFC 4506 - XDR - External Data Representation Standard. 2006, obsoletes RFC 1832.[Online]. Available at:

[28] B. Cohen. Bencoding - Part of BitTorrent. 2008. [Online]. Available at:

[29] B. Ramos. Binn - Binary Data Serialization. 2015. [Online]. Available at:

[30] D. Crocker, Ed.. RFC 5234 - Augmented BNF for Syntax Specifications: ABNF. Internet Engineering Task Force Request for Comments, January 2008. [Online]. Available at:

[31] T. Bray et al., Eds.. Extensible Markup Language (XML) 1.0 (Fourth Edition) - W3C Recommendation 16 August 2006. W3C Recommendation, August 2006. [Online]. Available at:

[32] T. Bray, J. Paoli, C. M. Sperberg-McQueen, E. Maler, F. Yergeau, J. Cowan, Eds.. Extensible Markup Language (XML) 1.1. August 2006. [Online]. Available at:

[33] The Expat Development Team. LibExpat - Version 2.2.6. 2018. [Online]. Available at:



  • There are currently no refbacks.
Copyright © 2020 Author(s)

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.