[#1487] getCartesianStartTimeMatrix slow response

Migrated from Redmine #1487 | Author: Jason Chiarella
Status: Feedback | Priority: High, I’m very impatient | Created: 2025-11-06


we are getting an average of 15s response times from both the getStartTimeMatrix + getCartesianStartTimeMatrix functions in the Simplybook API. These requests only return about 14-16 KB of data. Why is the response time so slow?

We have seen as high as 30s+ response times at worst. This time does not include any processing on our side; it is purely the time it takes from sending a request to the API to when we receive a response. Here is an example payload we are sending to our account enrollmentphoenix:

{method=getCartesianStartTimeMatrix, id=ba19d8bc-05a1-4594-910f-d4400caad642, jsonrpc=2.0, params=[2025-11-07, 2025-11-20, 1, [18, 20, 21, 22], 1]}

This request returns about ~8 KB of data and takes 10-15s.

This is an example payload that returns a 504 Gateway Timeout from your server:

{method=getCartesianStartTimeMatrix, id=0cdfe925-2446-4c4e-85e8-fbce2c56e17f, jsonrpc=2.0, params=[2025-11-07, 2025-11-20, 1, [6, 7, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27], 1]}

If this request were to successfully complete, it would return ~100 KB of data.

Dmytro Bondarev wrote:

Hi, could you please provide your company url?
We would suggest to use cache and request dates that you need for providers that you need.
But 15s is still very long, so please provide your url for investigation.

Jason Chiarella wrote:

here is the company url:

Dmytro Bondarev wrote:

Hi, could you please provide your http request?

Jason Chiarella wrote:

Here is a full request including headers and the url. Other example request bodies are included in my original post. This request took about 20s to complete:

Method: POST
URL: https://user-api.simplybook.us
Headers: [Content-Type:“application/json”, X-Company-Login:“enrollmentphoenix”, X-Token:“fecfa52c8539b9697b8a06d05d309ad825bdd44976643d3d4ecbe7XXXXXXX”]
Body: {jsonrpc=2.0, params=[2025-11-19, 2025-12-10, 1, [20, 21, 22, 23, 24, 10, 19], 1], method=getCartesianStartTimeMatrix, id=a75807d3-08e2-4f46-b95b-bbe21332f03a}

Dmytro Bondarev wrote:

Hi, made a request:
Response code: 200 (OK); Time: 816ms (816 ms); Content length: 8885 bytes (8.88 kB)