Questions tagged [data-consistency]
126 questions
2
votes
0 answers
Zookeeper: Will get followed by update from a client result in stale data?
For example, zkClient A connects to zkServer X. And zkClient A issues a request to update znode "/a" from 0 to 1. After receiving this request, zkServer X forwards it to the leader.
Then the leader broadcasts this update proposal to all the…

Nishanth R
- 21
- 3
2
votes
2 answers
Aerospike cluster behavior in different consistency mode?
I want to understand the behavior of aerospike in different consistancy mode.
Consider a aerospike cluster running with 3 nodes and replication factor 3.
AP modes is simple and it says
Aerospike will allow reads and writes in every sub-cluster.
And…

Abhijit
- 631
- 7
- 13
2
votes
1 answer
How to enable trigger over all tables that has foreign key reference to another table in oracle 11g?
In the database i have one base table, named Organization that most of tables has foreign key to that. assume this below ERD:
As you seen Organization table has a column named is_enabled. now if i want to disable the Organization, i should set…

Rasool Ghafari
- 4,128
- 7
- 44
- 71
2
votes
3 answers
How can I maintain consistency in a 2-way object relationship in JavaScript?
If I have a 2-way relationship between 2 objects, such that A relates to B and B relates to A, how can I keep this consistent such that the 2 objects will always refer back to each other?
I'm struggling to put my very simple problem into words, so…

Daniel
- 63
- 5
2
votes
0 answers
Fast, binary database alternative
I want to implement a fast database alternative that only needs to handle binary data.
To specify, I want something close to a database that will be securely stored even in case of a forced termination (task manager) during execution, whilst also…

Jan Weber
- 137
- 13
2
votes
0 answers
Read your own writes from another MongoDB connection
Assume that we have two processes like following
# process 1
from pymongo import MongoClient
db = MongoClient().test
db.test.insert({'_id': test}, w=1)
send_data_ready() # sending notification to another process
# process 2
from pymongo…

checkraise
- 136
- 6
2
votes
0 answers
How to ensure data consistency across data sources
I have a situation where I have an authority data source that has a service sending the data to another data source across the network every time the original data source is updated. Similar to an offsite backup I guess. I'm looking for a way to…

kilakev
- 123
- 1
- 5
2
votes
1 answer
Saving only modified fields
I am working on a game where a player is switched between servers based on their location in the game world to give the illusion of a single server while maintaining scalability. When a player joins the server their data is loaded from a database…

user2248702
- 2,741
- 7
- 41
- 69
2
votes
1 answer
Data consistency for NoSQL + Distributed Cache in very concurrent environment
On the slide you can see very rough architecture of booking system. It's very concurrent environment, where many users at once may try to book the same hotel/room.
At bottom we have NoSQL database, for quick response/request there is distributed…

VB_
- 45,112
- 42
- 145
- 293
2
votes
3 answers
How do I ensure data consistency in this concurrent situation?
The problem is this:
I have multiple competing threads (100+) that need to access one database table
Each thread will pass a String name - where that name exists in the table, the database should return the id for the row, where the name doesn't…

MalcomTucker
- 7,407
- 14
- 72
- 93
2
votes
1 answer
Data consistency algorithm
I am developing 2-4 players networks game.
At the heart of the model there is a data structure that acts like a google-docs spreadsheet that everybody can edit in any time.
For simplicity, each of the spreadsheet cells can contain only one…

Yony
- 680
- 1
- 9
- 20
2
votes
0 answers
Updating memcached entry
I am currently developing a system optimized for read. The architecture is a MySQL as the authoritative, persistent storage, and a memcache layer between the MySQL db and clients. Writes happen from time to time but much less frequently than…

user2395601
- 21
- 1
2
votes
1 answer
Repository pattern and data consistency
In my project I'm using repository pattern for business-layer. Reading alot about repository pattern I haven't found any information on how to keep business objects synchronized with data.
Lets say I've loaded some data, through mapping created my…

Alexey
- 251
- 2
- 8
2
votes
1 answer
Git and Dropbox - local repo
I have read noumerous threads and watched many videos on combining Dropbox and Git functionality.
One such thread is this: Using Git and Dropbox together effectively?
Here is what i want to do:
I am currently working on a large personal project…

K_scheduler
- 101
- 4
1
vote
2 answers
Solr consistency in python code
I have got python code running on multiple analyzer machines each picking documents from solr(select operations) and modifying data in solr by re-submitting the documents with the updated fields from DB(in case of update/Insert).
But since different…

Kratos85
- 183
- 2
- 5