Overview
This node, named Parallizer, is designed to parallelize the execution of HTTP requests within a workflow. It takes a JSON array of request configurations as input and executes all the HTTP requests concurrently for each input item, collecting their results. This is useful for scenarios where multiple API calls need to be made simultaneously to improve efficiency and reduce overall execution time, such as fetching data from multiple endpoints or services in parallel.
Use Case Examples
- Fetching data from multiple APIs at once to aggregate results.
- Sending multiple POST requests concurrently to different endpoints.
Properties
| Name | Meaning |
|---|---|
| Requests | A JSON array of HTTP request configurations, each containing URL, method, and body to be sent in the request. |
Output
JSON
results- An array containing the results of each HTTP request executed in parallel for each input item.
Dependencies
- Requires HTTP request capability with URL, method, and body parameters.
Troubleshooting
- Ensure the 'Requests' JSON is correctly formatted and contains valid URL, method, and body fields for each request.
- If any HTTP request fails, the node might throw an error or return incomplete results; verify endpoint availability and request parameters.
- Large numbers of parallel requests may lead to rate limiting or performance issues depending on the target servers.