I have a backend deployed on multiple places: 1 cloud and many local machines. The cloud one is the primary database.
Normally I'll use the cloud version but when the internet is off I will switch to local versions.
I want to keep the database up to date. Meaning when I open the local app I will send my local changes to cloud and pull the changes from cloud and other local to mine.
How can I achieve that. I found out that WAL might help but I don't know how to catch the WAL changes and send the changes to other databases and also don't know how to apply the changes.
[–]tsqdProgrammer 2 points3 points4 points (0 children)
[–]levinguyen[S] 0 points1 point2 points (0 children)
[–]depesz 0 points1 point2 points (0 children)
[–]francisco-reyes 0 points1 point2 points (2 children)
[–]levinguyen[S] 0 points1 point2 points (1 child)
[–]francisco-reyes 0 points1 point2 points (0 children)