Questions tagged [data-synchronization]
Data synchronization is the process of establishing consistency among data from a source to a target data storage and vice versa and the continuous harmonization of the data over time.
data-synchronization
528
questions
304
votes
8
answers
90k
views
How to Sync iPhone Core Data with web server, and then push to other devices? [closed]
I have been working on a method to sync core data stored in an iPhone application between multiple devices, such as an iPad or a Mac. There are not many (if any at all) sync frameworks for use with ...
253
votes
7
answers
79k
views
Client-server synchronization pattern / algorithm?
I have a feeling that there must be client-server synchronization patterns out there. But i totally failed to google up one.
Situation is quite simple - server is the central node, that multiple ...
153
votes
2
answers
96k
views
Best way to synchronize local HTML5 DB (WebSQL Storage, SQLite) with a server (2 way sync) [closed]
I am developing a mobile web application (for iPhone & Android) with a local database (using html5 webstorage) so my app is still usable when the user is offline.
This is working perfectly, but I ...
89
votes
6
answers
25k
views
Synchronizing client-server databases
I'm looking for some general strategies for synchronizing data on a central server with client applications that are not always online.
In my particular case, I have an android phone application with ...
71
votes
5
answers
89k
views
What is progress and bounded waiting in critical section?
I was reading Critical Section Problem from Operating System Concepts by Peter B. Galvin.
According to it
1) Progress is : If no process is executing in its critical section and some processes wish ...
58
votes
9
answers
15k
views
Offline / Online Data Synchronization Design (Javascript) [closed]
I'm currently in the process of writing an offline webapp using all the html5 goodies for offline support. However I'm starting now to think about writing the sync module that will ensure that any ...
40
votes
4
answers
30k
views
Strategy for Offline/Online data synchronization
My requirement is I have server J2EE web application and client J2EE web application. Sometimes client can go offline. When client comes online he should be able to synchronize changes to and fro. ...
29
votes
5
answers
8k
views
iPhone offline application with synchronization
I'm looking into building an application which works just as well offline as it does online. Since the application cannot communicate with the server while in offline, there is some level of ...
25
votes
5
answers
25k
views
How to sync data between different devices
I am planing to implement an app and I have come to a point where I don't know what is the best approach.
Scenario:
I have an app where I am making a todo list and I am adding 3 items. I use my ...
21
votes
4
answers
9k
views
Keeping distributed databases synchronized in a unstable network
I'm facing the following challenge:
I have a bunch of databases in different geographical locations where the network may fail a lot (I'm using cellular network). I need to keep all the databases ...
20
votes
3
answers
5k
views
django database synchronization for an offline usage
I have one master django sever where the data are stored (mysql database).
Online : I would like many users to have a copy from this database synchronized (only delta's must be copied) on their ...
19
votes
2
answers
11k
views
android sqlite bidirectional synchronization sqlite
I need to sync my Android SQLite DB with my cloud-server DB, and doing it in a bi-directional way in a multiuser environment.
I have found and introduction to the solution here but I would like to ...
18
votes
9
answers
6k
views
javascript library for client side storage with server side sync [closed]
I'm looking for a javascript library that will let me store data in a client side database and in the back ground automatically sync the database back to the server's database
preferable something ...
18
votes
5
answers
9k
views
Best practice for on/off line data synchronization using AngularJS and Symfony 2
I'm building a relatively complex and data heavy web application in AngularJS. I'm planning to use php as a RESTful backend (with symfony2 and FOSRESTbundle). I have spent weeks looking around for ...
17
votes
4
answers
12k
views
What is a good solution to synchronize data between iOS apps? [closed]
I am developing an application, whose data management is realized through Core Data, and I am studying how to implement a feature to synchronize data between two different devices (even between ...
16
votes
1
answer
2k
views
SQL MIN_ACTIVE_ROWVERSION() value does not change for a long while
We're troubleshooting a sort of Sync Framework between two SQL Server databases, in separate servers (both SQL Server 2008 Enterprise 64 bits SP2 - 10.0.4000.0), through linked server connections, and ...
14
votes
4
answers
458
views
Design: How to inform controllers about data modification across application
In a big system mvc-based there are views responsible for editing data and views that display that data.
Example: UserManagementView and UserSelectionView.
Each subsystem should know whether it ...
13
votes
2
answers
9k
views
Can you sync CoreData with iCloud?
does anyone know if and how you can sync CoreData apps with iCloud? If I understand the Apple iCould instructions right you can not sync CoreData, can you?
12
votes
1
answer
10k
views
Checking for multiple asynchronous responses from Alamofire and Swift
I am writing an application that depends on data from various sites/service, and involves performing calculations based on data from these different sources to produce an end product.
I have written ...
12
votes
3
answers
7k
views
How to implement a Thread Safe HashTable (PhoneBook) Data Structure in Swift?
I am trying to implement a Thread-Safe PhoneBook object. The phone book should be able to add a person, and look up a person based on their name and phoneNumber. From an implementation perspective ...
12
votes
2
answers
4k
views
Are there best practices/patterns for synchronizing local and remote data in SPA (html5 single page applications)?
I'm writing a simple "todo - helloworld" with jqueryMobile + knockout + breeze + WebAPI
to learn about SPAs (Single Page Application) in a mobile context (unreliable internet connection)
To enable ...
12
votes
2
answers
3k
views
Architecture for data layer that uses both localStorage and a REST remote server
Anybody has any ideas or references on how to implement a data persistence layer that uses both a localStorage and a REST remote storage:
The data of a certain client is stored with localStorage (...
11
votes
4
answers
4k
views
Which is the best way to bi-directionally synchronize dynamic data in real time using mysql
Here is the scenario. 2 web servers in two separate locations having two mysql databases with identical tables. The data within the tables is also expected to be identical in real time.
Here is the ...
9
votes
3
answers
11k
views
Cordova auto update application folder
I have an offline application cordova, composed of simple html and pictures, all inserted in a sub folder (android_asset/www/app). I would like to add a second online application (android_asset/www/...
9
votes
3
answers
486
views
Software-design & architecture: How to sync data from a directory-tree with a database
I´m twisting my head now for a while and don´t get to a final solution. So I hope I might find some exchange or help on how to solve this issue here on an architectural level.
I´m currently facing ...
8
votes
3
answers
5k
views
What is the easiest way to keep a database synchronized between multiple iOS and Android devices?
For our mobile application, we were hoping to use the Realm.io database, but we need to be able to synchronize multiple devices so they always have the same information. The database could get to be a ...
8
votes
2
answers
7k
views
Background data sync for mobile apps
We're building an API and mobile app on top of a database that has a few hundred thousand records in the main table of interest.
Our mobile developer is pushing hard about pre-loading the app with ...
8
votes
2
answers
5k
views
TPL DataFlow vs BlockingCollection
I understand that a BlockingCollection is best suited for a consumer/producer pattern. However, when do I use a ActionBlock from the TPL DataFlow library?
My initial understanding is for IO ...
8
votes
7
answers
12k
views
database synchronization - MS Access
I have an issue at the moment where multiple (same schema) access 2003 databases are used on laptops.
I need to find an automated way to synchronize the data into a central access database.
Data on ...
8
votes
3
answers
17k
views
How to synchronize data between multiple clients on Node.js Server
The following diagram is a basic representation of a web application I am creating.
The basic operation of the application is as follows:
Client sends request for data from node.js server
Server ...
8
votes
2
answers
365
views
Getting Source only and mismatch data with tablediff utility
I'm using tablediff utility to transfert data from serval databases sources to a destination database and I get a result having all the differences between the source and destination databases with ...
8
votes
2
answers
3k
views
AVD emulator has no option to Sync with Google Calendar
My app has functionality to add events to the calendar but in order to achieve this Android's calendar app needs to have calendars.
In order to add calendars you have to add a Google account. So I ...
8
votes
2
answers
481
views
Rails: How to manage associations between two tables syncing data?
I will be having two Rails applications, one is full fledged and other one a stripped down one. Both of these applications have their own database and they will communicate to each other using APIs.
...
7
votes
4
answers
19k
views
Difference between data replication and synchronization?
I'm having trouble finding the differences between data synchronization and replication.
From what I can tell, replication is making all data between 2 databases the same. Synchronization doesn't ...
7
votes
2
answers
5k
views
Syncing objects between two disparate systems, best approach?
I am working on syncing two business objects between an iPhone and a Web site using an XML-based payload and would love to solicit some ideas for an optimal routine.
The nature of this question is ...
7
votes
1
answer
2k
views
Firebase synchronisation of locally-modified data: handling errors & global status
I have two related questions regarding the Firebase web platform's
synchronisation of locally-modified data to the server:
Every client sharing a Firebase database maintains its own internal ...
7
votes
4
answers
5k
views
Make rsync exclude all directories that contain a file with a specific name
I would like rsync to exclude all directories that contain a file with a specific name, say ".rsync-exclude", independent of the contents of the ".rsync-exclude" file.
If the file ".rsync-exclude" ...
7
votes
1
answer
5k
views
One-way Database Synchronization
There is frequently the need to synchronize data from master tables in one database to clone tables in other databases, often on other servers. For example, consider the case where a backend system ...
7
votes
2
answers
9k
views
Data synchronization between MySQL and MongoDB
I am looking for a way to synchronize my data from MySQL to MongoDB.
I do not want just to replicate my data, I want them to be permanently synchronized. Does anyone know if Tungsten Replicator would ...
7
votes
3
answers
640
views
Best strategy for synching data in iPhone app
I am working on a regular iPhone app which pulls data from a server (XML, JSON, etc...), and I'm wondering what is the best way to implement synching data. Criteria are speed (less network data ...
7
votes
1
answer
2k
views
cloud based synchronization architecture
I am thinking of building a cloud base synch solution (something like Dropbox):
What would a robust architecture look like?
What technologies would you need to support different platforms
like ...
6
votes
1
answer
9k
views
How to sync only the changed files from the remote directory using pysftp?
I am using pysftp library's get_r function (https://pysftp.readthedocs.io/en/release_0.2.9/pysftp.html#pysftp.Connection.get_r) to get a local copy of a directory structure from sftp server.
Is that ...
6
votes
3
answers
12k
views
Linux file synchronization between computers
I'm looking for a software which will allow me to synchronize files in specyfic folders between my linux boxes. I have searched a lot of topics and what I've found is Unison. It looks prety good but ...
6
votes
1
answer
4k
views
Syncrhonizing 2 database with different schemas
We have a normalized SQL Server 2008 database designed using generic tables. So, instead of having a separate table for each entity (e.g. Products, Orders, OrderItems, etc), we have generic tables (...
6
votes
1
answer
876
views
Syncing between two databases
I have an application that also has a web interface, one of the requirements is to be able to work on the application even if there isn't an internet connection available.
Is there a need to sync ...
6
votes
3
answers
312
views
What's the best way to do one-way synching from a server-side database to iPhone?
I've got a database on my server which is about 3mb big. I'd like to ship that with my iphone application.
The most important thing is that I'd like to promote changes to the database (insert, ...
6
votes
1
answer
9k
views
Multiple users for private Docker registry?
I have a private Docker registry running.
Any user should be able to push and pull any image. Therefore, right now I am not using any user identification at all.
However, a user should not be able ...
6
votes
0
answers
556
views
Do I benefit from using syncadapter in android?
I have a server that has php and mysql running. There are php scripts that return the data on the server in json format. This data is consumed by my android app. The app synchronizes the data with the ...
6
votes
3
answers
6k
views
Synchronise/update sqlite databases
We've got an android app and an iPhone app (same functionality) that use sqlite for local data storage. The apps initially come with no data, then on the first run they receive data from a remote ...
5
votes
1
answer
4k
views
Using Kafka for Data Integration with Updates & Deletes
So a little background - we have a large number of data sources ranging from RDBMS's to S3 files. We would like to synchronize and integrate this data with other various data warehouses, databases, ...