OpenFeature SDK Architecture

OpenFeature SDK Architecture An architecture diagram generated by Archify. Application code · flag evaluation call · Application Application code flag evaluation call OpenFeature API / Client · Evaluation Context · OpenFeature SDK OpenFeature API / Client Evaluation Context Hooks · Before / After / Error / Finally · OpenFeature SDK Hooks Before / After / Error / Finally Provider Interface · backend abstraction · OpenFeature SDK Provider Interface backend abstraction flagd Provider · Providers flagd Provider LaunchDarkly Provider · Providers LaunchDarkly Provider Flagsmith Provider · Providers Flagsmith Provider In-Memory Provider · no external backend · Providers In-Memory Provider no external backend flagd server · in-cluster evaluation engine · Backend systems flagd server in-cluster evaluation engine LaunchDarkly SaaS · Backend systems LaunchDarkly SaaS Flagsmith server · Backend systems Flagsmith server evaluate gRPC :8013 Application OpenFeature SDK Providers Backend systems

Core SDK components

  • • API / Client: the standard evaluation interface called by application code
  • • Evaluation Context: user, environment, and region attributes for targeting
  • • Hooks: cross-cutting concerns at the Before, After, Error, and Finally stages

Provider model

  • • Adapts the SDK to its backend
  • • Migrate keys, rules, context, and operational behavior
  • • Verify readiness and error/default behavior