Q- oky now i want to brain storm some ideas about my intership presentation Q- to get…
- User
Q- oky now i want to brain storm some ideas about my intership presentation
Q- to get the contest this summer i build a “Microservice Application” by implement a lot of design pattern from the world of “distributed system , cloud native , software engineer”
Q- the project is basiiclly using build a “mircoersvice” e-commerce with 4 main beinss logic service
Product , Order , Inventory , Notification service
The stack to build the logic is using spring boot , spring cloud (to implement a lot of cloud native , micrservice patterns ) , and basilly the two type of databases are are realition data base like
Mysql and document database like mongodb
Q- what technogie you use to build instances of these database ? → using local development i leverage docker (specifically docker-compose ) to instante these databases
Q- next what are the patterns you have used in this pattern :
Q-one? The, because in a microservice architecture each service runs in it’s environment (it has its resource and sphere) But how do they need to communicate here?
—> first each microservice need to build a well defined & documented interface to build the contract between service X and all the service Y → this can be done using API first approach? (let’s dive more in detail here )
Q- now the first pattern to figure out the right? It’s about the type of inter-process communication here?
Basically we have : two type of communication :
Synchronse communication : using request-response style Asynchronous communication : using message broker here to make your services to
For example:
In the Order Service and Notification Service : we have Aysnc Communication pattern here using “Kafka” In the Order Service and Inventory Service : we have Sync communication pattern here
Q- my first question ?
Explain this reasoning style why Order Service and Notification Service : use Aysnc Communication pattern And aslo the other part
- Assistant