-
Notifications
You must be signed in to change notification settings - Fork 0
Microservices
What are Microservices?
Microservices are an architectural style that develops a single application as a set of small services.
Each service runs in its own process.
The services communicate with clients, and often each other, using lightweight protocols, often over messaging or HTTP.
What are the Benefits of Microservices?
Microservices are small applications that your development teams create independently.
Since they communicate via messaging if at all, they’re not dependent on the same coding language.
Developers can use the programming language that they’re most familiar with.
This helps them come work faster, with lower costs and fewer bugs.
****How microservices work ** **
In microservice architecture, an application is divided into services. Each service runs a unique process and usually manages its own database. A service can generate alerts, log data, support user interfaces (UIs), handle user identification or authentication, and perform various other tasks.
Microservices in E-Auction Platfrom
1.User Profile Microservice
2.Search Microservice
3.Recommendation Microservice
4.Bidding Microservice
5.Authentication Microservice
User Profile Microservice
This microservice contains the functionalities that are related to user registration is done.
The database used for this login is SQL and profile is MONGODB.
Search Microservice
This microservice contains the functionalities that is based on searching a particular product that a user has posted.
The database used for this Microservice is MONGODB.
Recommendation Microservice
This microservice maintains the recommendation for all the users.
When a user registers , he choose a particular categories he is interested in and thus by using this microservice we can able to see the products that are under the choosen categories.
The database used for this Microservice is NEO4J.
Bidding Microservice
This microservice is used when a user starts bidding on a product,Multiple users are able to bid on a single product. The current bidding value is been displayed on the screen therefore the user can bid accordingly.
The database used for this Microservice is REDDIS and for the usage of multiple users WEBSOCKET is been used.
Authentication Microservice
This microservice is used for a particular user to login and check with the token generated .
This token is used for validation when a particular user logs in.
The database used in the microservice is SQL.