Russian Federation
The paper considers microservice architecture as an alternative to monolithic architecture for improving the reliability of information systems. Using the example of a system consisting of a chatbot and a RAG service, a comparison of the two approaches is carried out. A practical implementation using Docker Compose demonstrates the principle of graceful degradation when one of the services fails. The advantages of the Kubernetes orchestrator for automating recovery and system scaling.
microservice architecture, monolithic architecture, fault tolerance, Docker, Kubernetes, RAG, chatbot
1. Alekseev, M.K. Opyt vnedreniya Kubernetes dlya orkestracii mikroservisov / M.K. Alekseev– 2023. – S. 112-120.
2. Anshina, M. L. Arhitektura prilozheniy i dannyh: uchebnoe posobie / M. L. Anshina. — Moskva: RTU MIREA, 2024. — 152 s. — ISBN 978-5-7339-2218-8. // Lan': elektronno-bibliotechnaya sistema. — URL: https://e.lanbook.com/book/421100 (data obrascheniya: 16.10.2025). — Rezhim dostupa: dlya avtoriz. pol'zovateley.
3. Godzuras, E. Docker Compose dlya razrabotchika: rukovodstvo / E. Godzuras ; perevod s angliyskogo A. N. Kiseleva. — Moskva: DMK Press, 2023. — 220 s. — ISBN 978-5-93700-203-7. // Lan': elektronno-bibliotechnaya sistema. — URL: https://e.lanbook.com/book/348110 (data obrascheniya: 16.10.2025). — Rezhim dostupa: dlya avtoriz. pol'zovateley.
4. Kocher, P. S. Mikroservisy i konteynery Docker : rukovodstvo / P. S. Kocher ; perevod s angliyskogo A. N. Kiseleva. — Moskva: DMK Press, 2019. — 240 s. — ISBN 978-5-97060-739-8. // Lan': elektronno-bibliotechnaya sistema. — URL: https://e.lanbook.com/book/123710 (data obrascheniya: 16.10.2025). — Rezhim dostupa: dlya avtoriz. pol'zovateley.
5. Docker Documentation: oficial'naya dokumentaciya po ispol'zovaniyu Docker // Oficial'nyy sayt Docker Inc. – URL: https://docs.docker.com/ (data obrascheniya: 14.10.2025).
6. Kubernetes Documentation: rukovodstvo po razvertyvaniyu i upravleniyu klasterami // Sayt Cloud Native Computing Foundation. – URL: https://kubernetes.io/docs/ (data obrascheniya: 15.10.2025).



