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

[IMPROVED] Consumer create performance in some circumstances. #3901

Merged
merged 1 commit into from Feb 23, 2023

Commits on Feb 23, 2023

  1. Improve consumer create performance.

    In cases where we had a large subject space, a filestore with many msg blocks, and a filtered consumer with a wildcard filtered subject, creating a consumer could take more memory and time then we wanted.
    This improvement works when the consumer is DeliverAll and we used the upper layer in memory psim structure to scan but only in memory and avoid a file read for each msg block.
    
    Signed-off-by: Derek Collison <derek@nats.io>
    derekcollison committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    2972c11 View commit details
    Browse the repository at this point in the history