Changes between Version 2 and Version 3 of Ticket #37156, comment 2


Ignore:
Timestamp:
Jun 11, 2026, 3:13:42 AM (3 weeks ago)
Author:
Carlton Gibson

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37156, comment 2

    v2 v3  
    11> ... the extra threading comes with a significant overhead
    22
    3 Sigh. This is essentially a myth, at least these days. Unless you're repeatedly crossing the boundary in a hot-loop — which, don't! — overhead is essentially negligible.
     3Sigh. This is essentially a myth, at least these days. Unless you're repeatedly crossing the boundary in a hot-loop — which, don't! — overhead is basically negligible.
    44
    55Redis-py's async client is no faster than the sync client (indeed it seems slightly slower, but I need to verify that before stating definitively — it's negligible too though). Similar to the way psycopg's async cursors serialise queries, throughput is limited by pool size. And do enable pipelining!
Back to Top