Giter Site home page Giter Site logo

Comments (6)

nihohit avatar nihohit commented on July 22, 2024

What would backoff mean in the case of a multiplexed connection?

from redis-rs.

omer-shtivi avatar omer-shtivi commented on July 22, 2024

Consumer: trying to connect and consume messages, fails to connect -> backoff
Producer: try to produce a message, fails to connect -> backoff?

from redis-rs.

nihohit avatar nihohit commented on July 22, 2024

I'm not sure what does either a producer or a consumer means in this context, since a multiplexed connection is neither, but a reconnect-with-backoff logic can be easily implemented by the user. If the user wants this mechanism from the library, they can use the connection manager. What's the scenario in which a backoff-and-reconnect mechanism is needed, that the connection manager isn't good for?

from redis-rs.

omer-shtivi avatar omer-shtivi commented on July 22, 2024

Sorry, I had the PubSub in mind.
I will close the issue, thanks

from redis-rs.

nihohit avatar nihohit commented on July 22, 2024

from redis-rs.

nihohit avatar nihohit commented on July 22, 2024

I missed the fact that the connection manager has no pubsub methods 🤦
#1149 should fix this.

from redis-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.