lettuce icon indicating copy to clipboard operation
lettuce copied to clipboard

streaming or callback api for sets/lists

Open flozano opened this issue 11 years ago • 1 comments

Is there any plan for a streaming-based API for things like smembers, lrange or zrange?

There can be a huge number of items there, and it'd be great if a streaming or callback API was available that avoided loading the whole set/list/range into memory when retrieving.

flozano avatar Jul 19 '13 12:07 flozano

Hi @flozano take a look at https://github.com/mp911de/lettuce#streaming-api. I've added an example for a Streaming API. Let me know what you think.

mp911de avatar May 30 '14 05:05 mp911de