redis_hnsw icon indicating copy to clipboard operation
redis_hnsw copied to clipboard

Investigate if it makes sense to have LRU cache for nodes

Open zhao-lang opened this issue 5 years ago • 1 comments

One cache for module, or one cache per index?

zhao-lang avatar Mar 18 '20 19:03 zhao-lang

This probably will involve storing nodes/neighbors as just String in the index, then performing lookups in the cache. If node isn't in the cash then load from redis

zhao-lang avatar Mar 23 '20 15:03 zhao-lang