Hundreds of Redis instances on the same server
Is this doable or will this degrade CPU performance?
The reason I want to do this is presharding. I want to shard my data
across many (128, or possibly 256) Redis instances, and then run them all
on the same server. Then when I need to scale out I can just fire up more
servers and easily move the instances to other servers.
I know Redis itself has a small memory footprint so memory overhead would
presumably not be a problem. But if I have just 4 cores, would they be
handle hundreds of Redis instances? Or should I maintain a max of one
instance per core?
No comments:
Post a Comment