synchronize data in the same structure in both apps in this way to have access to it in both applications.
It is required to keep the same structure, same values,
and any creation of a new data set or even update in one of the apps should impact both projects.
But there were a few more restrictions in our case, so the solution was not obvious.
Let’s dive into this problem deeper and think about how we can achieve this kind of functionality, and at the end,
I will present what kind of solution I came up with within this particular task.
REQURIREMENT AND RESTRICTIONS :
- For our considerations, let's bring some changes to this task to make it simpler to understand and focus on the problem we solve.
- As I mentioned before, we should have the same synchronized data in two separate applications.
- Applications are running on two separate servers
- Both applications are written in rails.
- Both are using Postgres to store data
- We have a small-time scope to deliver this functionality