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

feat: Implement Replicated Local Key-Value Store with Node-Local Ownership #24

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

Conversation

giangndm
Copy link
Contributor

This PR introduces a replicated local key-value store (local_kv) that distributes data across all nodes in the cluster while maintaining node-specific data ownership.

Key Features:

  • Data is automatically replicated to all nodes in real-time
  • Each key-value pair is created and primarily owned by its originating node
  • Provides local-speed data access across the cluster
  • Automatic data cleanup when a node disconnects

Use Cases:

  • Distributed session management
  • Temporary distributed caching
  • Node-specific metadata sharing

Implementation Details:

  • Broadcast mechanism ensures immediate data synchronization
  • Data is automatically removed from other nodes if the originating node disconnects
  • Designed for scenarios requiring fast, transient, node-local data distribution

Considerations:

  • Data consistency is eventual
  • Not suitable for critical or persistent data storage

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