OpenFeature vs Vendor SDKs: Feature Flag Portability

Feature Flag Portability

A feature flag is a named switch evaluated at runtime: show the new checkout to 10% of users, or enable an export button for one customer. Commercial flag services such as LaunchDarkly, Statsig, Split, and Flagsmith, and open-source ones such as Unleash and Flipt, each ship their own SDK. Application code calls that SDK wherever a flag is checked.

OpenFeature is a specification and set of SDKs that standardises those calls. It joined the Cloud Native Computing Foundation in 2022 and has been at incubating level since December 2023. Application code asks the OpenFeature client for a boolean, string, number, or object value. A plug-in, which the specification calls a provider and this article will call an adapter, translates the request for the flag system behind it.

In principle, changing suppliers then means registering a different adapter at startup instead of rewriting every flag check. Most major vendors and open-source systems publish adapters for common languages.

The interface is portable. Much of what surrounds it is not.

What Teams Overestimate

The standard covers how code asks for a flag value. It does not cover where flags are defined. Targeting rules, segments, percentage rollouts, approvals, and audit history live in each vendor's control plane in proprietary formats. Moving 400 flags to another system still means recreating or converting 400 definitions.

Percentage rollouts hide a sharper problem. Each system hashes a user identifier into a bucket with its own algorithm and salt. A user in the 10% group on one platform may fall outside it on another, so a migration mid-rollout reshuffles who sees what. The OpenFeature project's own mid-2026 update listed inconsistent hashing across adapters for its flagd engine as open work, which, frankly, shows how hard bucketing is to standardise.

Vendor extras also sit outside the common interface. Experiment analysis, automatic exposure logging, offline bootstrapping on mobile, and specialised flag types are reached through the native SDK. An adapter may expose some through hooks or the tracking call, and often not all.

Several moving parts support the standard. The evaluation context carries user and request attributes, including a targeting key. Hooks run before and after evaluation for logging or tracing. Events report readiness and configuration changes. The OpenFeature Remote Evaluation Protocol, OFREP, defines an HTTP interface so one generic adapter can talk to any compliant backend, and version 0.3.0 added streaming updates. flagd is the project's reference evaluation engine. Specification v0.9.0, released in 2026, included three breaking changes, a reminder that the standard is still pre-1.0.

Adopting It Sensibly

Wrap First, Switch Later

Adopt the neutral interface while keeping your current vendor. Install the OpenFeature SDK, register that vendor's adapter, and replace direct SDK calls service by service. A codemod or search-and-replace script handles most boolean checks. A codebase with 1,500 to 2,000 call sites typically takes a few engineer-weeks, mostly on testing. Behaviour stays the same because the same backend still decides. Once this is done, a later supplier change touches startup code and context mapping, not business logic.

Standardise The Evaluation Context

Decide one schema for context attributes: targeting key, organisation ID, plan, region, app version. Populate it in middleware so every evaluation receives the same fields. Vendors name things differently, and one may expect "key" where another wants "userId". The adapter maps your schema to theirs. Without a fixed schema, rules written against attribute names in one system fail silently in the next. You set the names once, fill them centrally, and targeting rules stop depending on who wrote the call.

Keep Flag Definitions Exportable

Store a manifest of flags in version control: name, type, default value, owner, and expiry date. Tools in the OpenFeature project can generate typed accessors from such a manifest. Export vendor-side definitions on a schedule through the vendor's API or Terraform configuration. This does not make rules portable by itself, but it gives a migration script something structured to read instead of a web console.

Verify With Parallel Evaluation

The Multi-Provider utility, available in most OpenFeature SDKs with the JavaScript version furthest along, can evaluate one flag against two backends and report disagreements. Run old and new systems side by side for a week, with the old one authoritative, and log mismatches. Expect differences on percentage rollouts and on rules using operators the new system handles differently. Resolve those, then flip which backend is authoritative.

Two Team Scenarios

A backend-heavy SaaS company. Sixty engineers maintain 14 services with about 400 flags and roughly 1,900 flag checks, all through one vendor's SDK. A renewal quote prompts a move to a self-hosted open-source system. They first convert to the neutral interface on the existing vendor, taking two sprints. Then they recreate flag definitions with a script that reads the old vendor's API, and run parallel evaluation. About 3% of evaluations disagree, nearly all on flags in partial rollout. They finish or reset those rollouts to 0% or 100% before cutover, since matching buckets across systems is not possible. The switch itself is a configuration change per service. The quiet cost was the definitions, not the code.

