Reputation: 41
I have two modules. For those two modules database is the common point
But here there is no connection between Module 1 & Module 2. Now my question is how the second module will trigger automatically when database values are updated? Is there any method to know database is updated or not?
Upvotes: 2
Views: 963
Reputation: 8480
You have tree options:
t
seconds if has any updated rowMy comments:
Communication between two independent modules using database is not a good solution. Because if you change the database schema you will need to make two deploys. If you only need the data, you can use a Message solution using Protobuf as serializer.
Upvotes: 1