Slow connection to the API (call)

When you experience a slow connection to the API (call) this article will help you find the common causes and the solutions to it. 

  1. Exceeding the limits of call per second
  2. Pulling large amounts of data

 

1. Exceeding the limits of call per second

Cause
There are too many API calls per second performed at the same time. 
 
How to find out
You can make 150 calls per second, if this is exceeded a delay of half a second will occur.
 
Solution
Use less calls also some operations are available to be used for bigger batches of data. When there is the need to insert data for many employees for example.
 

2. Pulling large amounts of data

Cause
Depending on the amount of data pulled and transferred, the time of the call may slow down. This could happen when data is fetched for many employees or for run output for large companies. 
This can be related with processing times on the server or due to a large response XML (many kilobytes or megabytes)
 
How to find out
Are you using large amount of data?
 
Solution
-
 
 
Volgen

Opmerkingen

Mogelijk gemaakt door Zendesk