A mobile app team. A consumer app relies on its vendor for experiments with automatic exposure events, plus cached flag values so the app starts offline. The team tests the OpenFeature adapter and finds exposure logging needs custom hooks and the offline bootstrap option is not surfaced. They stay on the native SDK and put it behind a thin internal interface of their own with five methods. That gives them one place to change later without adopting a pre-1.0 standard on the client. Less elegant. Fit for their case.

Approaches Compared

ConcernOpenFeature InterfaceDirect Vendor SDKWhat Still Needs Work When Switching
Flag checks in codeSame calls across backendsVendor-specific calls throughoutStartup registration and context mapping only, with the neutral interface
Flag definitions and rulesNot coveredProprietary formatRecreate or convert every flag
Percentage rolloutsBucketing left to the backendVendor hashingUsers re-bucketed unless rollouts are completed first
Experiments and analyticsBasic tracking call and hooksFull native feature setExposure events, metrics, and history do not transfer
New vendor featuresAvailable when the adapter adds themAvailable at releasePossible lag behind the native SDK
StabilitySpecification pre-1.0, breaking changes possibleVendor-managed versioningTwo dependencies to upgrade instead of one

Common Mistakes

Reaching around the abstraction. Once a few files import the vendor SDK directly for a special feature, the portability benefit erodes. Put vendor-specific calls in one module and name it honestly.

Assuming adapters are equal. Some are written by the vendor and track the native SDK closely. Others are community-maintained and trail behind. Check the last release date and open issues before depending on one, and it rarely takes more than ten minutes.

Ignoring defaults. Every evaluation call takes a default returned when the backend is unreachable or the flag is missing. During a migration, missing flags are common, so wrong defaults become live behaviour.

Migrating during active rollouts or experiments. Finish them, record results, and move flags in a settled state.

Treating portability as the only goal. Flag debt, meaning stale flags nobody removes, causes more day-to-day trouble than supplier lock-in. An expiry date on each flag does more for most codebases.

FAQ

What is OpenFeature?

An open specification and SDK set, hosted by the Cloud Native Computing Foundation, that gives applications one vendor-neutral way to evaluate feature flags across languages.

Does OpenFeature replace LaunchDarkly or similar services?

No. It is the interface your code calls. A flag management system, commercial or open source, still stores flags and decides values.

Can I switch feature flag vendors without code changes?

Flag checks can stay the same if they use the neutral interface. You still change startup configuration, map context attributes, and rebuild flag definitions in the new system.

Is OpenFeature ready for production?

Many organisations run it in production. The specification is below version 1.0, and v0.9.0 in 2026 carried breaking changes, so pin versions and read release notes.

What is OFREP?

The OpenFeature Remote Evaluation Protocol, an HTTP interface that lets a single generic adapter work with any backend supporting it, reducing the need for a separate adapter per vendor.

Author's Insight

Reading the specification beside vendor documentation, the standard solves the part of lock-in that lives in source code and leaves the part that lives in configuration and data. For server-side services with many plain on-off checks, that code layer is the bulk of the switching cost, so the neutral interface pays for itself at the first migration. For experiment-heavy or client-side products, the unported pieces carry more weight, and a thin internal wrapper may serve as well. Google building a cloud flag service directly on the standard and flagd in 2026 suggests the interface is settling in as common ground. The honest question for any team is which layer holds its own lock-in.

Final Thoughts

  • OpenFeature standardises how code evaluates flags, with vendor adapters behind a common interface.
  • Flag definitions, targeting rules, rollout bucketing, and experiment data remain vendor-specific and must be migrated separately.
  • Adopt the interface on your current vendor first, so a later switch avoids touching business logic.
  • Fix one evaluation context schema and keep a version-controlled flag manifest.
  • Use parallel evaluation to find mismatches, and complete percentage rollouts before cutover.
  • The specification is still pre-1.0, so pin versions. Check adapter maintenance and feature coverage for your vendor before committing.

Related Articles

Multi-Tenant SaaS: Avoiding Cross-Tenant Data Leaks

This article explains how multi-tenant SaaS systems can accidentally expose one customer’s data to another. It focuses on practical failure modes like broken authorization, shared caches, mis-scoped database queries, and logging mistakes. Readers include product owners, engineers, and security-minded operators who need a clear checklist. You’ll learn how to design tenant boundaries, test them, and respond when a leak is suspected, with concrete examples and measurable validation steps.

development

dailytapestry_com.pages.index.article.read_more

OAuth 2.1 Migration Risks in Legacy Applications

