Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parameterize index.translog.durability in big5 workload #533

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions big5/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ This workload allows the following parameters to be specified using `--workload-
* `test_iterations` (default: 200): Number of test iterations per query that will have their latency and throughput measured.
* `target_throughput` (default: 2): Target throughput for each query operation in requests per second, use 0 or "" for no throughput throttling.
* `warmup_iterations` (default: 100): Number of warmup query iterations prior to actual measurements commencing.
* `index_translog_durability` (default: "async"): Controls the transaction log flush behavior. "request" flushes after every operation to avoid data loss, while "async" batches changes for efficiency.

NOTE: If disabling `target_throughput`, know that `target_throughput:""` is snynonymous with `target_throughput:0`.

Expand Down
2 changes: 1 addition & 1 deletion big5/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{% endif %}
"index.codec": "best_compression",
"index.translog.sync_interval": "30s",
"index.translog.durability": "async",
"index.translog.durability": {{index_translog_durability | default("async") | tojson}},
"index.query.default_field": [
"message"
]
Expand Down
Loading