Questions tagged [data-consistency]
126 questions
1
vote
1 answer
The relationship between Paxos family and data consistency
Paxos, a kind of consensus algorithm, plays a vital role in distributed database systems. It can be used to make the distributed system chooses the same proposal. Data consistency is a big problem in the database system. Others consisder that Paxos…

dengzeyuan
- 13
- 2
1
vote
1 answer
Rails consistency check on record update
I will start a system and we have chosed rails because it covers all our needs.
We need consistency on database updates in some point of the system and I remember that I found in some official documentation that rails can check for the versions of…

Edgar Hernández
- 31
- 3
1
vote
1 answer
Data consistency around instances of same micro service
I have 5 instances of account microservice which transfers the money from account A to account B and then updates the data in the Postgres database.
My problem is
A user sent five requests to the account service and all of my microservices are…

Vikas
- 975
- 1
- 10
- 34
1
vote
1 answer
How to ensure DNS records consistency between primary DNS servers?
Root DNS servers may be the most typical primary(not read-only) DNS servers. There are currently 13 IP addresses for root DNS servers; however, considering the IP anycast technology, more than 13 root DNS servers are deployed worldwide.
If someone…

da_miao_zi
- 351
- 1
- 11
1
vote
0 answers
Synchronize data between two database servers with python
I have two postgres database connections with two databases.
The databases are the same with the same schemas and tables.
I'm using python and i'm writing script that executes some database operations.
My question is how can i handle data…

Z.Chorlev
- 149
- 2
- 12
1
vote
1 answer
If IEnumerable data source is changed, it changes the results
Given the following code:
using System.Linq;
using System.Collections.Generic;
public class Program
{
public static void Main()
{
//Init data
char[] chars = new char[10];
FillData(chars);
//…

Noman_1
- 473
- 1
- 6
- 17
1
vote
1 answer
AWS S3 Eventual Consistency and read after write Consistency
Help me to understand better these concepts that i can't grasp fully.
Talking about aws S3 consistecy models, i'll try to explain what i grasped.
Demistify or confirm me these claims please.
first of all
talking about "read after write" is related…

pinale
- 2,060
- 6
- 38
- 72
1
vote
1 answer
Network meta-analysis. Consistency with node-spliting: ERROR
I am doing a network metaanalysis.
This is my data:
# A tibble: 29 x 5
study mean std.dev sampleSize treatment
1 Geeta_Gulati 60.8 4.75 30…
1
vote
3 answers
Data consistency across multiple microservices, which duplicate data
I am currently trying to get into microservices architecture, and I came across Data consistency issue. I've read, that duplicating data between several microservices considered a good idea, because it makes each service more independent.
However, I…

e.e
- 48
- 4
1
vote
1 answer
Read Your Own Writes Consistency Before MongoDB 3.6
I was reading the documentation for mongdb, and I'm trying to understand what is necessary for "read your own writes" consistency before Mongo 3.6's causal consistency sessions were introduced.
According to this page:…

Parth Upadhyay
- 31
- 4
1
vote
1 answer
owl swrl rules for fact consistency checking if and only if
Is it possible to use swrl rules for fact consistency checking?
if we have:
parent(?x,?y) ∧ brother(?y,?z) ⇒ uncle(?x,?z)
new facts are generated from this.
But instead what I have is a set of facts (some consistent others are not).
:p1 parent…

Koenig Lear
- 2,366
- 1
- 14
- 29
1
vote
2 answers
Best retry policy on data creation response timeout
What is the best retry policy in such a scenario:
Database succeeds in creating the data entry, but then the response takes too long to reach Application. So to carry out the work, Application retries the creation, and of course Database returns an…

Sah
- 1,017
- 2
- 11
- 19
1
vote
1 answer
How to guarantee data consistency with database and file system collaboration?
How to bring consistency to the data while storing binary data in the file system and its reference in the database?
Is there any database design technique/pattern or any PHP library to help me on bringing consistency to the data with database and…

Sabawoon
- 25
- 6
1
vote
1 answer
How to keep data consistent? (Amazon S3 and ElasticSearch)
Imagine a file upload to Amazon S3 and on success the location of the file (and metadata) is stored within a record in ElasticSearch. Ok thats fine.
But, how do you ensure data consistency (ACID?) if one of the request fails ...
For example, if the…

true_gler
- 544
- 6
- 23
1
vote
1 answer
Handle database snapshots in multi user Environment in SQL Server in C#
I have written some tests in C# which make use of database, update and modify values in it. To make sure that the database is reverted to its prior state after each test, I do the following:
I make a snapshot of all databases used in the beginning…

Madhur Maurya
- 1,016
- 4
- 19
- 42