Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Redis Streams vs Pub/Sub:

Pragya Keshap answered on February 16, 2023 Popularity 3/10 Helpfulness 1/10

Contents


More Related Answers

  • redis pub or sub nodejs
  • nodejs pub sub redis
  • Redis Streams
  • Redis Stream – Consumer:
  • Redis PubSub – Publisher:
  • Redis PubSub – Subscriber:

  • Redis Streams vs Pub/Sub:

    0

    What is the need for Streams support when we have pub/sub feature!? You might ask. The answer is Pub/Sub is not same as Stream. These are some of the very basic differences between them. So stream is not an alternative for Pub/Sub.

    Pub/Sub Stream

    No persistence Persistent Data

    Receiver has to be up and running to receive the messages. It is a Fire & forget model Consumers do not have to be up and running. Consumers can connect to the publisher any time and consume the messages from where they left off.

    All the subscribers would receive the same message Only one consumer from a consumer group will receive the message. So No duplicate message processing.

    Popularity 3/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 16 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.