Skip to content

Conversation

oeway
Copy link
Contributor

@oeway oeway commented Jul 17, 2025

Implement Redis event bus partitioning to improve performance and scalability in multi-server deployments.

Previously, all Hypha server instances subscribed to all Redis event channels (event:*), leading to high traffic and unnecessary message processing. This PR introduces a partitioning mechanism where each server only subscribes to events for clients it directly manages (event:*:server-id) and a general broadcast channel (event:*:broadcast). This significantly reduces Redis network traffic and server-side processing overhead, enhancing horizontal scalability.

cursoragent and others added 2 commits July 17, 2025 17:53
Co-authored-by: oeway007 <oeway007@gmail.com>
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jul 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants