"with-items" tasks work several times slower if the property "concurrency" is set

Bug #1879266 reported by Renat Akhmerov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
Confirmed
Medium
Renat Akhmerov

Bug Description

Consider the following workflow:

with_items_2000:
  tasks:
    task1:
      with-items: i in <% range(0, 2000) %>
      action: std.echo output=<% $.i %>
      concurrency: 100

The execution time of this workflow on MacBook Pro on one Mistral engine is about 9 min 52 sec. However, if we remove "concurrency: 100" the execution time is about 2 min 16 sec, so it's about 5 times faster.

Theoretically, if we don't use multiple engines that compete on DB objects the execution time in both cases should be similar.

Changed in mistral:
milestone: none → victoria-1
status: New → Confirmed
Changed in mistral:
assignee: nobody → Renat Akhmerov (rakhmerov)
importance: Undecided → Medium
Changed in mistral:
milestone: victoria-1 → wallaby-1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.