Skip to content

Elle txns generator doesn't currently support choosing between read/write intensive workload. #29

@georgyshamteev

Description

@georgyshamteev

Elle's generator doesn't currently support enabling read/write intensive workload. It just generates ops like this:

let [f (rand-nth [:r :w])

In my opinions it would be interesting and very useful to support some optional flags like:
--read-intensive [rate]
--write-intensive [rate]
Thus, when enabled it would do something like this instead:

let [f (if (< (rand) (:rate opts)) :w :r)]

Or maybe make it one flag, e.g --write-intensity and those who want read intensity would use 1-rate.

I'm ready to make a pull request, if you think this is a useful feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions