chihaya icon indicating copy to clipboard operation
chihaya copied to clipboard

The optimizations of redis storage

Open onestraw opened this issue 6 years ago • 1 comments

Use SCAN for announcing and garbage collection, or whenever else it's possible. I just did some benchmarks real quick and GC times go into the seconds with a few tens of thousands of peers. This is on a non-configured redis instance, freshly installed on debian. I think I have the persistence thing on, maybe that hurts performance, who knows.

refer to https://github.com/chihaya/chihaya/pull/433

onestraw avatar Jan 22 '19 10:01 onestraw

SCAN for garbage collection is implemented in #472

mrd0ll4r avatar Mar 13 '20 19:03 mrd0ll4r