Skip to content

Multi-table workloads #59

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

Open
avelanarius opened this issue Oct 18, 2023 · 5 comments
Open

Multi-table workloads #59

avelanarius opened this issue Oct 18, 2023 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@avelanarius
Copy link

All cql-stress workloads perform queries on a single table. If a user wants to stress multiple tables, they have to start multiple instances of cql-stress, which can be problematic if a large number of tables needs to be stressed (for example 500 tables).

As an enhancement, cql-stress could support stressing multiple tables. Under the hood, each operation could randomize/round-robin the table it will perform the operation on. As for a type of workload performed on each table (is it write? is it read? what's the schema?) it seems like it would make sense for all those tables to share the same workload, as it could be complicated to design a nice CLI to specify workloads for each table (maybe it would be possible for "user" workloads in cassandra-stress - specifying a separate yaml file for each table).

This feature was suggested by @kostja.

@avelanarius avelanarius added the enhancement New feature or request label Oct 18, 2023
@roydahan
Copy link
Collaborator

roydahan commented Oct 22, 2023

This is a nice to have enhancement that have a very easy workaround that is already being used in several places - hence it should get lower priority for now.

@kostja
Copy link

kostja commented Oct 22, 2023

What is the workaround?

@roydahan
Copy link
Collaborator

Same as we test in SCT, you run multiple process of the tool.

@kostja
Copy link

kostja commented Oct 22, 2023

We need 500 tables in the test. you can't realistically run 500 processes and control the stress characteristics of the test.

@roydahan
Copy link
Collaborator

We have one with 5000, so 500 should be easy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants