METHOD OF THE HIGH-EFFICIENCY IMPLEMENTATION OF A SIDECAR COMPONENT WITH MINIMAL SYSTEM RESOURCE CONSUMPTION
DOI:
https://doi.org/10.26906/SUNZ.2025.2.161Keywords:
sidekick, microservice architecture, RAM optimization, memory leakage, asynchronous programming, minimal resource usage, streaming data, scalability, garbage collectorAbstract
An analysis of existing solutions for implementing a sidekick is carried out, and a comparison of different technologies is made in terms of RAM usage and startup time, which are critical aspects for sidekick components. Based on the results of the analysis, Quarkus was chosen because its GraalVM-based advance-of-time (AOT) compilation capabilities provide high startup speed and low consumption of RAM and central processing unit (CPU). To solve problems with memory leaks, it is proposed to optimize data flow management, in particular, by eliminating blocking calls and using asynchronous approaches. Replacing the high-level WebClient with the low-level HttpClient for redirecting HTTP requests significantly reduced the use of RAM and avoided OutOfMemory errors. Choosing the optimal Garbage Collector in the JVM environment provides high load resistance. Elimination of memory leaks allows the garbage collector to steadily clear RAM without creating long pauses even under heavy load. The developed and proposed method, as a set of optimizations, demonstrated that modern approaches to the implementation of sidekick can significantly reduce the need for infrastructure resources. The selected technologies, tools, and techniques ensure the creation of a highly efficient, load-resistant sidekick that demonstrates minimal resource consumption and has a positive impact on system performance. The new method allows optimizing the management of RAM and data flows, eliminates blocking calls, uses lower-level tools for processing HTTP requests, and implements a streaming data transfer mechanism. The conducted research of the method demonstrates that, if implemented correctly, the sidekick allows minimizing additional infrastructure costs, preserving the advantages of the sidekick architecture - independence of the main microservices, ease of scaling, and high efficiency. The developed sidekick is resistant to loads and ensures minimal resource utilization. It can be effectively integrated into modern microservice systems.Downloads
References
1. . С. С. Бульба, О. В. Коломійцев, О. І. Соловйова, С. В. Носко. Засоби побудови додаткового рівня системи комунікацій у мікро-сервісній архітектурі. Грааль науки : міжнар. наук. журнал. – Вінниця : ГО «Європейська наукова платформа», 2024. – No 46. – С. 651-659. – URL: DOI 10.36074/grail-of-science.29.11.2024.084.
2. Носко C. В., Бульба С. С., Коломійцев О. В., Лисиця Д. О., Молчанов Г. І. Пропозиції щодо авторизації в сайдкар компоненті мікросервісної архітектури. Системи управління, навігації та зв’язку. Полтава: НУ «ПП», 2025. № 1(7). С. 116–123. – URL: https://journals.nupp.edu.ua/sunz/issue/view/127/68.
3. Meadows, C., Hounsinou, S., Wood, T., & Bloom, G. (2023). Sidecar-based Path-aware Security for Microservices. Proceedings of the 28th ACM Symposium on Access Control Models and Technologies (SACMAT '23), Р. 157–162. https://doi.org/10.1145/3589608.3594742.
4. Araldo, A., Di Stefano, A., & Di Stefano, A. (2020). Resource allocation for edge computing with multiple tenant configurations. Proceedings of the 35th Annual ACM Symposium on Applied Computing (SAC '20), Р. 1190–1199. https://doi.org/10.1145/3341105.3374026
5. Quarkus: офіційний веб-сайт. URL: https://quarkus.io/.
6. Parola, F., Qi, S., Narappa, A. B., Ramakrishnan, K. K., & Risso, F. (2024). SURE: Secure Unikernels Make Serverless Computing Rapid and Efficient. Proceedings of the 2024 ACM Symposium on Cloud Computing (SoCC '24), 668–688. https://doi.org/10.1145/3698038.3698558
7. Poudel, A., Niroula, P., MacDonald, C., Gloudemans, L., & Herwig, S. (2025). Mazu: A Zero Trust Architecture for Service Mesh Control Planes. Proceedings of the 18th European Workshop on Systems Security (EuroSec '25), 49–55. https://doi.org/10.1145/3722041.3723100
8. Basso, M., Prokopec, A., Rosà, A., & Binder, W. (2025). Improving Native-Image Startup Performance. Proceedings of the 23rd ACM/IEEE International Symposium on Code Generation and Optimization (CGO '25), 689–703. https://doi.org/10.1145/3696443.3708927
9. Graalvm: офіційний веб-сайт. URL: https://www.graalvm.org/native-image/
10. JDK Mission Control: веб-сайт. URL: https://www.oracle.com/java/technologies/jdk-mission-control.html
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Serhii Nosko, Serhii Bulba, Oleksii Kolomiitsev, Olena Chernykh, Volodymyr Panchenko

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