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

Document use of LoadBalancedRSocketMono parameters #725

Open
pckeyan opened this issue Dec 5, 2019 · 0 comments
Open

Document use of LoadBalancedRSocketMono parameters #725

pckeyan opened this issue Dec 5, 2019 · 0 comments
Labels
Projects
Milestone

Comments

@pckeyan
Copy link

@pckeyan pckeyan commented Dec 5, 2019

This question related to #717 and @OlegDokuka recommendation.

I am using the LoadBalancedRSocketMono to load balance my servers. I use to get the Connection Reset by Peer exception. Based on recommendation, I am planning to play with the below parameters, but I am not able to find document for values, its significance and low/upper limits etc. I do read the javadoc but above information is missing. Can you please help me understand on how I can play with the below parameters to get maximum performance?

public static final double DEFAULT_EXP_FACTOR = 5.0;

    public static final double DEFAULT_LOWER_QUANTILE = 0.2;

    public static final double DEFAULT_HIGHER_QUANTILE = 0.8;

    public static final double DEFAULT_MIN_PENDING = 1.0;

    public static final double DEFAULT_MAX_PENDING = 2.0;

    public static final int DEFAULT_MIN_APERTURE = 500;

    public static final int DEFAULT_MAX_APERTURE = 5000;

    public static final long DEFAULT_MAX_REFRESH_PERIOD_MS =
            TimeUnit.MILLISECONDS.convert(5, TimeUnit.MINUTES);
@rstoyanchev rstoyanchev changed the title LoadBalancer Parameter Definitions with Ceiling values Document use of LoadBalancedRSocketMono parameters Apr 17, 2020
@rstoyanchev rstoyanchev added documentation and removed question labels Apr 17, 2020
@rstoyanchev rstoyanchev added this to the 1.x Backlog milestone Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Addons
  
Awaiting triage
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.