Skip to content

Feature Flags component #99

@nikneem

Description

@nikneem

Overview

​Introduce a new Dapr building block (or an extension of the existing Configuration API) specifically for Feature Flags. This component would provide a standardized way to fetch toggles, evaluate targeting rules, and receive real-time updates without depending on provider-specific SDKs (e.g., LaunchDarkly, Azure App Configuration, Flagsmith).

Problem

​Modern microservices rely heavily on feature flags for progressive rollouts and A/B testing. However:
​SDK Bloat: Each provider requires a unique SDK, increasing binary size and maintenance.
​Complexity: Managing local overrides vs. cloud-hosted flags varies across environments.
​Performance: Developers have to manually manage caching and polling logic to avoid high-latency calls to flag providers.

​# Solution
​Create a Feature Flag Component Interface that supports:
​Boolean & Multivariate Flags: Standardized response types.
​Targeting Context: Ability to pass metadata (User ID, Region, etc.) for server-side or sidecar-side evaluation.
​Real-time Updates: Integration with Dapr’s subscription model to push flag changes to the application.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions