How frequently to refresh two data sources for optimal user experience?
February 4, 2013 1:29 PM Subscribe
I'm finishing up a web reporting solution and am configuring the data-retrieval and data-caching parameters. There are three time variables involved - how often to retrieve new data, how long to cache that data on the server, and how long to tell clients to cache the data for.
Help me figure out the optimal values for caching based on a set retrieval frequency.
Data caching in this tool works like this: "Each data result will be cached in memory on the server or client after the first time is Retrieved. Cached results will remain in memory and be used instead of querying the data sources for fresh results until the specified duration has expired.
There are two caching variables - "server data cache" and "client data cache." The tool is silverlight based.
If I fix the data-retrieval frequency to hourly - every hour on the hour, what values should I set for server & client data cache to? I'm hoping there is a clever solution for "set them to x and y and then your users are guaranteed up-to-data data z% of the time." If there is, how do I compute the solution for different values of data-retrieval frequency?
Or should I just forget this and set them both to cache for 60 minutes?
posted by ish__ to computers & internet (3 answers total)
posted by gregjones at 1:57 PM on February 4