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 strict caching and leader replacement that minimizes interruption to event stream #34

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

xmcqueen
Copy link

@xmcqueen xmcqueen commented Nov 3, 2022

added strict cacheing where both the UID and the resourceVersion are used to query the state of the cache

see issue #19

Also added leader election code that has minimal downtime and minimal loss of events

and issue #24

mustafaakin
mustafaakin previously approved these changes Nov 3, 2022
@xmcqueen
Copy link
Author

xmcqueen commented Nov 3, 2022

Hi, @mustafaakin . Thanks

I have a few more PRs coming.
I had to do some factoring to get clean PRs.
It would be wise to not merge these until I get the factored code tested locally here.
It won't take more than a few days.

@mustafaakin
Copy link

Of course, no worries.

@xmcqueen xmcqueen marked this pull request as draft November 4, 2022 00:31
@xmcqueen xmcqueen changed the title added strict cacheing added strict cacheing and leader replacement that minimizes interruption to event stream Nov 16, 2022
@xmcqueen xmcqueen marked this pull request as ready for review November 17, 2022 19:21
@xmcqueen xmcqueen changed the title added strict cacheing and leader replacement that minimizes interruption to event stream added strict caching and leader replacement that minimizes interruption to event stream Nov 18, 2022
@xmcqueen
Copy link
Author

maybe I should add a flag to make this optional. It could be something like --lazy-shutdown.

@ronaknnathani
Copy link

Once #153 is merged, this PR can be closed.

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.

3 participants