You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
backend acquires and releases the connection from the pool every time which adds extra cost. In aioredis, reusing the same connection or acquiring (even when its the same) almost doubles the time.
Usage could be some like:
withredis_cacheasconn:
awaitconn.set()
...
With memory it doesn't make sense but to keep compatibility it will return itself. Its also possible to do it with memcached (although haven't checked the difference).
The text was updated successfully, but these errors were encountered:
In codes like
backend acquires and releases the connection from the pool every time which adds extra cost. In aioredis, reusing the same connection or acquiring (even when its the same) almost doubles the time.
Usage could be some like:
With memory it doesn't make sense but to keep compatibility it will return itself. Its also possible to do it with memcached (although haven't checked the difference).
The text was updated successfully, but these errors were encountered: