Scalability
Data Hub is scalable vertically. The flexibility is achieved by adding resources to support additional data pools on a single node.
No two instances of a Data Hub are ever exactly the same. Performance depends on multiple factors. There is the data models and transformations of a specific integration. There is also the hardware and configuration where it is deployed. Since every data transformation model uses different resources, test your installation in your own environment with various configurations. It helps you obtain baseline performance figures for scaling calculations that best represent your use case.
The following Data Hub scaling model employs completely independent pools for concurrent processing of data items. Completely independent pools are only possible where there are no dependencies between data items across the pools or instances.
Vertical Scaling
Data Hub can be scaled by creating additional named data pools in a single instance (single piece of hardware) for concurrent processing of data. Scaling may require more resources, such as additional processors or memory, to handle the increased concurrent processing load.
Data Segregation
Some means of separating the data items for sending to the different pools or nodes is required. Separating them is outside the scope of Data Hub but can be done at the source system or network side, possibly with some preprocessing of data. The data set can then be routed to the URL of the specific target REST end-point; in other words, a specific node or pool. There are typically two possible ways to split the data:
- In batches. For example, split 500K items into 5 batches of 100K items and send each batch to a different instance or pool for concurrent processing.
- By data type. For example, send all customer data items to one instance or pool, and all product data items to another.
As stated, there should be no dependencies between data items going to separate pools or separate instances. You cannot split single data items and process them separately. The individual data items (customer versus product, or from one batch to another) must be completely independent of each other. In this case and when data can be split this way, you can use one of the previously mentioned scaling options.
Initial Load versus Steady State
The initial load of data has different requirements than when the data is loaded and the system is in a steady state. During the initial load, you are processing large amounts of data at once. Once the initial data is loaded, the system is only processing data as required. For example when an order is placed in SAP Commerce Cloud, or a product record is updated in SAP ERP or other source systems. Batch processing of data is also possible under normal operation, but batch processing is still far less than the initial load. Take differing requirements into account when planning your system needs, both hardware and architecture.