PIPoints caching

Discussion created by RJKSolutions on Feb 19, 2010
Latest reply on Feb 19, 2010 by thosea

After the chat about GetPoints in this thread, Charles mentioned the following:


"The PISDK keeps a local cache of PIPoint objects.  Any call after the first will be much faster when returning the same PIPoint objects."


Just for knowledge building, is the PIPoint cache per application, user, machine...?  I suspect it is per application so is there any reason why a machine level cache couldn't be implemented?  Does the cache remain for the lifecycle of the application only?


Or further still, will a PI server ever temporarily cache PIPoint searches?  Just thinking if you rollout an application to 100 users, within the application is a fixed PIPoint search, the PIPoints will be cached locally on 100 machines.  If the PIPoint searches were cached on the server then the 1st user would get a 'delay' but the other 99 benefit from the cached search (a search would only be cached for a period of time).  I can imagine the potential resource issue on the server...