Skip to content

RFC: Add Leader Election Support for Active-Passive Architecture in Gateway plugin #1805

@googs1025

Description

@googs1025

🚀 Feature Description and Motivation

Currently, the gateway plugin doesn't support leader election, which means all instances are active simultaneously.

This can lead to:

  • Inconsistent KV cache event processing across multiple instances
  • Potential race conditions when handling shared resources
  • No high availability with failover capabilities

Use Case

high availability with failover capabilities

Proposed Solution

Implement leader election support to enable an active-passive (leader-follower) architecture where only one instance is active at a time while others remain in standby mode.

Metadata

Metadata

Assignees

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