What is the alpha parameter of YCSB zipf distribution

1.9k views Asked by At

YCSB comes with a ZipfianGenerator class, what is the alpha of this zipfian distribution?

1

There are 1 answers

0
João Neto On BEST ANSWER

By checking the ZipfianGenerator code in the repository, the default value for alpha is 1/(1-theta) (line 142).

Theta is the 'zipfian constant' (line 137). Its default value is 0.99 (line 42), which gives an alpha value of 100.

You can specify a different theta in the constructor to get a different alpha value.