Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Zipfian vs Uniform - What's the difference between these two YCSB distribution?

Can anyone please describe the differences between Zipfian and Uniform distribution while running YCSB workloads ?

Here's the YCSB core properties: https://github.com/brianfrankcooper/YCSB/wiki/Core-Properties

like image 948
Deepjyoti Saha Avatar asked Mar 10 '23 15:03

Deepjyoti Saha


1 Answers

The Yahoo Team has explained it in their paper.

In a nutshell, the distribution affects how YCSB reads and scans over the keyspace:

  • uniform: each row has an equal probability to be read
  • zipfian: some rows have more probability to be targeted by reads or scans. Those rows are called "hot set" or "hot spot" and represent popular data, for instance popular threads of a forum. You should set it up with: hotspotdatafraction and hotspotopnfraction. See $YCSB_HOME/workloads/workload_template for more details.

Hope this helps.

like image 119
Phenyl Avatar answered Apr 06 '23 10:04

Phenyl