jeudi 15 juin 2017

CQRS - Generating view counts for specific reads

How to record how many times a given resource was read? You could do it on the read models itself but what if you have same logic in the commands side (microservices) that need that info? Is it ok for the readmodels to send commands back to the microservices to have this recorded that? I have never seen an example all these years which covered readmodels generations commands but I don't think I can get away from it. What is your opinion?

Aucun commentaire:

Enregistrer un commentaire