A note from “Microservices AntiPatterns and Pitfalls” March 13, 2017November 25, 2017 ipcreeper Leave a comment Comparison of different approaches on how to build reporting service over distributed system. Database pull model: reporting system has direct access to service database. Data context is not bounded to specific service. HTTP pull model: reporting system has access only to API of the service. Data context is encapsulated, but speed of report generation is degrading quickly with growth of services amount. Batch pull model: data context is not bounded, reports are generated over long period of times. Event-based push model: solves bounded context problem and performance issues, although adds complexity to services – each of them has to know how and which data to push Model comparison