Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

All designs have trade-offs. When trade-offs appear, you either accept them or mitigate them...

If it's important to know how many blue widgets are bought at night in Europe, vs. how many blue watcha-ma-call-its are bought in the evening in the US, and your location, orders and product data are in separate micro-services, you are kinda out of luck.

And, as mentioned by others, replication and API wrappers on micro-services suck for reporting.

If you built an eventing system, you'd be better off tapping into that to update the central reporting data store (warehouse/lake/etc.) I've used this myself to "good" effect. (some chance of failures, a little behind the times, etc.)

The central database may be "monolithic" in nature, but at least you'd be able to report on the data. If you expect to modify data in the feeding micro-service's databases, then yes, you do have a monolith. But, if it's "just" for reporting, it's like a dynamically-updated replica of the pertinent data for your reporting.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: