API Slow Response

Please report Bugs and Problems here

Moderator: FSAirlines Staff

Locked
TheBingsta
Ticket Agent
Posts: 8
Joined: Wed Aug 25, 2021 3:14 pm
Location: EGNX
Contact:

API Slow Response

Post by TheBingsta » Thu Aug 26, 2021 6:16 pm

I have noticed the API is given a slow response in version 2.
We use around 5 requests per page to allow for a functioning pilot dashboard.
Regards,
Eddie B / Virgin XL
Virgin XL Web Developer
https://virginxl.uk/

Image

User avatar
joefremont
FSAirlines Developer
Posts: 3694
Joined: Tue May 16, 2006 5:46 am
Location: KSFO

Re: API Slow Response

Post by joefremont » Thu Aug 26, 2021 9:30 pm

What API's are you calling? Given that VXL is a very big airline it may be reading lots of data.
Image
I've sworn an oath of solitude until the pestilence is purged from the lands.

TheBingsta
Ticket Agent
Posts: 8
Joined: Wed Aug 25, 2021 3:14 pm
Location: EGNX
Contact:

Re: API Slow Response

Post by TheBingsta » Thu Aug 26, 2021 9:59 pm

We call the following API calls on our slowest page
  • - getPilotStatus
  • - getAircraftData
  • - getAircraftDBData
  • - getMetar
Regards,
Eddie B / Virgin XL
Virgin XL Web Developer
https://virginxl.uk/

Image

User avatar
joefremont
FSAirlines Developer
Posts: 3694
Joined: Tue May 16, 2006 5:46 am
Location: KSFO

Re: API Slow Response

Post by joefremont » Fri Aug 27, 2021 12:52 am

Just as a note, I know many of these calls are not fast, especially if there is a lot of data, that why I added a rate limit to prevent too many calls on server.
Image
I've sworn an oath of solitude until the pestilence is purged from the lands.

Locked