-
Notifications
You must be signed in to change notification settings - Fork 28
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
Read algorithm #137
Comments
In addition regarding the write path due to the key suffix capped at maxId=1000000 in com.thelastpickle.tlpstress.PartitionKeyGenerator#generateKey :
Maybe the doc could make this clearer and a warning message could be thrown when using populate with inconsistent values wrt nb threads ? Maybe this parameter maxId should be more user facing ? |
Note for myself for quick'n'dirty secondary index test :
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
Thanks for this awesome tool.
I try to understand the Read path of the KeyValue stress test.
In particular, I don't understand exactly how the key read are determined.
From what I see the key generation is random and stateless (depends only on local thread).
So it means, if I pre-populate KeyValue table in a first run and then run a stress test in read only mode, there is limited chances (ie nbpreviousWrites/1e+6 with one thread) to read the PrimaryKey from the first run during second run ?
Maybe it would interesting to also report / count the number of null results for read queries ?
I'd like to understand this in order to try to target my tlpstress run to data read from disk / memory.
In addition I was thinking putting up something to perform a stress test on native secondary index.
Note: I saw the csv option but never use it.
I was thinking to switch to a key generation based on sequence because everything seems to be there for this, but I did not know the code well.
The text was updated successfully, but these errors were encountered: