bwlewis / rredis

R client for Redis
http://illposed.net/
93 stars 25 forks source link

does not support pipeline? #13

Closed mahengyang closed 11 years ago

mahengyang commented 11 years ago

cann`t use pipeline, which will be very slow if redis server stored huge keys

bwlewis commented 11 years ago

I'm not sure exactly what you mean, can you be more specific? If you mean transactions, have you considered trying redisMulti and redisExec, for example?

mahengyang commented 11 years ago

pipeline is a batch commands,to get better performance, different with Multi,look at this: https://groups.google.com/forum/#!topic/redis-db/zVXsg0bjrbg

bwlewis commented 11 years ago

OK, thanks. I think what you want are the: redisSetBlocking and redisGetResponse

functions in the rredis package. See the help for those functions. This will pipeline Redis commands in a non-transactional way.

bwlewis commented 11 years ago

Did redisSetBlocking/redisGetResponse work for you? If so, I'll close this issue.

mahengyang commented 11 years ago

ok,ths