logoalt Hacker News

tonymettoday at 1:15 AM1 replyview on HN

isn't this just pushing the complexity around? Either my write thread manages the lock, or turso's does.


Replies

gpmtoday at 1:26 AM

MVCC is a non-locking algorithm for concurrent writers that the big databases like postgres use (with caveats like aborting some transactions if conflicts would exist). It's not a matter of pushing locks around but allowing multiple threads to operate on the data concurrently.

show 1 reply