Vamsi Thatikonda,
- Senior Software Developer, Department of Computer Engineering, Snoqualmie, Washington, India
Abstract
The evolution of enterprise software has trended steadily toward microservice architectures due to their inherent scalability and resilience advantages over monolithic systems. This research explores a comprehensive implementation approach using Micronaut, an innovative JVM-based framework specifically designed for resource-efficient microservices. The study combines Micronaut with Kotlin programming language and leverages AWS DynamoDB as a scalable NoSQL persistence layer, with Apache Kafka providing event-driven communication capabilities. We explore the critical role of OAuth2 authentication for securing these distributed services and implement standardized CRUD operations following best practice design patterns. Our methodology employs systematic benchmarking to evaluate performance characteristics across varied deployment scenarios, integrating circuit breaker patterns for service resilience and analyzing horizontal scaling capabilities. Experimental results demonstrate significant performance advantages including an 80% reduction in startup time and a 40% decrease in memory footprint compared to traditional Spring-based implementations. The findings indicate that the Micronaut-Kotlin-DynamoDB architecture delivers exceptional response metrics, with p95 latencies of 25 ms under load and transaction processing capabilities of 5000 requests per second on modest infrastructure. The study identifies key challenges in distributed transaction management, eventual consistency models, and developer onboarding processes. We conclude with strategic recommendations for enterprise adoption alongside an exploration of emerging enhancement opportunities including GraphQL integration, CQRS implementation, and AI-augmented service optimization. This research provides practical architectural guidance for modern distributed systems that demand both high performance and cloud-native scalability while minimizing operational complexity and resource utilization.
Keywords: Micronaut, Kotlin, DynamoDB, Kafka, microservices, REST API, OAuth2, event-driven architecture, scalability, cloud-native
[This article belongs to Journal of Mobile Computing, Communications & Mobile Networks ]
Vamsi Thatikonda. Building Scalable Microservices with Micronaut, Kotlin, and AWS DynamoDB: A Comprehensive Architecture Study. Journal of Mobile Computing, Communications & Mobile Networks. 2025; 12(02):40-57.
Vamsi Thatikonda. Building Scalable Microservices with Micronaut, Kotlin, and AWS DynamoDB: A Comprehensive Architecture Study. Journal of Mobile Computing, Communications & Mobile Networks. 2025; 12(02):40-57. Available from: https://journals.stmjournals.com/jomccmn/article=2025/view=0
References
- Singh N, Dawood Z. Building Microservices with Micronaut®: A quick-start guide to building high-performance reactive microservices for Java developers. Packt Publishing Ltd; Birmingham, United Kingdom. 2021 Sep 30.
- Iglesias JA. Hands-On Microservices with Kotlin: Build reactive and cloud-native microservices with Kotlin using Spring 5 and Spring Boot 2.0. Packt Publishing Ltd; Birmingham, United Kingdom. 2018 Jan 29.
- Tapia F, Mora MÁ, Fuertes W, Aules H, Flores E, Toulkeridis T. From monolithic systems to microservices: A comparative study of performance. Appl Sci. 2020 Aug 21; 10(17): 5797.
- Villamizar M, Garcés O, Castro H, Verano M, Salamanca L, Casallas R, Gil S. Evaluating the monolithic and the microservice architecture pattern to deploy web applications in the cloud. In 2015 IEEE 10th computing Colombian conference (10ccc). 2015 Sep 21; 583–590.
- García-Díaz V, Espada JP, García-Bustelo BC, Lovelle JM, Osis J. Towards a Standard-Based Domain-Specific Platform to Describe Points of Interest. Appl Comput Syst. 2015 May 1; 17(1): 69.
- Thalheim J, Rodrigues A, Akkus IE, Bhatotia P, Chen R, Viswanath B, Jiao L, Fetzer C. Sieve: Actionable insights from monitored metrics in distributed systems. In Proceedings of the 18th ACM/IFIP/USENIX middleware conference. 2017 Dec 11; 14–27.
- Góis Mateus B, Martinez M. An empirical study on quality of Android applications written in Kotlin language. Empir Softw Eng. 2019 Dec; 24(6): 3356–93.
- Belson B, Holdsworth J, Xiang W, Philippa B. A survey of asynchronous programming using coroutines in the Internet of Things and embedded systems. ACM Trans Embed Comput Syst. 2019 Jun 5; 18(3): 1–21.
- Gessert F, Wingerath W, Friedrich S, Ritter N. NoSQL database systems: a survey and decision guidance. Comput Sci-Res Dev. 2017 Jul; 32(3–4): 353–65.
- Szalay M, Matray P, Toka L. Annabelladb: Key-value store made cloud native. In 2020 IEEE 16th International Conference on Network and Service Management (CNSM). 2020 Nov 2; 1–5.
- Chy MS, Arju MA, Tella SM, Cerny T. Comparative evaluation of Java virtual machine-based message queue services: A study on Kafka, Artemis, Pulsar, and RocketMQ. Electronics. 2023 Nov 27; 12(23): 4792.
- Dobbelaere P, Esmaili KS. Kafka versus RabbitMQ: A comparative study of two industry reference publish/subscribe implementations: Industry Paper. In Proceedings of the 11th ACM international conference on distributed and event-based systems. 2017 Jun 8; 227–238.
- Chen L, Babar MA. Towards an evidence-based understanding of emergence of architecture through continuous refactoring in agile software development. In 2014 IEEE/IFIP Conference on Software Architecture. 2014 Apr 7; 195–204.
- Fowler M. Patterns of enterprise application architecture. Addison-Wesley; Boston,New England. 2012 Mar 9.
- Nygard M. (2018). Release it!: design and deploy production-ready software. [Online]. https://www.torrossa.com/en/resources/an/5241265.
- Wijesekara PA, Gunawardena S. A review of blockchain technology in knowledge-defined networking, its application, benefits, and challenges. Network. 2023 Aug 30; 3(3): 343–421.

Journal of Mobile Computing, Communications & Mobile Networks
| Volume | 12 |
| Issue | 02 |
| Received | 21/04/2025 |
| Accepted | 12/05/2025 |
| Published | 18/06/2025 |
| Publication Time | 58 Days |
[first_name] [last_name]