Skip to content
This repository has been archived by the owner on Dec 19, 2017. It is now read-only.

Don't submit unnecessary keep-alives #311

Open
kuujo opened this issue Mar 22, 2017 · 0 comments
Open

Don't submit unnecessary keep-alives #311

kuujo opened this issue Mar 22, 2017 · 0 comments

Comments

@kuujo
Copy link
Member

kuujo commented Mar 22, 2017

Currently, clients submit keep-alive requests on a fixed schedule to ensure their session isn't expired. However, for clusters that are fairly active, these keep-alives represent unnecessary overhead as they require a commit within the Copycat cluster. When commands are being submitted within the session timeout, the commands can serve the same purpose as keep-alives. Thus, clients should track timers for commands submitted to the cluster and only submit keep-alives when necessary to reset indexes or to keep the session alive.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant