Reference Data Loading

The strategy for reference data loading is to cache and share it.

The more stable the data, the more effective the cache. Once the data is cached, SAP Mobile Server can support a large number of users without additional load on the EIS. The challenge with reference data is size and finding the most efficient method for loading and updating the data.

Load via Pull

Configure SAP Mobile Platform components to pull data into the CDB from the EIS:

check

Partition data, if possible, within an MBO or object hierarchy.


check

Load partitions on demand to spread the load, increase parallelism, and reduce latency.


check

Use a separate cache group for each independent object hierarchy to allow each to load separately.


check

Use a scheduled policy only if the EIS updates data on a schedule; otherwise, stay with an on-demand cache group policy.


check

Use a large cache interval to amortize the load cost.


check

Use the "Immediately update the cache" cache policy if the reference MBOs use update or create operations.


yield

Consider DCN for large data volume if cache partition or separation into multiple cache groups is not applicable or ineffective. This avoids heavy refresh costs.


yield

use DCN if high data freshness is required.


yield

Targeted change notification (TCN), previously called server-Initiated synchronization (SIS) is challenging due to cache interval settings and require user activities to refresh for on-demand cache group policy. Change detection is impossible until the cache is refreshed.


stop

Do not use a zero cache interval.

Load via Push

Configure SAP Mobile Platform components and the EIS so that the EIS can push data changes to EIS:

check

Use parallel DCN streams for initial loading.


check

Use SAP Mobile Server clustering to scale up data loading.


check

Use a single queue in the EIS for each individual MBO or object graph to avoid data inconsistency during updates. You can relax this policy for initial loading, as each instance or graph is sent only once.


check

Use a notification MBO to indicate loading is complete.


check

Adjust change detection interval to satisfy any data freshness requirements.

Parallel Push

DCN requests are potentially processed in parallel by multiple threads, or SAP Mobile Server nodes in case of clustering. To avoid a race condition, serialize requests for a particular MBO or an MBO graph. That is, send a request only after completion of the previous one. This ordering must be guaranteed by the EIS initiating the push. SAP Mobile Server does not return completion notification to the EIS until the DCN request is fully processed.

Hybrid Load – Initial Pull and DCN Update


yield

Ensure that the end of the initial load and start of the DCN update is coordinated in the EIS to avoid missing updates.


check

Use parallel loading via multiple cache groups and partitions. Once the DCN update is enabled, there is always a single partition.