title: Placing data in specific nodes in Cassandra
body: <p>In Cassandra, can we "fix" the node in which a specific partition key resides to optimize fetches?</p>
  
  <p>This is optimization for a specific keyspace and table where data written by one data center is never read by clients on a different data center. If a particular partition key will be queried only in specific data center, is it possible to avoid network delays by "fixing" it to nodes of same data center where it was written? </p>
  
  <p>In other words, this is a use case where the schema is common across all data centers, but the data is never accessed across data centers. One way of doing this is to make the data center id as the partition key. However, a specific data center's data need/should not be placed in other data centers. Can we optimize by somehow specifying cassandra the partition key to data center mapping?</p>
  
  <p>Is a custom Partitioner the solution for this kind of use case?</p>