FlexFlag Documentation

FlexFlag Documentation

Welcome to FlexFlag - High-Performance Feature Flag Management System

🚀 Quick Start

FlexFlag is a high-performance, developer-first feature flag management system with distributed edge servers, real-time synchronization, and sub-millisecond flag evaluation.

Features

  • 🚀 Ultra-Fast Evaluation: <1ms flag evaluation with edge servers
  • 🌐 Distributed Architecture: Edge servers for global low-latency access
  • Real-time Sync: SSE/WS-based flag propagation to edge nodes
  • 🎯 Advanced Targeting: User segments, rollouts, and A/B testing
  • 🏢 Multi-Project Support: Project isolation with environment management

📚 Documentation Sections

Server Documentation

SDK Documentation

JavaScript/TypeScript SDK

📦 npm Package

The FlexFlag JavaScript SDK is available on npm:

npm install flexflag-client

Package: flexflag-client

🏗️ Architecture

FlexFlag uses a modern, distributed architecture designed for performance:

┌─────────────────┐    ┌─────────────────┐    ┌─────────────────┐
│   Next.js UI    │    │  Edge Server    │    │  Edge Server    │
│  (Port 3000)    │    │  (Port 8081)    │    │  (Port 8082)    │
└─────────────────┘    └─────────────────┘    └─────────────────┘
         │                       │                       │
         │          SSE/WebSocket│          SSE/WebSocket│
         │                       │                       │
┌─────────────────────────────────────────────────────────────────┐
│                     Main FlexFlag Server                        │
│                        (Port 8080)                              │
└─────────────────────────────────────────────────────────────────┘
                                   │
                                   ▼
         ┌─────────────────────────────────────────────────────────┐
         │                Infrastructure                           │
         │  ┌─────────────┐     ┌─────────────┐     ┌─────────────┐│
         │  │ PostgreSQL  │     │    Redis    │     │   Docker    ││
         │  │ (Port 5433) │     │ (Port 6379) │     │  Compose    ││
         │  └─────────────┘     └─────────────┘     └─────────────┘│
         └─────────────────────────────────────────────────────────┘

🤝 Contributing

We welcome contributions! Please check out our contributing guidelines and feel free to submit issues and pull requests.


Built with ❤️ by the FlexFlag team