Redis- async and queue

30 views
Skip to first unread message

Ashwin Kini

unread,
Mar 1, 2018, 1:46:51 AM3/1/18
to Redis DB
Hi all,

Can redis provide async callback and at the same time maintain a queue of messages (dedicated) for each worker.

This way the workers do have back up of messages (if they crash) and also the model is async ( not polling continously like RPOPLPUSH)

Thanks

Itamar Haber

unread,
Mar 1, 2018, 4:24:27 AM3/1/18
to Redis DB
Hi Ashwin,

Have you looked at BRPOPLPUSH [1]? It is blocking (async) and lets the worker move the currently popped/processed element to another queue for "backup".

Alternatively, in the upcoming next versions, we're gonna be having Streams. These will offer similar if not superior capabilities.


Cheers,

--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+unsubscribe@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.



--

Itamar Haber | Technology Evangelist
Redis Labs ~/redis

Mobile: +972 (54) 567 9692
Twitter: @itamarhaber
Skype: itamar.haber

Frank Chang

unread,
Mar 1, 2018, 6:58:38 AM3/1/18
to redi...@googlegroups.com
Hi Itamar,
     When will the upcoming next version with Streams be released?
Thank you.
      Frank 

Itamar Haber

unread,
Mar 1, 2018, 8:26:01 AM3/1/18
to Redis DB
ETA is currently April this year - http://antirez.com/news/116
Reply all
Reply to author
Forward
0 new messages