Submitted:
09 May 2025
Posted:
12 May 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction and Literature Review
2. Methodology
2.1. Experimental Setup
2.2. Configuration Details
2.2.1. Basic Authentication with Bcrypt

2.2.2. API Key Authentication

3. Results
4. Discussion
5. Conclusions
References
- Nadareishvili, I., Mitra, R., McLarty, M., & Amundsen, M. (2016). Microservice architecture: Aligning principles, practices, and culture. O’Reilly Media. https://www.oreilly.com/library/view/microservice-architecture/9781491956274/.
- LinkedIn. (n.d.). What are the best practices for securing and rotating API keys and secrets? LinkedIn. https://www.linkedin.com/advice/3/what-best-practices-securing-rotating-api-keys-secrets.
- Baeldung. (n.d.). Spring Boot API key and secret authentication. Baeldung. https://www.baeldung.com/spring-boot-api-key-secret.
- Auth0. (n.d.). Hashing in action: Understanding bcrypt. Auth0. https://auth0.com/blog/hashing-in-action-understanding-bcrypt/.
- Batyrbekova, S., & Esenalieva, G. (2025). Research on data security approaches in Spring Boot for REST API. Preprints. https://www.preprints.org/manuscript/202501.0908/v1.
- Stack Overflow. (n.d.). How to secure REST APIs in Spring Boot web application. Stack Overflow. https://stackoverflow.com/questions/42870489/how-to-secure-rest-apis-in-spring-boot-web-application.
- Spring. (n.d.-b). Microservices. Spring.io. https://spring.io/microservices.
- GeeksforGeeks. (n.d.). Apache JMeter: An introduction. GeeksforGeeks. https://www.geeksforgeeks.org/apache-jmeter-an-introduction/.
- Spring. (n.d.-a). Spring Security. Spring.io. https://spring.io/projects/spring-security.
- Raj, R. V. (2016). Spring microservices. Packt Publishing. https://books.google.kg/books?id=pwNwDQAAQBAJ.
| Method | Response (ms) | Throughput (req/sec) |
|---|---|---|
| Basic Authentication (bcrypt) | 150 | 120 |
| API Key Authentication | 80 | 300 |
| Difference | -70 | 180 |
| Ratio (API Key/Basic) | 0.53 (47% reduction) | 2.5 (150% increase) |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).