[#604] performance API

Migrated from Redmine #604 | Author: Olivier G
Status: New | Priority: Normal | Created: 2020-11-11


Hello,

I am using API to get some datas and actually it takes 7 to 8 seconds to have the results.
There is not a lot of datas to get so i was wondering why it takes so much time.

I am using those function :

getUnitList();
getLocationsList();
getBookings($bookingfilters);
getWorkCalendar ($year, $month, $WorkCalendarfilters);
getWorkDaysInfo($today, $sixmonths, $unit_group_id);

I am connecting from Taiwan.

First i connected to user-api.simplybook.me, but it took almost 15 to 17 seconds. I replace it by user-api.simplybook.asia/v2 and the time goes down to 7-8 seconds which is better but still quiet long.

It is possible to have a better response time ?

Thank you.

Regards

Redmine Admin wrote:

hi, https://user-api.simplybook.asia/ endpoint is right choice. This server located in Singapore and connection time should be less then 1 second.
If you are behind The great firewall of China then nothing can be done from our side to increase speed unfortunately.

Redmine Admin wrote:

please provide us more information, which method call took 7 sec and how did you call it?