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

Optimise filestore writeFullState for high subject cardinality #5004

Merged
merged 2 commits into from
Jan 26, 2024

Commits on Jan 26, 2024

  1. In writeFullState, use Match instead of Iter, don't allocate 4K…

    … on stack if we won't use it
    
    Signed-off-by: Neil Twigg <neil@nats.io>
    neilalexander committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    7ed08f8 View commit details
    Browse the repository at this point in the history
  2. Add test to measure time taken on writeFullState (skipped by default)

    Signed-off-by: Neil Twigg <neil@nats.io>
    neilalexander committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    c86bdcf View commit details
    Browse the repository at this point in the history