New answers tagged data-structures
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
Top 50 recent answers are included
Related Tags
data-structures × 889algorithms × 174
c++ × 78
java × 73
database × 62
database-design × 62
design × 52
c# × 49
design-patterns × 48
trees × 47
c × 45
data × 42
python × 27
object-oriented × 23
binary-tree × 22
architecture × 21
functional-programming × 20
graph × 20
javascript × 19
object-oriented-design × 19
performance × 19
json × 17
array × 17
php × 16
hashing × 16