logoalt Hacker News

withinboredomlast Tuesday at 1:46 PM2 repliesview on HN

This isn't that new. (see: FASTER: A Concurrent Key-Value Store with In-Place Updates. 2018 ACM SIGMOD International Conference on Management of Data and related papers)

However, this is well written and very easy to read.


Replies

viegalast Tuesday at 2:19 PM

Well, when I was doing the original work on it (about 5 years ago now), I spent a lot of time trying to find something else in the literature. I couldn't find anything that wasn't SPMC or MPSC, unless it had severe limitations, like not actually having a drop policy when full.

However, I definitely did not see the paper you've sited, but just spent a few minutes with the paper you cited. Section 5.2 seems to cover their version. It's far from clear what their algorithm is, but they are talking about page eviction; it doesn't seem like they're using even a single fixed array for the ring, but I'm not 100% sure because it's pretty light on any detail. a

show 2 replies
auxymlast Tuesday at 2:33 PM

Also this Nim library: https://github.com/nim-works/loony

Which is based on: https://ieeexplore.ieee.org/document/9490347

show 2 replies