|
|
|
|
|
by ohgodplsno
1149 days ago
|
|
If your database isn't the performance issue and those two services spent 99% of the response time on calculating the 15755th digit of pi, not separating the database isn't a problem. Similarly, if both of your services need to fetch some user information, but you haven't created a user information service with its own database they could both talk to, having a shared database is fine. Splitting each and every service with its own database, talking to other services to access their database by default is cargo-cult behavior. All it's going to do is make it hell for you to work on those services. |
|
So why are you even using them?
The benefit of microservices is also reliability, which you just threw away
Isnt this basically distributed monolith?
So you combined bad things of both worlds!
Single point of failure of monolith
And deployment difficulties and need for saga like patterns to deal with network trickiness from distributed designs
Whats the point?