r/code • u/Khchimi_Othmen • Sep 30 '23
API Microservices architecture: two months in, looking for feedback
Hello everyone,
I'm new to microservices architecture, but I've been working on a project for the past two months to learn more and implement it in my own code. I've based my work on some of the architectures that I've seen on the internet, and I'm now looking for feedback from the community.

- Devices collect data and send it to the API.
- The API acts as a single point of entry for external users to interact with the system.
- The Gateway routes API requests to the appropriate microservices.
- Microservices communicate with each other using a registry server to discover each other's locations.
- GitHub is used as a central repository for configuration data.
- The Actuator provides monitoring and health information about the system.
I'm particularly interested in feedback on the following:
- Is my architecture sound?
- Are there any obvious areas where I can improve?
- Are there any specific technologies or patterns that I should be using?
Any feedback that you can give me would be greatly appreciated.
Thanks
2
Upvotes
View all comments
Show parent comment
2
u/[deleted] Sep 30 '23
I posted above how I do things.. but curious why both registry server and rabbitmq? Your services can just pub to a topic/queue.. and it works or it doesnt. Whats the benefit of the registry server in this architecture? Do you have your front gateway APIs call other Rest APIs?