[HN Gopher] Build a serverless ACID database with this one neat ...
___________________________________________________________________
Build a serverless ACID database with this one neat trick (atomic
PutIfAbsent)
Author : todsacerdoti
Score : 29 points
Date : 2024-09-29 19:37 UTC (3 hours ago)
(HTM) web link (notes.eatonphil.com)
(TXT) w3m dump (notes.eatonphil.com)
| convolvatron wrote:
| I wish we generally used solutions like this instead of always
| reaching for the 200lb database hammer.
|
| however, I think the article would benefit from distinguishing
| this approach from a 'real' database. that is MVCC gets you a lot
| more concurrency because it spreads out the exclusionary state in
| both time and space.
|
| the optimistic concurrency used in the article works well at low
| contention and then becomes arbitrarily latent as more and more
| proposers try to jump into same RTT gap with both their initial
| attempt and their retries.
| eatonphil wrote:
| > however, I think the article would benefit from
| distinguishing this approach from a 'real' database. that is
| MVCC gets you a lot more concurrency because it spreads out the
| exclusionary state in both time and space.
|
| I thought I was going to be seen as being unfairly critical of
| the course-ness of the concurrency control.
___________________________________________________________________
(page generated 2024-09-29 23:00 UTC)