Feature Flags incremental interval
Release notes
In this release, we have changed the polling mechanism for fetching feature toggles to an incremental polling algorithm that can be customomized to both protect you server and increase it's performance.
Problem to solve
As a feature flag admin I want to protect my server from bombarding requests for Fetching feature toggles (polling)
Intended users
User experience goal
Proposal
Using Unleash's current refreshInterval which is a constant number, we should give this input a "rolling" number
a new variable should be introduced, defaults to 15 seconds but can be configurable called "increaserefreshinterval" (TBD)
refreshInterval=refreshInterval+increaserefreshinterval
increaserefreshinterval=increaserefreshinterval*2
and increaserefreshinterval has an upper limit of 24 hours.
This will minimize the polling that the server needs to respond to until it is constant to once a day.
Further details
The default poll interval is currently 15 seconds and can be configured at refreshInterval - The poll-intervall to check for updates. Defaults to 15000ms.
Permissions and Security
Documentation
Availability & Testing
What does success look like, and how can we measure that?
What is the type of buyer?
Is this a cross-stage feature?
Links / references
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.