smartcat-labs / berserker

Berserker is load generator with pluggable input source and configurable output.
Apache License 2.0
52 stars 8 forks source link

Cassandra Worker #25

Closed vajda closed 7 years ago

vajda commented 7 years ago

Provide cassandra worker implementation.

It should support following configuration options:

nivancevic commented 7 years ago

Even if CL is global, it would be good to have Read CL and Write CL separated.

nivancevic commented 7 years ago

Although the bootstrap CQL statements feature might seem optional, it helps making Berserker user-friendly.

vajda commented 7 years ago

I would go with per request CL. If we are to have statement ID and map of values, it is easy to add consistency level as well for that contract. So the data source would need to provide something like:

values: <mapWithValues>
consistencyLevel: ONE
statementID: 12
nivancevic commented 7 years ago

And for cases without prepared statements, the map could look like this:

statement: "CQL statement"
consistencyLevel: ONE
vajda commented 7 years ago

Yes, I would say so.