3 ms·
Microservice is a monolith. So what you're describing is essentially: I've got a few front-end microservices tied to 1 huge microservice I call the database. T
by heavenlyblue 9y ago
Microservice is a monolith. So what you're describing is essentially: I've got a few front-end microservices tied to 1 huge microservice I call the database.
There's no "data layer" that is managed outside the microservice. It _is_ a microservice.
That's one of the reasons Google uses a monorepo: any microservice can easily import a database instance and start using it as part of it's structure.
- amirouche 9y agoWhat do you mean by 'database instance'? Is the the instance of the 'class' that represents the database and its records or something else?