doi: 10.17706/jsw.12.11.858-873
Ultra-Lightweight RPC Protocol Framework with Variadic Templates in C++11
- Department of Computer Science, Faculty of Physics and Applied Informatics, University of Łódź, ul. Pomorska 149/153, 90-236 Łódź, Poland.
Abstract
We describe a framework for very lightweight custom remote procedure call protocol. This framework uses variadic templates and other language features introduced in C++11 to furnish effective, cache friendly and hence energy efficient implementation. Our approach provides also type safety and modularity of RPC handlers. Such a solution is useful both in industrial and home automation applications with possibly severe limitations on processing power and network bandwidth (like using GSM in remote areas). Here, the latter constraint may apply to systems implemented on both ends of spectrum: low end embedded systems as well as high end multicore server systems, but under heavy load.
Keywords
- C++
- meta programing
- RPC protocol
- vari
How to Cite
Bartosz Zieliński, Piotr Kruszyński, Maciej Sysak, Ścibór Sobieski, and Pawel Maślanka, "Ultra-Lightweight RPC Protocol Framework with Variadic Templates in C++11," Journal of Software, vol. 12, no. 11, pp. 858-873, 2017. https://doi.org/ 10.17706/jsw.12.11.858-873
Copyright & License
Copyright © 2017 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).
