Where is the cache from a REST API query is stored?
I developed a simple report using RTC REST API that retrieves a set of work items. Since the report is comprised of several work items, the best way to display the result set is to paginate the work items across several pages. However, after around 5 minutes navigating through the results, it seems that the cache with the result set is purged from the server. Is there a to control how long until cache is purged from the server? What is the default timeout for cache to be purged? Is this a CLM, WAS or IHS configuration?
Thanks,
-- Andre.
|
Accepted answer
You can view and modify most of the timeout settings of CCM in the Application Administration Advanced Properties page (/ccm/admin). I cannot find a timeout that appears to be related to your issue though. You can also have a look there - 5 minutes will be translated to 300 seconds or 300000 milliseconds if you are going to look for numbers.
BTW, what errors/message did you get so that you believed the cache was "purged"? Andre Gusmao selected this answer as the correct answer
Comments
sam detweiler
commented May 26 '14, 10:41 p.m.
Is it the query timeout? default 5 minutesĀ
Andre Gusmao
commented May 27 '14, 11:34 a.m.
Thanks Donald and Sam. Actually I did not go deep into the problem yet. I posted this question because a while ago I had a very similar issue when using HP Quality Center API, and after a lot of investigation the solution was to increase a cache expiration property. So I thought RTC could have a similar property to handle cache timeout.
sam detweiler
commented May 27 '14, 11:37 a.m.
far as I know, under the cover of the REST query is a normal query.. its all server side timing.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.