stack-profile:feature-flag-service
Feature Flag Service (TypeScript, Redis, PostgreSQL, React, Docker, Prometheus) overview
A self-hosted feature flag management service enabling progressive rollouts, A/B testing integration, and kill switches for production features. TypeScript powers the flag evaluation SDK and management API with type-safe flag definitions and targeting rules based on user attributes, percentages, and segments. Redis provides sub-millisecond flag evaluation with local caching and pub/sub-based cache invalidation across service instances. PostgreSQL stores flag configurations, audit trails, and targeting rule history. React delivers the management dashboard with flag lifecycle views, rollout progress charts, and approval workflows. Prometheus tracks flag evaluation latency and exposure counts for experiment analysis. Docker containers enable consistent deployment of the flag service alongside application pods. The tradeoff is managing flag lifecycle cleanup to prevent permanent flags and ensuring SDK performance under high evaluation volumes.
Attributes
Outgoing edges
- domain:platform-engineering·DomainPlatform Engineering
- domain:software-engineering·DomainSoftware Engineering
- language:typescript·LanguageTypeScript
- library:ioredis·Libraryioredis
- tool:psql·Toolpsql
- framework:react·FrameworkReact
- tool:docker·ToolDocker
- tool:prometheus·ToolPrometheus
- library:prisma·LibraryPrisma
- library:zod·LibraryZod
- workflow:feature-flag-lifecycle·WorkflowFeature Flag Lifecycle
- workflow:feature-flag-rollout·WorkflowFeature Flag Rollout
- skill-area:feature-management·SkillAreaFeature Management
- skill-area:caching-strategies·SkillAreaCaching
- skill-area:api-design·SkillAreaAPI Design
- skill-area:frontend-development·SkillAreaFrontend Development
- skill-area:ab-testing-experimentation·SkillAreaA/B Testing and Experimentation
- role:backend-engineer·RoleBackend Engineer
- role:fullstack-engineer·RoleFullstack Engineer
- role:product-manager·RoleProduct Manager