Understand the role of cache group policies and the effect of cache refresh.
Unwired Platform supports four cache group policies, three of which are relevant to loading data into the cache. The Online cache group policy is used only by workflow applications that require access to non-cached data:
- Scheduled and On-Demand policies are based on data retrieval APIs exposed by the EIS.
- DCN utilizes notification messages from the EIS that pushes both initial data and changes to the CDB.
The cache group policy for a particular cache group depends largely on the characteristics of the data contained within. In some cases, you can choose multiple policies. In general, if the EIS can push and data inconsistency can be tolerated, DCN is the appropriate choice.
The following flow chart attempts to capture the logic in choosing an appropriate cache group policy. However, use this as a reference only. Actual requirments vary due to many factors, and you should test your cache groups in a realistic test environment to understand timing, data flow cost, EIS load and user experience.