Questions around Trams Program Performance while API is Under Load

24 views
Skip to first unread message

Eli Richart

unread,
Jul 15, 2019, 1:31:40 PM7/15/19
to TramsAPI Beta

Hello Dan,

 

I wanted to ask you about how the Trams AppServer API might impact performance at times when that API is busy. 

 

We have a customer we are pulling all recently updated Invoice or Payment data from the Trams AppServer API several times a day.  I have found that we are averaging less than 2 seconds per invoice when we are getting this data.  We are looking at requesting that the API return a much larger data set of several months of data.  However, at ~2 seconds per record it will take many hours to get all the needed records. 

 

What impact is there on the user experience for customers using Trams while the API connection is very busy?  Are there any limits on the number of requests that can be made against the API over a span of time?  Along with that is there a time limit for how long a session ID is valid?

 

Thanks, Eli

Dan Palley

unread,
Jul 15, 2019, 1:55:49 PM7/15/19
to TramsAPI Beta
Hi Eli,

Do you really need to pull the entire invoice?  If you can limit to the fields in the invoice/booking query, then that should be faster.

There's really no hard limit on the number of requests.  The system will queue up requests that come in if the server is busy.

By default, the session will time out after 10 minutes of inactivity.

Dan
Reply all
Reply to author
Forward
0 new messages