Consider an example, where a range of users from 0 to 10000 goes to a redis instance r0 and another range of users 10001 to 20000 goes to r1. This is _________ partitioning.
Answers
There are three types of partitions: primary partitions, extended partitions and logical drives. A disk may contain up to four primary partitions (only one of which can be active), or three primary partitions and one extended partition
logical partition (LPAR) is the division of a computer's processor s, memory , and storage into multiple sets of resources so that each set of resources can be operated independently with its own operating system instance and applications.
hence
this is logical partitioning
Partitioning means splitting of data into many Redis instances and each instance has only subset of the keys.
The above example demonstrates the concept of “Redis partitioning”.
Many larger databases are partitioned using Redis partition methods.
It also provides resource scaling.
There is an alternative method to redis and it is called as “hash partitioning”.