cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Currently experiencing large load times

pleblond
New Contributor

we currently have a pipe that queries salesforce via SOSL for search results. Using a normal *non ultra) pipeline task with a bearer token. When are using json to recieve and parse information then returning (non mapped) json to the requester.

This whole process takes 10 seconds which in production is an eternity.
Sample request:
{
โ€œcontentโ€:
{
โ€œlanguageโ€:โ€œen_USโ€,
โ€œregionโ€:โ€œNorth_America__cโ€,
โ€œcustomer-typeโ€:โ€œCustomer__cโ€,
โ€œkeywordโ€:โ€œtheโ€,
โ€œrequiredFieldsโ€:โ€œtest1,test2โ€
}
}

Sample result:

[
{
โ€œTitleโ€: โ€œtest1โ€,
โ€œID__cโ€: 84
},
{
โ€œTitleโ€: โ€œtest2โ€,
โ€œID__cโ€: 75
},
{
โ€œTitleโ€: โ€œtest3โ€,
โ€œID__cโ€: 132
}
]

The results are very small so is the packet being sent in. Its also worth noting the pipe has a router determining a URL parameter for path that has 9 options.

2 REPLIES 2

mbowen
Employee
Employee

Hi Paul:

I would suggest logging a support ticket for this. These kind of issues often require some research. Being able to inspect pipeline execution and logs super helpful. 10 seconds does seem less responsive for this query, but again, not familiar with size of data, etc. Actually, the pipeline execution would help identify where most of the time was spent.

tlikarish
Employee
Employee

Can you break down how youโ€™re measuring the 10 seconds?

Mind sharing a breakdown of the pipeline execution according to the Dashboard? If you donโ€™t want to share publicly, you can reach out to support and they can share the results confidentially with us.

If you click on the pipeline status in the dashboard

Screen Shot 2021-07-12 at 2.00.58 PM

youโ€™ll get a break down of the pipelineโ€™s execution, which may give some hints at where the pipeline is spending time.

A general rule of thumb:

  1. If there is a big blue bar, then one of the snaps is taking a long time to process documents.
  2. If there are big green bars, snaps are waiting for input and something is taking a long time to load documents.
  3. If there are big purple bars, then one of the snaps is taking a long time to write out documents.

Screen Shot 2021-07-12 at 1.57.26 PM