-
Notifications
You must be signed in to change notification settings - Fork 4
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
Uniform key popularity distribution for the windows key #7
Comments
Could you please let me know the config file that you use for your experiments |
Here are the config files: |
In practice, the keys used to access the state store must be unique. If keys are drawn from a uniform distribution, there will be windows with the same key on the state store, which leads to indeterministic behavior. That is why the current version of Gadget only supports unique sequential keys. |
Okay, but still when generating traces it still accesses the same state store multiple times anyway, so what is the difference there? I'm looking for trace where the keys are distributed more randomly alphabetically to get accesses after each other that may hit different SST-tables. Is there another way to generate that kind of trace? Eg. instead of having the trace like this: Having it something like this with keys distributed randomly over a range: |
State store operations with the same key stem from events that belong to the same window. As the paper indicates, state store workloads in stream processing systems have high spatial locality. Gadget mimics a stream processing system to generate its workload. That's why its workloads have high spatial locality. |
Okay, now it is more clear to me why it behaves the way it does. Thank you for your answers! |
Hello again and thanks for the previous help!
I'm trying to generate a trace file where the keys in the windows are generated uniformly from a specific interval, but when setting the "make a key popularity distribution for the windows key (keys used to access state store)" option to uniform, all the keys generated are just "0000000000" (I'm using a constant key size of 10). I've tried this with different intervals but the result has been the same.
I did not get the zipf distribution to work either. I did set the parameter s, but just got the following error message:
Hello from Gadget!
The config file has been successfully read!
Error: The operator cannot be made!
The sequential and constant distributions worked as expected.
The text was updated successfully, but these errors were encountered: