This article analyzes the problems of creating and maintaining the micro-service-oriented architecture. The solution of the OSGI modular architecture and its alternatives was also considered, as well as the strength and weakness, were identified. The practical part is to create an OSGI system for IoT (wireless network access), which uses a sensor system and a data processing system, with a centralized modular system for processing input data from different devices. The modules are broken down into data processing functionality. The complexity of refactoring micro-service architecture using OSGI modules was also investigated.
[1] Micro-Service Architecture, Medium Corp., 2019. [Online]. Available: https://medium.com/@IvanZmerzlyi/microservices-architecture-461687045b3d.
[2] Building Microservices in OSGi with the Apache Karaf Framework, Exoscale Comp., 2019. [Online]. Available: https://www.exoscale.com/syslog/building-microservices-in-osgi-with-the-....
[3] Modules Vs. Microservices, O’Reilly Media, Inc., 2017. [Online]. Available: https://www.oreilly.com/radar/modules-vs-microservices/.
[4] The Dynamic Module System for Java, OSGI Alliance, 2020. [Online]. Available: https://www.osgi.org/developer/specifications/
[5] Fowler, Martin. Microservices. 2018. [Online]. Available: https://martinfowler.com/articles/microservices.html
[6] Apache Karaf Microservices article, GitHub, Inc, 2020. [Online]. Available: https://github.com/exoscale-labs/Apache_Karaf_Microservices_article/blob....