Remix.run Logo
tonymet 15 hours ago

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

gpm 15 hours ago | parent [-]

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.

tonymet 14 hours ago | parent [-]

thanks helpful thanks. seems to have some tradeoffs. I would likely lean toward the simpler thread model but it sounds compelling.