deepset-ai / deepset-ai/haystack

Add parallel component execution to Pipeline using a thread pool executor

Open
#10,941 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P2
Dominant language
Python
Stars
26.6k
Forks
3.2k
Avg merge
1d 3h
Merged PRs (30d)
194

Description

Similar to AsyncPipeline we could set up parallel component execution in Pipeline using a thread pool executor.

It could serve as a good performance boost for any users using the Pipeline class.


👋 Hello there! This issue will be handled internally and isn't open for external contributions. If you'd like to contribute, please take a look at issues labeled contributions welcome or good first issue. We'd really appreciate it!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue refers to Pipeline, AsyncPipeline, and a thread pool executor, but it names no files, tests, or entry points. It states that the work will be handled internally and is not open for external contributions, so there is no newcomer-ready completion path in the payload.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
10/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.