Closed dnox closed 11 years ago
Do you use the latest tornado-redis revision? Please check if your report is not a duplicate of #35 or an issue is still persist.
Yeah, sorry. Had 2.4.1. 2.4.2 works fine.
Thank you.
Please check this note: https://github.com/leporo/tornado-redis#tornado-redis-vs-redis-py
I would like to suggest you checking if your code may be re-implemented using the redis-py client and to benchmark both implementations. May be you don't need tornado-redis connection pooling at all in this particular case.
I have tornado app with redis connect:
And i have request handler, that use pipeline:
First print: [SMEMBERS(('test_unmoderated',),{'callback': None}), SMEMBERS(('test_moderated',),{'callback': None}), SMEMBERS(('test_templates',),{'callback': None})]
Second print: [SELECT(('4',),{'callback': <tornado.stack_context._StackContextWrapper object at 0x1eafaf8>})]
Thus, on second function call my res contains 4 elements instead of 3.