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

Add generic async output mode #940

Merged
merged 1 commit into from
Feb 9, 2016
Merged

Conversation

urso
Copy link

@urso urso commented Feb 7, 2016

Add generic async mode with error handling support on par with other generic output mode for implementation of output requiring/supporting async communications.

Requires #927 to be merged first

@urso urso added in progress Pull request is currently in progress. and removed review labels Feb 7, 2016
@urso urso mentioned this pull request Feb 7, 2016
@urso urso force-pushed the enh/async-output-mode branch 2 times, most recently from 1b8ac01 to ce1d5b7 Compare February 9, 2016 00:37
@urso urso added review and removed in progress Pull request is currently in progress. labels Feb 9, 2016
// Due to the pull based nature the algorithm will load-balance events by random
// with workers having less latencies/turn-around times potentially getting more
// work items then other workers with higher latencies. Thusly the algorithm
// dynamically adapts to resource availability of server events are forwarded to.
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for the highlevel description. Very useful.

@tsg
Copy link
Contributor

tsg commented Feb 9, 2016

LGTM.

- add load balancer working in async mode
- add NewAsyncConnection mode generating a single-mode, fail-over mode and
  load-balanced mode output handler based on async-mode implementation.
- rename WithError to WaitOnError + clarify comment
@urso urso force-pushed the enh/async-output-mode branch from 7ab74d6 to ee7e9e2 Compare February 9, 2016 13:22
tsg added a commit that referenced this pull request Feb 9, 2016
@tsg tsg merged commit afd068e into elastic:master Feb 9, 2016
@urso urso deleted the enh/async-output-mode branch February 11, 2016 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants