12-11-2012 12:51 PM
This question is regarding Aptimize for SharePoint version 2.6 and earlier. We have Aptimize installed on each webserver and as designed, it marks each object in memory cache to be rechecked after 60 seconds. So as long as you get at least one hit a minute, Aptimize will request every object in cache at the same instant, once per minute, per webserver. Our webservers handled this default behavior when cache had 10 objects, when it had 100 objects, but are having problems as we near (and pass) 1,000 objects.
As cache nears 1,000 objects with a number of webservers in a load balanced pool, at any moment one of those servers could be trying to serve 1,000 simulatneous requests in addition to the usual load. Now you can use Aptimize's resourceRecheckInterval setting to split those 1,000+ objects via file extension or folder based exclusions, but it is only a temporary solution for sites with ever-changing content and content structures.
A potential solution would be to deploy Aptimize 2.6 with the updated resourceRecheckInterval settings as an off-box load-balanced pool instead of on each webserver. Has anyone had similar experience or cache behavior for their implementation? If so, how did you work around it?
12-12-2012 02:46 PM
Hi Jon -
That's not quite how the resource recheck works.
Resources are only rechecked, only when a page request containing those resources is received.
So in your case, if there are 1000 objects in cache, a new page request may come in, which only has 10 of those resources, only those 10 will be refetched IF their recheckInterval has expired.
12-13-2012 06:55 AM
Hi Naveen, thanks for clarifying. However, we still see the same outcome as our pages were in dire need of Aptimize - containing ~200 object calls pre-Aptimize processing. So it only takes a few page requests per minute (default resourceRecheckInterval) to result in hundreds (if not over 1,000) of objects being requested at the next resourceRecheckInterval.
Wonder if anyone has had experience tuning Aptimize to effeciently improve a site with a object profile like ours.
12-13-2012 10:12 AM
Hi Jon - I will defer to the rest of the users on this forum, but I am sure it's possible with some exclusion rules (may be to excluded some pages that are not too critical) to tune the product to your specific requirements.