title: Using jedis how to write to a specific slot/node in redis cluster
body: <p>I'm trying to improve the performance of writing data to redis cluster.
  We are planning to move from redi-sentinel to cluster mode for scalability. </p>
  
  <p>But, the performance of write operations is very less compared to redis-sentinel. We leveraged pipeline in redis-sentinel but cluster mode doesn't support pipeline.</p>
  
  <p>So, I was thinking to group all the keys that go to a same node and send the batch to that specific node using pipeline.</p>
  
  <p>So, I'm wondering how to know/compute (before writing to cluster) to which node/slot a particular key would be written to?</p>