Harkrishn Patro

Results 102 comments of Harkrishn Patro

Interesting, I've seen reverse request as well to persist PUBSUB data to stream. We need to build some form of interoperability between these two. > Consumers who subscribe to the...

I was thinking more on this. @chendali16 Doesn't the `BLOCK` option in `XREAD`/`XREADGROUP` command solve this problem for you ?

@itamarhaber What are your thoughts on this?

@chendali16 If you put up a very large timeout period in the `BLOCK` option, wouldn't the behavior be similar to pub/sub and there won't be any delay in receiving the...

Realized that the client gets unblocked after single message is added to the streams. Doc needs to be updated https://github.com/redis/redis-doc/issues/1450 So, the the latency/delay issue still exists.

> @hpatro can you post some benchmark results as well? Will gather that shortly. > this change only affects the client eviction buckets, right? > it doesn't prevent any memory...

> ohh, so it's not just the buckets that's not updated, it also means the INFO MEMORY fields are slightly outdated (up to the last second). IIRC this was the...

### Benchmark update With a single `redis-benchmark` process, the `redis-server` wasn't getting saturated and the results were turning out to be flaky. Hence, I used the following approach to measure...

@oranagra Also, I tried switching the config `maxmemory-clients` from zero to non-zero multiple times with 10000/20000 open clients and the `config set` operation was instantaneous. I guess the O(N) operation...