scredis / scredis

Non-blocking, ultra-fast Scala Redis client built on top of Akka IO.

Home Page:https://scredis.github.io/scredis/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

More efficient cluster slot cache

jastice opened this issue · comments

The current cluster slot cache is not very memory efficient: Is uses a vector and saves node information for every slot individually. Typical clusters will have large regions of slots assigned to the same node. Consider a range tree or other suitable data structure for this use case.