About 306,000 results
Open links in new tab
  1. More Efficient Bulk Operations with PowerShell Parallelism

    Apr 30, 2025 · The “Parallel” switch, introduced in PowerShell 7, allows script blocks to execute concurrently for each piped input object. This feature is particularly advantageous for bulk operations where tasks can be performed simultaneously. By utilizing this capability, one can significantly reduce processing time and improve efficiency.

  2. java - Parallel execution of graph nodes (Tasks) and finding …

    Apr 24, 2017 · I've implemented a directed graph using Java. It's for a project planner and one node represents a task with different properties. I've successfully implemented topological sort, but I need a way to run/execute parallel tasks as soon dependencies for a task are completed. Here is my implementation:

  3. java - Parallel execution of directed acyclic graph of tasks

    Aug 12, 2020 · A simpler way is to just execute Kahn's algorithm but in parallel. The key is to execute all the tasks in parallel for whom all dependencies have been executed.

  4. Directed Graph Processing in Java - Stack Overflow

    I am looking to implement a Java application that will compute a set of tasks to execute. The tasks will have dependencies on each other, forming a directed graph. Is there an existing SDK or algorithm (preferably in Java) out there that will help me:

  5. java - Group tasks for concurrent processing in directed acyclic ...

    May 1, 2021 · I have Task class that has a dependency on other tasks before execution. I want to group tasks that can be parallelized and order them. I decide that it can be represented as DAG first and trying to use JGrapht. First i'm traversing input list of tasks to get all the tasks with their dependancies and collecting them in one list.

  6. What is the easiest way to parallelize a task in java?

    I would say one way is to try with Java.lang.Thread.Thread like here, create a thread for each task and run them. This worked for me in Spring. Reading this I like to try virtual threads but didn't succeed in Spring yet. Also Tasks, Paralllel for each, tpl, async await have their own issues.

  7. How to run a graph algorithm concurrently in Java using multi …

    Jun 7, 2017 · I want to run an algorithm on large graphs concurrently, using multi-core parallelism. I have been working on it for a while, but haven't been able to come up with a good solution. This is the naive algorithm: W - a very large number double weight = 0 while(weight < W) - v : get_random_node_from(Graph) - weight += calculate(v)

  8. Lightweight Parallel Tasks in Java Microservices - DZone

    Apr 26, 2021 · Instead, a Java DynamicProxy wrapper is returned from $.task() that intercepts the the subsequent compute call and instead creates an internal dependency graph linking its inputs to its arguments ...

  9. GitHub - atanasovskib/DAG_Task_Scheduler: A Java library for ...

    A Java library for defining tasks that have directed acyclic dependencies and executing them with various scheduling algorithms. This is supposed to be a library that will allow a developer to quickly define executable tasks, define the dependencies between tasks.

  10. Implement a parallel programming task using graphs

    Jan 28, 2024 · Given a weighted directed graph with N nodes and M edges along with a source node S, use Parallel Programming to find the shortest distance from the source node S to all other nodes in the graph. The graph is given as an edge list edges[][] where for each index i , there is an edge from edges[i][0] to edges[i][1] with weight edges[i][2] .

  11. Some results have been removed
Refresh