Changes between Version 2 and Version 3 of Ticket #37156, comment 2
- Timestamp:
- Jun 11, 2026, 3:13:42 AM (3 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #37156, comment 2
v2 v3 1 1 > ... the extra threading comes with a significant overhead 2 2 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.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 basically negligible. 4 4 5 5 Redis-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!