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 polling support #2914

Merged
merged 1 commit into from
Jun 27, 2019

Conversation

JacksonKearl
Copy link

Add support for polling to OSS. The code is mainly taken from enterprise-gateway, but with the support for dynamically adding and removing listeners removed, as it complicates the code significantly and I'm not sure what the use case is. Happy to add it back if needed.

Copy link
Contributor

@jbaxleyiii jbaxleyiii left a comment

Choose a reason for hiding this comment

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

@JacksonKearl after a few discussions with some users of federation, I think we should ultimately scrap this PR for now. The tldr; is that we are more and more convinced that a live "pull" based model is a footgun that will end up causing a lot more pain than success for users. As new services are incrementally rolled out, the gateway would end up "flapping" (going from old to new to old to new) during its poll timing.

I think we should work with the community to find a great answer to a "push" model for updating the gateway instead

@JacksonKearl
Copy link
Author

@jbaxleyiii So we're bringing this back?

@JacksonKearl
Copy link
Author

Merged this into enterprise-merge/remoteHostedServiceLists, as they're pretty intertwined.

@JacksonKearl
Copy link
Author

JacksonKearl commented Jun 26, 2019

Merged into #2915

@JacksonKearl
Copy link
Author

Actually nvm

@JacksonKearl JacksonKearl reopened this Jun 26, 2019
Copy link
Member

@abernix abernix left a comment

Choose a reason for hiding this comment

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

LGTM! This is but one piece of the puzzle, but I think this can merge into the megabranch and we can merge it all at once!

@JacksonKearl JacksonKearl merged commit 1435044 into enterprise-merge-megabranch Jun 27, 2019
@abernix abernix deleted the enterprise-merge/polling branch February 25, 2020 21:02
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants