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

Two phase dialer implementation that first connects as quickly as possible #1437

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

myleshorton
Copy link
Contributor

This PR is aimed at reducing the time it takes a user to get connected at startup while also improving reliability.

The current bandit implementation connects quickly but also experiments with dialers that may not connect at all, thereby hurting the user experience.

This PR switches to a two-phase dialer. In the first phase, we simply try to connect as quickly as possible to all available dialers. If dialers can't connect at all, we discard them. Any dialer that connect at all is immediately available to callers. Then, when we've tested all the dialers for connectivity, we send the connecting dialers and switch to the multi-armed bandit dialer that optimizes for the best dialer to use.

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.

1 participant