thetanz / OpenFeature-al

OpenFeature for AL transforms Application Areas into feature toggles.
https://theta.co.nz
GNU Lesser General Public License v3.0
21 stars 5 forks source link

Validate flags on demand for a background session #21

Closed vody closed 1 year ago

vody commented 1 year ago

Is your feature request related to a problem? Please describe. As an ISV using PostHug Provider, we see high usage of a PostHug API from OpenFeature. This becomes quite costly, and ideally, we would like to have a cheaper solution for it. For example, currently, we are sending 52M requests to PostHug /decide API. Most of these requests are due to a background session (API calls to BC) where no flag logic is actually needed.

Describe the solution you'd like For a background session, it would be better to validate flags only if it is required.

Describe alternatives you've considered The alternative is to have a new self-hosted provider, which is a chapter to host, then a third-party service.

vody commented 1 year ago

It resolved within v3.4.0.0 release.