3 ms·
hmm, i'm clearly wrong, but it doesn't seem like there's any reason memcached couldn't be implemented completely locklessly... can't most of everything be done
by lzimm 16y ago
hmm, i'm clearly wrong, but it doesn't seem like there's any reason memcached couldn't be implemented completely locklessly... can't most of everything be done with CAS operations instead of taking out locks?
- dlsspy 16y agoThat's likely true. We're separating out storage engines and allowing people to write their own. Your engine doesn't need locks. The more stuff we can do in the core without them, the closer we get to your dream. Lock-free hash tables without GC are kind of hard, but not possible. I'd certainly welcome a lock-free engine if you're working on one. :)
- deleted 16y ago[deleted]
- lzimm 16y agofunny story, i'm crazy n00b, but i'd love to jump in and do one, seriously. wanna show me the ropes on how to get started and maybe hold my hand a little bit while i do all the grunt work? :)