Redis shard implement in JS.