On Dec 5, 2016, at 8:07 AM, stardata.info wrote: > But in pratical these are the options to set, how should be set for your > opinion? > > Adaptive cache > > Percentage of available memory for cache > > Minimum size > > Maximum size
Adaptive cache was a feature designed for OEM 4D applications. Say you have a 4D product that is used by say 100 different customers. You don’t know what server hardware each customer has. Some customers have 4GB machines, some have 8GB machines, some have 32GB machines. Some customers run only 4D Server on the machine, some also use the machine for file server operations. Some customers have 1GB 4D data files, some have 4GB data files, etc. You create new version of your 4D application and want to send it all 100 customers. What 4D data cache setting should you use? Literally every customer should have a different setting. Adaptive cache setting is for this situation. You want to give 4D some guidelines on how to use the memory on the server machine. If the above describes your 4D application situation then using Adaptive cache would be a good thing. If you have a single 4D application and it is deployed on a single machine, then Adaptive cache does not provide a big advantage for you. I would turn off Adaptive cache in this situation and just set the 4D data cache size based on how much RAM is in the server machine. All my 4D applications are deployed on a single machine that I have total control over. So I never use Adaptive cache. See my previous post for details on how to configure 4D’s data cache size. I’m don’t have experience on what are “good” settings for Adaptive cache since I never use it. Here’s a great question? What 4D developers out there are actually using the Adaptive cache setting for deployment of a 4D application to multiple customers? Any of you care to reply to Ferdinando’s question and give home some advice? Tim ******************************************** Tim Nevels Innovative Solutions 785-749-3444 [email protected] ******************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

