Skip to content

[GSSoC '26] Feature: Implement Redis-Backed Rate Limiting and Live SSE Response Streamer #133

Description

@Rafiaminhaj

Hello Mentor (@devloperdevesh),

I would like to contribute to EnterpriseRAG-AI by implementing high-performance rate limiting and live token streaming under GSSoC '26.

I propose to build:

  1. Redis Token-Bucket Limiter: A FastAPI middleware utilizing atomic Redis operations to track client requests per API key/IP, enforcing fair use under high-traffic spikes.
  2. SSE Streaming Controller: A streaming response wrapper that yields LLM generation tokens in real-time to the client, drastically improving perceived latency.
  3. Observability Logging: Logs consumer token statistics and rate-limit hits to the tracing panel.

I have built microservices with Redis caching and FastAPI. Please assign this issue to me. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions