-
Notifications
You must be signed in to change notification settings - Fork 16
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
Per host channels #1333
base: jakubk/stick-queue
Are you sure you want to change the base?
Per host channels #1333
Conversation
f05d200
to
0f2942a
Compare
return endpoint(endpoint).execute(request); | ||
} | ||
}) | ||
.collect(ImmutableList.toImmutableList()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this piece is more or less the alternative described here, except that we don't leverage it from the StickySessionFactory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah: I think it's valuable to provide wholesale fairness implementation. If we're not going to ship the whole thing (i.e. you can support internal usecase for per-transaction fairness, with ability to create a new sticky channel from an existing sticky channel with new queue), I'd be happy to switch to per-host queues even for sticky channels. The reason I added it in #1334 is because I wanted to ship the whole thing.
dialogue-core/src/main/java/com/palantir/dialogue/core/NodeSelectingChannel.java
Outdated
Show resolved
Hide resolved
b98c9b0
to
36e4faf
Compare
Before this PR
After this PR
==COMMIT_MSG==
==COMMIT_MSG==
Possible downsides?