Skip to content
Immutability vs concurrency: making a fast graph writable
BLOCKCHAIN AND DISTRIBUTED LEDGERS

Immutability vs concurrency: making a fast graph writable

An in-memory graph is fast until you need to write to it. Making the whole structure immutable is too expensive, locking every read kills the point โ€” here's the middle path: optimistic reads over StampedLock plus immutable nested lists. Source

Coverage

2 articles

Related