Reputation: 95
Suppose that a server built with nodejs and express and connected with mySQL Database. This app wants to get data from a MongoDB database and add edits to it.
For example, the server wants to get the users data from another nodejs
app connected with mongoDb
and add voted
field to each user, then save them to mySQL
database.
What's the best design and approach for this situation ?
Upvotes: 0
Views: 433
Reputation: 239
1- Simple "Stupid" solution (with coupling between services):
2- a little bit complex one ( which guarantee no coupling between services)
Upvotes: 1