Hash the data keys and then use the resulting hash code modulo some maximum number as the partition names. The application returns a set of partitions numbered from 0 till 511. This allows the application to hash the request keys and then use the hash code modulo 512 as the partition name.