I work on a microservices architecture and I have a question about a sharing table between two micorservices
Example :
I have two microservices, one is for publish Ads and the other one is for searching Ads, both of these services have a seperate database
I want to know in which microservice's database i should put my table ADS in order to reduce dependency and calls between these two micorservices and what is the best way to update the table ADS in search_service database after adding a new Ads ? (If the Publish service is down, i want to be able to call the Search service)
Thanks for your advice
Aucun commentaire:
Enregistrer un commentaire