Re:Is Redlock Safe? Reply to Redlock Analysis
by newman314 on Tuesday February 09, 2016 @11:26AM
(#11066372)
I'd imagine it being pretty unsettling to watch a bank balance fluctuate. Also, what if there are downstream operations that depend on the value being accurate I.e. Trigger overdraft condition?
[ Parent
| on HN ]
Re:Is Redlock Safe? Reply to Redlock Analysis
by jedberg on Tuesday February 09, 2016 @11:34AM
(#11066460)
> I'd imagine it being pretty unsettling to watch a bank balance fluctuate.
Banks have generally solved this by batching updates, but yes, it could be unsettling for the customer in a similar situation. There are ways around that though, for example you update a cache that stores the data instantly and then let the eventually consistent source of truth update the cache again if it is not in sync, or perhaps have a short timeout on the cache, so the customer gets a consistent and smooth experience but the source of truth is still accurate, eventually.