lundi 1 février 2021

CQRS - Read Size using Redis

I'm developing an application, which commands trigger events to update a redis.

This redis is used by the query side to obtain data.

The query side is recommend getting as close to the data store as possible, by this I mean avoid any repositories, services or facades etc... but I need to access an interface to get to the redis.

What would be the best solution for this case? The handlers of my queries are in application layer, should I implement the redis interface on the same layer?

Aucun commentaire:

Enregistrer un commentaire