You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "hello" notification meets many of the "things a non-trivial client wants to know" (full list TBD), but: there's still a gap.
A problematic scenario in vCurrent is that there is no pub/sub mechanism for configuration changes (including replication changes).
What would be interesting is if V6 could use the "push" mechanism to indicate when config changes happen, whether via CONFIG SET, or SLAVEOF (REPLICAOF), etc. This would mean that clients don't need to periodically poll to ensure that things haven't changed.
I don't know whether this should be automatic or opt-in. Or even if it is a good idea.
This could possibly also extend to cluster shard announcements (presumably at slot completion) and server joins.
Keeping it simple, I'm imagining a push of the form (array) "config", "{setting name}", "{new value}"
Not considered (but needs consideration) - security implications - for example, if CONFIG/INFO are disabled or renamed such that a client couldn't have got the values in the first place, can they subscribe to change notifications?
Maybe there's a discreet set of settings that are covered. Perhaps even those that are included in "hello", since anyone who can get "push" should be capable of getting a "hello" response, so should already know those values.
The text was updated successfully, but these errors were encountered:
The "hello" notification meets many of the "things a non-trivial client wants to know" (full list TBD), but: there's still a gap.
A problematic scenario in vCurrent is that there is no pub/sub mechanism for configuration changes (including replication changes).
What would be interesting is if V6 could use the "push" mechanism to indicate when config changes happen, whether via CONFIG SET, or SLAVEOF (REPLICAOF), etc. This would mean that clients don't need to periodically poll to ensure that things haven't changed.
I don't know whether this should be automatic or opt-in. Or even if it is a good idea.
This could possibly also extend to cluster shard announcements (presumably at slot completion) and server joins.
Keeping it simple, I'm imagining a push of the form (array) "config", "{setting name}", "{new value}"
Not considered (but needs consideration) - security implications - for example, if CONFIG/INFO are disabled or renamed such that a client couldn't have got the values in the first place, can they subscribe to change notifications?
Maybe there's a discreet set of settings that are covered. Perhaps even those that are included in "hello", since anyone who can get "push" should be capable of getting a "hello" response, so should already know those values.
The text was updated successfully, but these errors were encountered: