New answers tagged

1 vote

High Throughput Concurrent Map Access and Periodic Updates Causing Contention and Latency Spikes

Is the considered solution optimal, or is there a better approach to handle high throughput reads and periodic writes without causing contention? Assuming you have a fairly constant read-load on the ...
Bart van Ingen Schenau's user avatar
0 votes

How to ensure data consistency in system with multiple databases?

This can be done with transactional databases using the two phase commit by the transaction manager: Transactions are prepared on all databases, transferring all data. Transaction manager verifies ...
h22's user avatar
  • 917
3 votes

How to ensure data consistency in system with multiple databases?

Distributed redundant data My approach would be thus (I restrict myself to relational DBMS terms, i.e. "table" would include your MongoDB analog): Define, for each table, which of your ...
AnoE's user avatar
  • 5,664
7 votes

How to ensure data consistency in system with multiple databases?

"I'm not asking for organizational measurements" Don't get me wrong, but that sounds pretty ignorant. You are simply describing all kind of quality issues in data. Quality issues require a ...
Doc Brown's user avatar
  • 201k
7 votes

How to ensure data consistency in system with multiple databases?

You don't! You don't ensure consistency across multiple databases. If there are multiple technologies, and multiple databases in the conventional sense, then ensuring consistency means designing ...
Steve's user avatar
  • 7,158
20 votes

How to ensure data consistency in system with multiple databases?

There are no easy solutions. Distributed consistency is fundamentally difficult, with some hard limits to what is possible. See the CAP theorem and Fallacies of distributed computing. And doing ...
JonasH's user avatar
  • 3,774
4 votes
Accepted

C++ creating a class with self referencing custom comparator

Old wisdom from C programming: when you are implementing two functions referencing each other recursively, it is all a matter of proper forward declarations. This is not much different in C++: you ...
Doc Brown's user avatar
  • 201k

Top 50 recent answers are included