High-Performance API Gateway for Microservices

Advanced Rate Limiting

Precision traffic control with sub-millisecond evaluation. Protect upstream services from overload while guaranteeing SLA compliance for enterprise tenants.

Core Throttling Algorithms

FluxGate implements industry-standard rate limiting strategies optimized for distributed microservice architectures. Choose the algorithm that matches your traffic patterns and latency requirements.

Sliding Window Log

Event-Driven

Tracks exact request timestamps in a circular buffer backed by Redis Cluster. Eliminates boundary spikes seen in fixed windows. Ideal for payment processing endpoints requiring strict 120 req/min caps per tenant ID.

Token Bucket

Burst-Tolerant

Refills tokens at a steady rate while allowing controlled bursts. Configurable bucket capacity up to 5,000 tokens with 10ms refill intervals. Perfect for webhook ingestion and batch data synchronization jobs.

Endpoint-Level Configuration

Define granular limits directly in your routing manifest. FluxGate compiles these rules into a zero-configuration edge policy that syncs across all gateway nodes in under 200ms.

routes:
  - match:
      path: "/api/v2/billing/invoices"
      methods: ["POST"]
    rate_limit:
      algorithm: "sliding_window"
      window_size: "60s"
      max_requests: 500
      key_extractor: "header:X-Tenant-ID"
      burst_allowance: 50
      response_headers:
        include_remaining: true
        include_retry_after: true
    upstream: "billing-service:8080"
Dynamic Key Extraction

Scope limits by JWT claims, API keys, or client IP ranges without custom middleware.

Automatic Header Injection

Returns `X-RateLimit-Limit`, `X-RateLimit-Remaining`, and `Retry-After` on 429 responses.

Graceful Degradation

Configurable fallback thresholds prevent cascade failures when the Redis state store experiences latency spikes.

Production-Grade Performance

Rate limiting shouldn't be your bottleneck. FluxGate's C++ evaluation engine processes traffic control rules in the data path with near-zero overhead.

0.12ms Avg. Evaluation Latency
2.4M Requests/Second/node
99.99% State Sync Accuracy
14ms Policy Propagation