You can distribute your system, but you will need your data back...

The microservices architecture style migrates the data to separate databases (or schemas).
While this works well for services, it isn't good for Reporting.
There are four main techniques for handling reporting in microservices:
- Database pull model
- HTTP pull model
- Batch pull model
- finally, the event-based push model
The first three techniques pull data from each service database.
These are examples of the antipattern name "reach-in reporting."
The problem with pull data is that it creates dependencies between services.
The solution to the antipattern is to use an event-based push model.
This model uses asynchronous events to send the information to the reporting database.
Instead of pulling data, each service sends its data updates as an event to a data-capture service.
The data-capture service updates the reporting database.
This solution allows you to decouple the reporting service from the database schema.
Do you need help with your reports?
