Giter Club home page Giter Club logo

Comments (4)

Randgalt avatar Randgalt commented on June 16, 2024

@JimBugwadia please review and let me know that this is OK and I'll make a release.

from workflow.

JimBugwadia avatar JimBugwadia commented on June 16, 2024

Thanks for the quick turnaround! The interface looks good.

A few questions on the behavior:

  1. If a custom executor is specified, how does this impact task allocation. For example if an implementation declares it can handle 10 concurrent tasks, are we using task completion to throttle, or the number of tasks scheduled / running?
  2. Are there any restrictions / guidelines on the custom executor's behavior? Is it best to have a fixed pool size to match the concurrency level?

from workflow.

Randgalt avatar Randgalt commented on June 16, 2024

The Executor is expected to execute the task and return. The calling thread waits for it to complete using a FutureTask.

If using a pool, the pool should probably have as many threads as configured Workflow Executors. Otherwise, the Executors will block until a thread is available.

from workflow.

JimBugwadia avatar JimBugwadia commented on June 16, 2024

Ok, makes sense. Thanks!

from workflow.

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.