How to maintain a real-time sync?

Asked

Viewed 521 times

2

I’m working on an app, and I’ve got the database processed. But a question arose of how I can create a real-time synchronization system of the app’s local database with the remote server database.

If anyone knows how to explain or has a related tutorial I am grateful.

  • 1

    Here says something about this process.

  • Thanks @"Mechanic, for what I’ve seen is a backend service that offers the real-time sync tool, but their sample codido and explanation is good. Thank you.

  • Let’s imagine that you have a tablet with a BDD and a server with a BDD. If you want to synchronize the 2, for example every 2 hours, okay, that seems logical. But if you want to sync 'in real time', why have a "local" BDD??? You only need to send data from the tablet by the server and save the data in the server’s BDD. As in the web: a server with the BDD and several clients?

  • Yes I understood the logic you proposed. But since I’m talking about a structure where the bank communicates and sends to the client app that there is new data and sends it in an automated way.

1 answer

1


After some research on the internet, and thanks to my friend @Qmechanic73, I found that this is a widely used tool in NOSQL database. Which are storage systems that do not use SQL (or relationship systems by tables).

The link presented by @Mechanic73 leads to the Coachdb website where it has a tutorial explaining about the synchronization service and with an example of use.

Link Coachdb.

Thank you.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.