Last active
April 20, 2017 15:49
-
-
Save tahmmee/33d27816fc1663c0687c60289a0c6265 to your computer and use it in GitHub Desktop.
create delete with gideon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# start gideon loader (let it run in background) | |
- | |
image: sequoiatools/gideon | |
command: "kv --ops 1000 --create 100 --hosts {{.Orchestrator}} --bucket {{.Bucket}}" | |
alias: GideonContainer | |
# monitor item count | |
- | |
template: wait_for_items | |
args: "{{.Bucket}}, 100000" | |
wait: true | |
# stop gideon data loading | |
- | |
client: | |
op: rm | |
container: GideonContainer | |
# run delete queries for 5 mins | |
- | |
template: attack_query | |
args: "0, 10, {{$.QueryNodePort}}, | |
delete from default where rating > 0 limit 100" | |
duration: 300 | |
# repeat? | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment