Skip to content

RATIS-188. Add a per-window request semaphore - #1709

Open
Elia-Renzoni wants to merge 3 commits into
apache:masterfrom
Elia-Renzoni:sliding-window-clients
Open

Elia-Renzoni wants to merge 3 commits into
apache:masterfrom
Elia-Renzoni:sliding-window-clients

Conversation

@Elia-Renzoni

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This PR replaces the global request semaphore with a per-window semaphore, so
that concurrency limits are applied independently to each window.

What is the link to the Apache JIRA

https://issues.apache.org/jira/projects/RATIS/issues/RATIS-188?filter=allopenissues

How was this patch tested?

unit test

@szetszwo szetszwo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@Elia-Renzoni , thanks for working on this!

Please see the comments inilned.

@Elia-Renzoni

Copy link
Copy Markdown
Contributor Author

@szetszwo Thanks for your review. I've addressed the suggested changes and it should be good now

@szetszwo szetszwo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

+1 the change looks good.

This branch has not been deployed

No deployments
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