You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 20, 2022. It is now read-only.
In the aws-blog-kinesis-producer-library click events are generated with the following code:
private static ClickEvent generateClickEvent() {
byte[] id = new byte[13];
RANDOM.nextBytes(id);
String data = StringUtils.repeat("a", 350);
return new ClickEvent(DatatypeConverter.printBase64Binary(id), data);
}
However, the bulk of the content is just the letter "a", which means that the data sent up to the servers will be extremely compressable. (ie. the uploaded compressed payloads will essentially be the 13 byte random number plus a few more bytes).
It would be more representative of performance, to make a larger percentage of the event payload random.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In the aws-blog-kinesis-producer-library click events are generated with the following code:
However, the bulk of the content is just the letter "a", which means that the data sent up to the servers will be extremely compressable. (ie. the uploaded compressed payloads will essentially be the 13 byte random number plus a few more bytes).
It would be more representative of performance, to make a larger percentage of the event payload random.
The text was updated successfully, but these errors were encountered: