EMA C++ Performace Tools Guide : 7 Performance Measurement Scenarios : 7.3 Non-Interactive Provider to Consumer, Through LSEG Real-Time Distribution System
 
7.3 Non-Interactive Provider to Consumer, Through LSEG Real-Time Distribution System
You can measure non-interactive providers on LSEG Real-Time Distribution System by connecting the following components, as described below and displayed in the following picture:
Connect EmaCppConsPerf to an LSEG Real-Time Advanced Distribution Server.
Connect the LSEG Real-Time Advanced Distribution Server with an LSEG Real-Time Advanced Distribution Hub. You can do so by using the RRCP backbone.
Connect EmaCppNIProvPerf to the LSEG Real-Time Advanced Distribution Hub. Ensure that the LSEG Real-Time Advanced Distribution Hub has caching enabled, because it acts as the cache of record in this scenario.
 
Figure 17. EmaCppNIProvPerf to Consumer on the LSEG Real-Time Distribution System
EmaCppConsPerf may receive a Closed status if it requests an item not yet provided by EmaCppNIProvPerf to the LSEG Real-Time Advanced Distribution Hub cache. To ensure the test completes successfully, you must do either one of the following:
1. Preload the LSEG Real-Time Advanced Distribution Hub cache. EmaCppNIProvPerf must have provided refreshes for all of its items to the LSEG Real-Time Advanced Distribution Hub before EmaCppConsPerf connects to the LSEG Real-Time Advanced Distribution Server.
2. Configure the LSEG Real-Time Advanced Distribution Hub to provide temporary refreshes in place of the uncached items. EmaCppConsPerf knows to allow these images, and does not count them towards the image retrieval time, due to their Suspect data state.
For more details on this configuration, refer to the LSEG Real-Time Advanced Distribution Hub Software Installation Manual.
To run a basic performance measurement:
1. Configure Perf_NIP_Channel_1, change <Host value="adhhost"/>, <Port value="14003"/>.
2. Configure Perf_Channel_1, change <Host value="adshost"/>, <Port value="14002">.
3. Configure Perf_Directory_1, change <Service><Name value="TEST_FEED"/>.
4. Run EmaCppNIProvPerf and EmaCppConsPerf with the following command-line options. These options assume the provided service is TEST_FEED. Modify the example values as necessary.
 
 
EmaCppNIProvPerf -serviceName TEST_FEED -providerName Perf_NIProvider_1
 
EmaCppConsPerf -serviceName TEST_FEED
-consumerName Perf_Consumer_1