Skip to content
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

Bench command in multisubject mode subject format improvement #1177

Merged
merged 3 commits into from
Nov 11, 2024

Conversation

jnmoyne
Copy link
Contributor

@jnmoyne jnmoyne commented Nov 1, 2024

When using nats bench in multisubject mode to generate messages in order to evaluate the amount of memory used by the indexes according to the number of subjects being stored in the stream it is more accurate if all the subjects have the same size. This achieves that by using padding 0 up to the length of the max number of subjects when creating the subjects.

When using nats bench in multisubject mode to generate messages in order to evaluate the amount of memory used by the indexes according to the number of subjects being stored in the stream it is more accurate if all the subjects have the same size. This achieves that by using padding 0 up to the length of the max number of subjects when creating the subjects.

Signed-off-by: Jean-Noël Moyne <[email protected]>
@jnmoyne jnmoyne requested a review from ripienaar November 1, 2024 23:29
Signed-off-by: Jean-Noël Moyne <[email protected]>
Copy link
Collaborator

@ripienaar ripienaar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ripienaar
Copy link
Collaborator

Please sign your commit @jnmoyne

@jnmoyne
Copy link
Contributor Author

jnmoyne commented Nov 5, 2024

Apologies: they were signed but with my new GPG key (old one expired) and I just had not uploaded that new key to GH yet, done now.

@jnmoyne jnmoyne merged commit 392437f into main Nov 11, 2024
6 checks passed
@jnmoyne jnmoyne deleted the jnm/mutisubject-format branch November 11, 2024 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants