Skip to content

Found a Real Hole in a major system #3000

@rohithsiddabattuni-creator

Description

Describe the bug

I've analyzed the Redis pool exhaustion on high-traffic bursts. The synchronous increment in the downloads view is the bottleneck. I have a PR ready using django_redis async connection to decouple the stats from the request thread

To Reproduce

High concurrency on /downloads/ during release peaks causes redis.exceptions.ConnectionError

Expected behavior

Redis operations should be asynchronous and decoupled from the main request/response cycle using on_commit hooks or Celery tasks to prevent pool exhaustion when workers=2."

URL to the issue

No response

Screenshots

"![SCREENSHOT_DESCRIPTION](SCREENSHOT_LINK.png)"

Browsers

Chrome

Operating System

Windows

Browser Version

No response

Relevant log output

Paste the redis.exceptions.ConnectionError: Connection pool exhausted error.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis is a bug!

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions