Efficient lock-free durable sets

feross | 84 points

I kept having this sense of deja-vu as I read the article. This is essentially how the persistent store of the Apple Newton worked. Pretty neat.

Our stuff supported vanilla battery-backed RAM, and we also supported memory-mapped flash (which has implications for how you represent the object state, since you can only flip bits in one direction without an expensive and destructive erase operation).

Recovery after a crash was essentially a read pass of the whole device, which was fine for the storage capacities of the day, at memory-bus speeds.

kabdib | 4 years ago

The summary misses out on some key details that are most likely in the paper but are really needed to evaluate this.

How do you ensure that two nodes are not initialised at the same place?

qtplatypus | 4 years ago