3 ms·
Written in Go? I wonder what the GC pressure is going to look like with many small keys. I've written a redis clone in Go a few years ago and the GC pauses when
by dvirsky 6y ago
Written in Go? I wonder what the GC pressure is going to look like with many small keys. I've written a redis clone in Go a few years ago and the GC pauses when reaching a few GBs of utilization were awful. Granted the Go GC has improved considerably since but it's still going to be noticeable I bet.
- jldugger 6y ago> I've written a redis clone in Go a few years ago and the GC pauses when reaching a few GBs of utilization were awful. Probably managable with a good slab allocator.
- dvirsky 6y agoYeah, I've seen people do that but I've glanced the code, it's certainly not the case here.
- GhostDBCache 6y agoWe're aware of the issues this could cause and we will be looking into relieving GC pressure
- dvirsky 6y agoGreat. Good luck. As someone who's worked on the redis codebase, I suggest you take a good look at some of the design decisions and optimizations that project took, e.g. wrt persistence and replication.