Giter Site home page Giter Site logo

Comments (3)

jentfoo avatar jentfoo commented on May 13, 2024

Because other fairness strategies would have performance impacts. And in addition I am not sure what use cases we would be trying to solve with additional strategies, I am going to wait on implementing this enhancement.

If anyone would like to see this, please post a comment about what fairness strategy, and why you would like to see it. That way I can be sure to implement something that will be useful to lots of people.

Right now the fairness strategy of limiting the amount of runnables per key at a time (possibly in combination with a sub pool), should solve most peoples use cases.

from threadly.

jentfoo avatar jentfoo commented on May 13, 2024

I marked this for version 2.0.0 since to do this cleanly, we would have to make non-backwards compatible changes.

Depending on feedback, and how I feel about this as we get closer to 2.0.0 we may or may not want to include this additional functionality. But still marking for 2.0.0 milestone as that is the earliest we can do this (of course 2.0.0 can occur when ever want it to).

from threadly.

jentfoo avatar jentfoo commented on May 13, 2024

I am going to go ahead and close this as wont fix. This could still be done, I have a branch on from my local fork for 2.0.0, but worry this complicates things more than it is worth. As I stated above, if anyone is interested in something like this, let me know, we can re-open this. But I hate to add a builder pattern right now when the need is not clearly defined, and it adds complexity that is different from everything else in this project right now. If we have a need for more builders in the future, I will likely do this then as well.

from threadly.

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.