Design and Implementation of a Real-time Publish/Subscribe Middleware

Author(s): Pengyi Zheng*.

Journal Name: Recent Advances in Electrical & Electronic Engineering
Formerly Recent Patents on Electrical & Electronic Engineering

Volume 12 , Issue 6 , 2019

Become EABM
Become Reviewer

Graphical Abstract:


Background: Middleware has been widely adopted as an efficient approach to facilitate the development process of large-scale distributed systems. Although this approach can achieve simplified system design and reduced time consumption, it has a strong demand for real-time task processing and data transmitting. Traditional middleware, which lacks the real-time performance guarantee mechanism, cannot be adopted by the distributed systems with strict time restrictions.

Methods: In order to meet the real-time requirements of distributed systems, the functional requirements of middleware are studied, and a real-time publish/subscribe middleware is designed and implemented in this paper. A hierarchical design is adopted to build this middleware from a model layer, a communication layer and a support layer. The middleware has the data synchronization on distributed objects, Ethernet-based publish/subscribe mechanism and the real-time performance guarantee mechanism.

Results: Experiments show that the proposed middleware satisfies the needs of distributed applications, and ensures that the end-to-end data communication delay is less than 1 millisecond, which meets the real-time requirements of data transmission in distributed systems.

Conclusion: In this paper, we design and implement a real-time middleware based on the publish/ subscribe mechanism.

Keywords: Real-time middleware, publish/subscribe, distributed system, data communication, strict time restriction, guarantee mechanism.

D.M. Belokosztolszki, P.R. Eyers, and P.R. Pietzuch, "Role-based access control for publish/subscribe middleware architectures", In: Proc. 2nd Inter. Workshop Distribut. Event-Based Syst. (DEBS’03), San Diego, California, CA, USA, 2003, pp. 1-11.
M. Nordahl, and B. Magnusson, "A lightweight data interchange format for internet of things in the PalCom middleware framework", J. Ambient Intell. Humaniz. Comput., vol. 74, pp. 523-532, 2015.
L.A. Amaral, E.D. Matos, and F. Hessel, "Cooperative middleware platform as a service for internet of things applications", ACM Symposium on Appl. Comput., vol. 35, pp. 488-493, 2015.
M.A. Chaqfeh, and N. Mohamed, Challenges in middleware solutions for the internet of things. IEEE Inter. Conf. Collab. Technol. Syst., Denver, CO, USA, 2012, pp. 21-26.
Y. Wen, Z. Li, X. Peng, and H. Zhao, "A middleware architecture for sensor networks applied to industry solutions of internet of things", In: IEEE Second International Conference on Digital Manufacturing and Automation, Hunan, China, 2011, pp. 50-54.
M. Shapiro, P. Ferreira, and N. Richer, "Experience with the PerDiS large-scale data-sharing middleware", International Workshop on Persistent Object Systems, vol. 2135, pp. 55-69, 2000.
E. Nikulchev, O. Lukyanchikov, and E. Pluzhnik E, "Features management and middleware of hybrid cloud infrastructures", Inter. J. Adv. Comput. Sci. Appl., vol. 71, pp. 30-36, 2016.
J. Chen, C. Du, and P. Han, "Scheduling independent partitions in integrated modular avionics systems", Plos One, vol. 11.12: e0168064, pp. 1-18, 2016.
M. Stal, "The TAO of patterns-understanding middleware and component architectures", International Working Conference on Trends in Distributed Systems: Towards A Universal Service Market, vol. 1890, p. 27, 2000.
A. Antonic, K. Roankovic, M. Marjanovic, K. Pripuic, and I.P. Arko, "A mobile crowdsensing ecosystem enabled by a cloud-based publish/subscribe middleware", In: International Conference on Future Internet of Things and Cloud, Barcelona, Spain, 2014, pp. 107-114.
J. Chen, C. Du, F. Xie, and Z. Yang, "Schedulability analysis of non-preemptive strictly periodic tasks in multi-core real-time systems", Real-Time Syst., vol. 52, pp. 239-271, 2016.
S. Bhowmik, M.A. Tariq, and B. Koldehofe, "High performance publish/subscribe middleware in software-defined networks", IEEE/ACM Trans. Netw., vol. 25, pp. 1-16, 2017.
J. Chen, C. Du, F. Xie, and B. Lin, "Allocation and scheduling of strictly periodic tasks in multi-core real-time systems", In: IEEE International Conference on Embedded and Real-Time Computing Systems and Applications, Daegu , Korea, 2016, pp. 130-138.
M. Caporuscio, A.D. Marco, and P. Inverardi, Run-time performance management of the Siena publish/ subscribe middlewareInternational Workshop on Software and PERFORMANCE, Palma de Mallorca, Spain, 2005, pp. 65-74.
T. Vergmaud, J. Hugues, L. Pautet, and F. Kordon, Rapid development methodology for customized middlewareIEEE International Workshop on Rapid System Prototyping, San Diego, CA, USA, 2017, pp. 111-117.
A. Agirre, "A., J. Parra, A. Armentia, “QoS aware middleware support for dynamically reconfigurable component based IoT applications", Int. J. Distrib. Sens. Netw., vol. 45, pp. 4-7, 2016.
L. Bergmans, A.V. Halteren, L.F. Pires, and M.J.V. Sinderen, "A QoS-control architecture for object middleware", Lect. Notes Comput. Sci., vol. 1905, pp. 117-131, 2000.

Rights & PermissionsPrintExport Cite as

Article Details

Year: 2019
Page: [513 - 518]
Pages: 6
DOI: 10.2174/2352096511666181017120544

Article Metrics

PDF: 18