Questions tagged [sync]

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.

Filter by
Sorted by
Tagged with
4
votes
1answer
179 views

Query to determine insert / update operations to synchronize data

I've been developing a system where the mobile syncs data from the server.The phone can run offline but when connected to the internet it needs take care of inserted or updated data. Here is the ...
4
votes
1answer
378 views

Exercise – Synchronization between threads using `pthread_mutex_t` and `pthread_cond_t`

I have got an assignment for an OS course that consists in the use of mutex and condition variables to synchronize N threads, each involved in the search of a character in a row of a NxN matrix. The ...
4
votes
1answer
92 views

File read/write methods

I'm using some simple files for caching and some basic user data. I was first just using file_put_contens and file_get_contents, ...
5
votes
2answers
477 views

Synchronization with remote web service

I am writing a method to synchronize the local Core Data entities with a remote web service (in this case, Parse.com). To update changed or created objects, I fetch all where the ...
1
vote
1answer
268 views

Importing markdown files

I'm building a rails app that, among other things, imports text markdown files as blog posts. The idea is that the truth is in the markdown files, so any time those are edited, created, or deleted, ...
4
votes
0answers
2k views

Python files sync

I'm trying to do a one-way directory sync. Given a list of existing files in a dir, I'd like to make the files in the dir equal a new list of files. There will be subdirs under the dir. Because ...
3
votes
1answer
1k views

Realtime collaborative editor: a CodeMirror extension for MobWrite

I wrote up the following script for the realtime synchronization service, MobWrite, to be used with the browser-based editor, CodeMirror: ...