apple / apple/foundationdb

Generate a skewed workload at shard granularity in mako

Open
#7,566 5 comments 0 reactions 1 assignee Claimed by @dlambrig View on GitHub
testing
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

Mako's `-z` option can generate a skewed workload based on Zipf distribution, but this is at the record level. It would be useful to skew workloads over shards, rather than records, so some are busier than others.

A new option `-zs` could divide the record count by the default shard size. While running, `zipfian_next()` could select a shard from that set. Then a random record could be selected from that shard.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.