|
|
|
|
|
by pdeva1
2471 days ago
|
|
correct me if i am wrong here: 1. burger case, i do:
count = count-1
if both txs see count=1, we get count=0 at the end. 2. i didnt say banking per se. can involve a simple billing system of a startup. or any critical data where you need to ensure you are reading accurate, uptodate values. maybe a leaderboard. >You'll likely see a current value most of the time 'most' is not a guarantee :)
either the system is designed with seeing uptodate values or not. and if 'some' of the time the value is stale, you have to program with low consistency in mind. the marketing on yugabyte's page makes it seems it can replace db's like cassandra and give you a consistent view of your data. but if one is seeing stale values, you are back to coding like data is non-consistent |
|