List::push using significant more time than List:pull

List::push using significant more time than List:pull

_aj
Contributor Contributor
132 Views
2 Replies
Message 1 of 3

List::push using significant more time than List:pull

_aj
Contributor
Contributor

Any ideas why List:push is using significantly more time than List:pull? 

 

The list is for all my available processors. They get pushed to list when the FlowItem exits the processor. They get pulled from the list when a FlowItem's next step is at that processor.

 

_aj_0-1749051727362.png

 

0 Likes
Accepted solutions (1)
133 Views
2 Replies
Replies (2)
Message 2 of 3

moehlmann_fe
Enthusiast
Enthusiast
Accepted solution

My guess is that there are a large number of pending backorders on the list that get sorted by a queue strategy. This sorting operation to determine the order in which the requests get to pull the pushed value is counted as part of the push in the performance profiler.

 

If that is the case, one thing you can try to improve the speed is to partition the list. If only the requests for a specific partition/processor need to be sorted than that should speed the push.

0 Likes
Message 3 of 3

_aj
Contributor
Contributor

Thanks, your guess is spot on.

0 Likes