This article explains OAuth 2.1 migration risks for teams running older login flows in web and mobile apps. It targets engineers, security reviewers, and IT managers who need practical, evidence-based guidance. You’ll learn which legacy patterns break under OAuth 2.1 changes, how dependencies like redirect URIs and token validation affect outcomes, and what to test before rollout. Case examples show common failure modes and how to reduce outages and account lockouts.

development

dailytapestry_com.pages.index.article.read_more

Prompt Injection in CI/CD: OWASP LLM Top 10 Controls

Prompt injection in CI/CD is a supply-chain risk where malicious text in code, dependencies, or build logs steers an LLM to leak secrets or change pipeline behavior. This guide targets engineers and security reviewers who use LLMs for code review, test generation, or release notes. You will learn how prompt injection reaches CI/CD, how OWASP LLM Top 10 controls map to pipeline controls, and what to measure in practice to reduce exposure.

development

dailytapestry_com.pages.index.article.read_more

Performance Budgets in CI: p95 Thresholds That Hold

A performance budget is a speed limit written into the build pipeline: if a code change makes the slowest ordinary requests slower than an agreed figure, the merge is blocked. Teams adopt these gates and then switch them off within weeks because they fail at random. This guide is for backend and frontend engineers, tech leads, and anyone who maintains a delivery pipeline and wants latency checks that people trust. It explains what the 95th percentile measures, why shared build machines distort it, how many samples a stable reading needs, how to derive a limit from measured noise, and which gate designs suit which kind of test.

development

dailytapestry_com.pages.index.article.read_more

Latest Articles

Serverless Load Testing: Cold Start Percentiles

Functions that run on demand sometimes pause for a moment before answering, because the platform must first create a fresh execution environment. Ordinary load tests blur those slow first responses into the general numbers or miss them altogether. This guide is for developers, platform engineers, and technical leads who run workloads on AWS Lambda, Google Cloud Run, or Azure Functions and need latency figures they can defend. It explains how to separate first-request delays from steady traffic, how to provoke enough of them to measure, which percentile to report and with how many samples, and how the common remedies compare on effect and cost.

development

Read »

OpenFeature vs Vendor SDKs: Feature Flag Portability

Feature flags let engineers switch code paths on and off without redeploying, and most teams wire them in through one supplier's library. That choice becomes expensive when prices rise or needs change, because flag checks end up scattered through thousands of lines. An open specification hosted by the Cloud Native Computing Foundation offers a neutral interface between application code and whichever flag system sits behind it. This guide is for developers, architects, and engineering managers weighing that interface against direct supplier libraries. It covers what moves with you, what stays behind, migration steps, and the trade-offs in features and stability.

development

Read »

Software Supply Chains: SBOM Requirements in 2026

SBOMs (software bill of materials) list what software components a product uses, down to versions and licenses. This matters for healthcare-adjacent software, regulated vendors, and anyone buying or building connected systems. This article explains what SBOMs cover, what 2026 SBOM requirements typically target, and how to judge an SBOM’s quality. You’ll learn practical steps for procurement and engineering teams, common failure modes, and how to read an SBOM without getting misled.

development

Read »

Cybersecurity Basics for Developers

Modern software development moves at a breakneck pace, but speed often compromises the integrity of the codebase. This guide provides developers with a high-level technical roadmap for integrating security into the CI/CD pipeline, moving beyond basic "don't leak keys" advice to architectural resilience. By implementing specific shifts in authentication, input handling, and dependency management, engineers can mitigate 80% of common vulnerabilities before a single line of code reaches production.

development

Read »

Performance Budgets in CI: p95 Thresholds That Hold

A performance budget is a speed limit written into the build pipeline: if a code change makes the slowest ordinary requests slower than an agreed figure, the merge is blocked. Teams adopt these gates and then switch them off within weeks because they fail at random. This guide is for backend and frontend engineers, tech leads, and anyone who maintains a delivery pipeline and wants latency checks that people trust. It explains what the 95th percentile measures, why shared build machines distort it, how many samples a stable reading needs, how to derive a limit from measured noise, and which gate designs suit which kind of test.

development

Read »

Performance Monitoring Tools for Modern Applications

Modern application performance monitoring (APM) has evolved from simple server pings to complex observability across distributed microservices and hybrid cloud environments. This guide provides CTOs and DevOps engineers with a deep dive into selecting and implementing monitoring stacks that reduce Mean Time to Resolution (MTMR) and prevent revenue-leaking downtime. We address the transition from reactive alerting to proactive telemetry, ensuring your infrastructure supports high-scale traffic without degrading user experience.

development

Read »