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

Added support of fadeIn in powerOfNRandomChoices #2702

Closed
wants to merge 6 commits into from

Conversation

RomanZavodskikh
Copy link
Member

@RomanZavodskikh RomanZavodskikh commented Oct 27, 2023

AlexanderYastrebov and others added 6 commits October 17, 2023 19:05
Make lifo, lifoGroup and fifo filters backed error aware and remove
cleanup from the proxy.

Follow up on #1054, #1086 and #2239
Updates #1238

Signed-off-by: Alexander Yastrebov <[email protected]>
* separate argument tests from behaviour test
* use eskip to define filter configuration
* use TestFifo prefix for all test names

Signed-off-by: Alexander Yastrebov <[email protected]>
* feature: filter fifoWithBody that works similar to fifo(), but release deferred until body streaming to client was finished
* fix: fifo() and fifoWithBody() with canceled requests

Both filters did not check for canceled context from request before semaphore.Acquire, see golang/go#63615

Signed-off-by: Sandor Szücs <[email protected]>
* Don't allow more than one filter/predicate per yaml/json item

Signed-off-by: Mustafa Abdelrahman <[email protected]>
@RomanZavodskikh RomanZavodskikh changed the base branch from master to cw2023freeze October 27, 2023 09:34
Base automatically changed from cw2023freeze to master November 28, 2023 10:01
@RomanZavodskikh
Copy link
Member Author

The problem this PR is aiming to solve is solved automatically with #2634. This PR decouples fade-in logic from loadbalancer, which increases readability and debugability a lot. The fix of fade-in for powerOfNRandomChoices is nice side-effect of this PR.

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.

fadeIn filter support for powerOfRandomNChoices load balancer
4 participants