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

Reduce Route memory utilization by avoiding RuntimeData instances when not needed #24327

Merged
merged 5 commits into from
Dec 8, 2022

Commits on Dec 2, 2022

  1. Reduce Route memory utilization by avoiding RuntimeData instances whe…

    …n not needed
    
    Currently an instance of RuntimeData is created in each route, even if no runtime fractions are configured. This PR switches the instance to unique_ptr and only creates RuntimeData objects when actually configured.
    
    This is a step towards more memory efficient config data structures. Issue envoyproxy#24154.
    
    Signed-off-by: Yury Kats <ykats@google.com>
    yurykats committed Dec 2, 2022
    Configuration menu
    Copy the full SHA
    3f09f97 View commit details
    Browse the repository at this point in the history
  2. Fix build break

    Signed-off-by: Yury Kats <ykats@google.com>
    yurykats committed Dec 2, 2022
    Configuration menu
    Copy the full SHA
    d351e45 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2022

  1. Configuration menu
    Copy the full SHA
    bdd4a37 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e9b910f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    088c11d View commit details
    Browse the repository at this point in the history