Skip to content

Conversation

MalukiMuthusi
Copy link

Implements a message broker system with Redis backend to enable WebSocket notifications across multiple Gotify server instances. Introduces a broker interface with Redis and no-op implementations, allowing deployments to scale horizontally while maintaining real-time message delivery.

Falls back gracefully to local-only mode when Redis is disabled or unavailable. Includes configuration options for Redis connection and channel prefix customization.

Implements a message broker system with Redis backend to enable WebSocket notifications across multiple Gotify server instances. Introduces a broker interface with Redis and no-op implementations, allowing deployments to scale horizontally while maintaining real-time message delivery.

Falls back gracefully to local-only mode when Redis is disabled or unavailable. Includes configuration options for Redis connection and channel prefix customization.
@MalukiMuthusi MalukiMuthusi requested a review from a team as a code owner August 17, 2025 17:14
@eternal-flame-AD
Copy link
Member

eternal-flame-AD commented Aug 17, 2025

Hi, is this a performance PR or some specific infrastructure that requires this horizontal/message bus setup?

If it's performance it would be nice if you have benchmark or load testing numbers (concurrent connections, etc).

If it's a specific infrastructure (maybe k8s?) you are targeting please open an concurrent issue/PR at gotify/website for how to configure the system to take advantage of this feature. (Example configurations, security considerations, etc)

@MalukiMuthusi
Copy link
Author

It is targeting an infrastructure like k8s.

@eternal-flame-AD
Copy link
Member

Okay thanks for the clarification, can you open PR for a sample k8s configuration with this feature on gotify/website, thanks.

@MalukiMuthusi
Copy link
Author

Thank you, I will open it.

@eternal-flame-AD eternal-flame-AD added a:feature New feature or request in:server labels Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a:feature New feature or request in:server

Development

Successfully merging this pull request may close these issues.

2 participants