Questions tagged [data-consistency]
126 questions
0
votes
0 answers
PostgreSQL row change notify java program and vice versa
when a row is going to be updated, whether this action will affect the row can be hard to predicted, so I want the db to callback some api service when the action is done correctly and also, when the api is not called correctly, the updated action…

teik
- 508
- 4
- 26
0
votes
1 answer
Verifying data consistency between data centers in cassandra
I maintaining a cassandra cluster with 2 data centers. Now I am going to add new data center in that existing cluster. After rebuilding data, how can i verify the consistency of data in new data center?

Rishikesan Varudharajan
- 693
- 5
- 20
0
votes
0 answers
Caching : Handling Failure Scenarios For Async Calls
I am creating an application where I am using caching to reduce the latency and load on my DB. The problem I am facing is the caching client I am using provides async call for publishing data to remote distributed cache so I am not able to figure…

Bruce_Wayne
- 1,564
- 3
- 18
- 41
0
votes
1 answer
Azure Table Maintaining consistency
I am hitting one issue. I have to store a list in azure table. What I am doing is serializing it to a string and storing it. Now when I am reading that row, there are instances where I didn't get the updated list. As a result post reading if we add…

Nishant
- 407
- 2
- 4
- 12
0
votes
0 answers
Ensuring consistency in in-memory data structures
I was wondering what would have been the best way (probably I am looking for a pattern) to ensure data consistency in an everyday example where a service retrieves data by invoking some method on a gateway (the gateway might be the boundary for DB,…

Alex
- 83
- 1
- 11
0
votes
1 answer
Saving data while doing multithreaded processing
There is a downloader application which performs different kinds of processing on the download items in multiple threads. Some threads analyze input data, some perform downloading, extraction, save state etc. Thus each type of a thread operates on…

mentalmushroom
- 2,261
- 1
- 26
- 34
0
votes
1 answer
Array data in a JTable
The following code is used to setup the rows and columns of a JTable:
private void createUIComponents() {
ergebnisModel = (DefaultTableModel) setupColumnsAndRows();
ergebnisTabelle = new JTable(ergebnisModel);
…

Wecherowski
- 818
- 11
- 24
0
votes
0 answers
MySQL Queriable Field Constraint by RegEx
In addition to a data type of VARCHAR(255), I'd like to add a constraint to the data by a regular expression, e.g. [a-zA-Z ].
I'd like to be able to query the regex, like how I can query meta data in the information_schema.
I've seen some related…

James Oravec
- 19,579
- 27
- 94
- 160
0
votes
1 answer
How does Falcor Model handle references to strings?
In Javascript, strings are immutable, and making references to strings is equivalent to copying the string istelf.
In Falcor, I can make references to strings using {$type:"ref", value:[...]}. Falcor claims to maintain data consistency, so that if…

mik01aj
- 11,928
- 15
- 76
- 119
0
votes
3 answers
What is the best way to ensure consistent ordering in an Oracle query?
I have an program that needs to run queries on a number of very large Oracle tables (the largest with tens of millions of rows). The output of these queries is fed into another process which (as a side effect) can record the progress of the query…

rghome
- 8,529
- 8
- 43
- 62
0
votes
1 answer
Azure DocumentDb Consistency level suggestion
I've setup an Azure batch process to read multiple csv files at the same time and write to Azure DocumentDb. I need a suggestion on the consistency level that fits the best for me.
I read through the consistency levels…

Avinash Gadiraju
- 723
- 1
- 7
- 16
0
votes
1 answer
How to (should I) implement a model consistency in Python?
I'd like to enhance my model's implementation by adding some consistency checks (this value can't be negative, this one can't be None, etc.)
I wondered if it were « Pythonic » to add some « type checking »-ish checks as well. For instance, check…

Mankalas
- 390
- 4
- 13
0
votes
1 answer
shell command to import a portion of mysql dump of a table (from a specific row)
Specifically:
is there a reverse command for this:
mysqldump --user=... --password=... --host=... DB_NAME --where= > /path/to/output/file.sql
Can i import part of a table dump (from a specific row onwards) thru shell ?
Situation:
have…

user3131125
- 1
- 1
0
votes
3 answers
What is the best practice to add tuples to a set?
Consider this example:
In [44]: exl_set = set(a.node)
In [45]: exl_set
Out[45]: set(['1456030', '-9221969'])
In [46]: exl_set.add(b.node)
In [47]: exl_set
Out[47]: set(['1456030', ('-9227619', '1458170'), '-9221969'])
What is the best way to add…

LarsVegas
- 6,522
- 10
- 43
- 67
0
votes
2 answers
Consistency of user data between all his sessions
I'm developing a site in PHP. When the user session starts I load all his db row in the $_SESSION var. When the user changes a db value I update the $_SESSION var too.
The problem starts when more than one session is active for the same user. Is…

Marco Sulla
- 15,299
- 14
- 65
- 100