Skip to content

Instantly share code, notes, and snippets.

description: |
Extension of the default 'cql-tabular2.yaml' workload found:
https://github.com/nosqlbench/nosqlbench/blob/main/adapter-cqld4/src/main/resources/activities/baselinesv2/cql-tabular2.yaml
Extended the read patterns:
- read most recent written data (tags==block:"read-recent.*")
- uniformly distributed read (tags==block:"read-uniform.*")
- read with hot partitions/ranges (tags==block:"read-hot-range.*")
---
@jasonstack
jasonstack / vector.yaml
Last active April 15, 2025 07:48
vector.yaml
description: |
A workload which reads ann-benchmarks vector data from ivec/fvec file format.
TEMPLATE(k,100)
scenarios:
astra_vectors:
# Remove any existing data
drop: >-
description: |
Extension of the default 'cql-tabular2.yaml' workload found:
https://github.com/nosqlbench/nosqlbench/blob/main/adapter-cqld4/src/main/resources/activities/baselinesv2/cql-tabular2.yaml
Extended the read patterns:
- read most recent written data (tags==block:"read-recent.*")
- uniformly distributed read (tags==block:"read-uniform.*")
- read with hot partitions/ranges (tags==block:"read-hot-range.*")
---
description: |
Extension of the default 'cql-tabular2.yaml' workload found:
https://github.com/nosqlbench/nosqlbench/blob/main/adapter-cqld4/src/main/resources/activities/baselinesv2/cql-tabular2.yaml
Extended the read patterns:
- read most recent written data (tags==block:"read-recent.*")
- uniformly distributed read (tags==block:"read-uniform.*")
- read with hot partitions/ranges (tags==block:"read-hot-range.*")
---
@jasonstack
jasonstack / cql-tabular-extended.yaml
Last active February 2, 2024 15:21
predictive-caching-test
description: |
Extension of the default 'cql-tabular2.yaml' workload found:
https://github.com/nosqlbench/nosqlbench/blob/main/adapter-cqld4/src/main/resources/activities/baselinesv2/cql-tabular2.yaml
Extended the read patterns:
- read most recent written data (tags==block:"read-recent.*")
- uniformly distributed read (tags==block:"read-uniform.*")
- read with hot partitions/ranges (tags==block:"read-hot-range.*")
---
@jasonstack
jasonstack / standard.yaml
Created January 31, 2024 01:22
standard.yaml
description: |
A workload with text keys, text values and range queries.
bindings:
rw_key: TEMPLATE(keydist,Uniform(0,1000000000)); ToString() -> String
rw_value: Hash(); TEMPLATE(valdist,Uniform(0,1000000000)); CharBufImage('A-Za-z0-9 _|/',16000000,HashRange(TEMPLATE(mintext,1000)TEMPLATE(addzeros,),TEMPLATE(maxtext,2000)TEMPLATE(addzeros,))); ToString();
blocks:
- tags:
scenarios:
default:
schema: run driver=cql tags==phase:schema threads==1 cycles==UNDEF
rampup: run driver=cql tags==phase:rampup cycles===TEMPLATE(rampup-cycles,10000000) threads=auto
main: run driver=cql tags==phase:main cycles===TEMPLATE(main-cycles,10000000) threads=auto
astra:
schema: run driver=cql tags==phase:schema-astra threads==1 cycles==UNDEF
rampup: run driver=cql tags==phase:rampup cycles===TEMPLATE(rampup-cycles,10000000) threads=auto
main: run driver=cql tags==phase:main cycles===TEMPLATE(main-cycles,10000000) threads=auto
description: |
Extension of the default 'cql-tabular2.yaml' workload found:
https://github.com/nosqlbench/nosqlbench/blob/main/adapter-cqld4/src/main/resources/activities/baselinesv2/cql-tabular2.yaml
Extended the read patterns:
- read most recent written data (tags==block:"read-recent.*")
- uniformly distributed read (tags==block:"read-uniform.*")
- read with hot partitions/ranges (tags==block:"read-hot-range.*")
---
scenarios:
default:
schema: run driver=cql tags==phase:schema threads==1 cycles==UNDEF
rampup: run driver=cql tags==phase:rampup cycles===TEMPLATE(rampup-cycles,10000000) threads=auto
main: run driver=cql tags==phase:main cycles===TEMPLATE(main-cycles,10000000) threads=auto
astra:
schema: run driver=cql tags==phase:schema-astra threads==1 cycles==UNDEF
rampup: run driver=cql tags==phase:rampup cycles===TEMPLATE(rampup-cycles,10000000) threads=auto
main: run driver=cql tags==phase:main cycles===TEMPLATE(main-cycles,10000000) threads=auto
@jasonstack
jasonstack / iot-cql-uniform.yaml
Created April 12, 2023 06:29
removed cell_timestamp, removed compaction
scenarios:
default:
schema: run driver=cql tags==phase:schema threads==1 cycles==UNDEF
rampup: run driver=cql tags==phase:rampup cycles===TEMPLATE(rampup-cycles,10000000) threads=auto
main: run driver=cql tags==phase:main cycles===TEMPLATE(main-cycles,10000000) threads=auto
astra:
schema: run driver=cql tags==phase:schema-astra threads==1 cycles==UNDEF
rampup: run driver=cql tags==phase:rampup cycles===TEMPLATE(rampup-cycles,10000000) threads=auto
main: run driver=cql tags==phase:main cycles===TEMPLATE(main-cycles,10000000) threads=auto