Skip to content

Event Flow Interruption During Restart #24

Open
@xmcqueen

Description

Analysis indicates that with the leaderElection activated, the interruption is about 17 seconds (the 15 second lease expiration period + 2 seconds for overhead). At high rates, that can be thousands of lost events. Certainly one option is to reduce defaultLeaseDuration, but I'd like it to be subsecond or even zero if possible.

I've been looking at the leader election code and I think we can get make that interruption interval much lower. I'm going to start working on that unless somebody has a better idea. I don't see a way to get the existing setup to go much faster than the defaultLeaseDuration.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions