Re:GhostDB – A Fast Distributed Cache
by dvirsky on Wednesday July 08, 2020 @11:58PM
(#23776805)
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.
[ Parent
| on HN ]
> 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.
Yeah, I've seen people do that but I've glanced the code, it's certainly not the case here.
Re:GhostDB – A Fast Distributed Cache
by GhostDBCache on Thursday July 09, 2020 @06:54AM
(#23778815)
We're aware of the issues this could cause and we will be looking into relieving GC pressure
Great. 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.