How open-feature/flagd works
Main Components
a) Core Components:
• Feature Flag Evaluation Engine (core/pkg/evaluator)
• Flag Store (core/pkg/store)
• Sync System (core/pkg/sync)
• Service Layer (core/pkg/service)
b) External Interfaces:
• HTTP/gRPC API Endpoints
• Multiple Data Source Connectors
• OpenTelemetry Integration
• Provider SDKs
┌─ Client Layer ─────────────────────────────┐
• OpenFeature Provider SDKs (Various Languages) │
• ┬───────────────────────┘
┌─ Communication Layer ──────────────────────┐
• HTTP/gRPC APIs │
• ┬───────────────────────┘
┌─ Core Service Layer ──────────────────────┐
• ┌─────────────┐ ┌──────────┐ ┌───────┐ │
• Flag Evaluator│ │Flag Store│ │Metrics│ │
• ┘ └──────────┘ └───────┘ │
• ┬───────────────────────┘
┌─ Sync Layer ──────────────────────────────┐
• File │ HTTP │ gRPC │ Kubernetes │ Blob │
• ┬───────────────────────┘
┌─ Data Sources ────────────────────────────┐
• Files │ APIs │ Remote Services │ K8s │
• ┘
Key Elements to Highlight
• Blue: Core evaluation components
• Green: External interfaces
• Yellow: Data sync components
• Gray: Infrastructure components
b) Connection Types:
Integration Points
• OpenTelemetry integration for monitoring
• Provider SDK connections
• External data source connections
• Kubernetes integration points
Additional Details
• Targeting rules engine
• Percentage-based rollouts
• Real-time updates
• Multiple data source support
• OpenFeature compliance
Notes
• Version information
• Notes about scalability and deployment options