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.
Elle's generator doesn't currently support enabling read/write intensive workload. It just generates ops like this:
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:
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.