CUSIP Global Services Client Caching

The CUSIP Global Services Client has a pluggable cache-neutral architecture which can dramatically improve performance by avoiding repeated calls for the same data.

The Results

Below we have a table which contains a side-by-side comparison between the performance of the CUSIP Global Services Client without caching and with caching enabled. For caching, we used Infinispan, configured as a local cache.

Note that in each example we make the call for currency data 25 times.

idHubQueryBuilder
    .currencies()
    .doGet()
NameValue without caching (ms)Value with caching (ms)
LastValue778.01.0
Avg494.4839.76
Total12362.0994.0