Giter VIP home page Giter VIP logo

Comments (7)

asim avatar asim commented on May 22, 2024

The selector is pluggable. You can write a new selector that suits your requirements. We could potentially provide one that doesn't blacklist. But the fact that the call fails 3 times implies there's an issue, hence blacklisting the node. Only that specific node is blacklisted. So if you're only running one instance of a service, yes it's going to return no service available. Why is it throwing an error? Can you run more instances of the service?

from go-micro.

btfak avatar btfak commented on May 22, 2024

I guess the key is

what is the best way to throwing error?

for example:invalid request params and so on,they will return error,but not reason to block that specific node. People will benchmark wrong request and make all node not available

from go-micro.

btfak avatar btfak commented on May 22, 2024

I have use my own selector,problem solved.

from go-micro.

asim avatar asim commented on May 22, 2024

great

from go-micro.

asim avatar asim commented on May 22, 2024

Let us know if you open source it. Would be great to see what it looks like.

from go-micro.

btfak avatar btfak commented on May 22, 2024

ok,my team use micro on a e-commerce project, we will open source some plugins when code stable.
your great job help us reduce much work,thanks

from go-micro.

asim avatar asim commented on May 22, 2024

Cool. Feel free to add your company to the Users list https://github.com/micro/micro/wiki/Users

from go-micro.

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.