1,187 karma · joined December 24, 2010
[1] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/set-time...
2. if the '5-10x cheaper' is mostly due to cross AZ savings, isnt that offered by AWS MSK offering too?
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
did you mean 'might observe' instead of 'might not'? stale read would result in the older value being read.
i believe the anomaly would then occur depending on how close the 2 events are in time, regardless of frequency.
in that case, precise counts can be needed even with low frequency. say you are a restaurant with 1 burger left. 2 folks order the same time, but you decrement the count by 1 only.
also anything involving monetary values, you definitely don't want to read stale values ever.
Doesn't that mean that following use cases are not possible:
1. keeping count of page views
2. vote count per ticket/post
3. like/dislike counts per entity
a reason to use highly scalabale db like Yuga would be to keep such counts.Its ironic since with Docker + Kubernetes, folks essentially are recreating their own PAAS from scratch, but wouldn't use a prebuilt one...
The other modules for Redis developed by RedisLabs [1] are under the new Commons Clause license.
The big 3 cloud providers provide Redis as a cache service and don't use these modules anyway, so their offerings will remain unaffected.