Hacker News new | ask | show | jobs
by rizpanjwani 1952 days ago
Does each microservice/module have its own db?
1 comments

Nope. Everything lives in one big DB, but services are not allowed to touch each others tables directly - communication must be done through service API endpoints.
I have seen micro-service architectures like that. It seems pretty pointless. You should be letting the database do as much of the heavy lifting as you can.