ADH NI Provider Cache List size

How do I set the cache list size for a new NI provider service? I have configured a new service in ADH called REPUB. When I send data using the NIProvider example from RFAJ I see the following error message from the ADH:
<rmds.1.adh.sourceSSLDistribution.sslDispatcher.REPUB: Error: Fri Mar 24 10:05:16 2017> Failed to start server "REPUB" for the RSSL application "REPUB". Server start-up failed because: The cache list size for the application is set to 0, which is illegal. Make sure that the application is configured correctly. <END>
I used the tconfig tool to create the settings and it's not clear which parameter I need to change to set the cache size list. Also, do I have to tune any other options in ADH? We haven't cached any other service in the ADH yet as we've been using RTIC as the main cache until now.
Best Answer
-
Hello @tbaker. Basically, this message means the ADH configuration does not set the maxCache value for the service REPUB. The ADH needs to know the size of cache list from the maxCache parameter. You need to specify REPUB's maxCache to the value greater than 0.
To specify the maxCache for a non-interactive service, the following configuration should be used instead.
{your hostname}*adh**REPUB*maxCache : {value > 0}
Example:
apis11*adh**REPUB*maxCache: 5000
Also, as this is a non-interactive service, the cacheType should be “sourceDriven”.*REPUB*cacheLocation : ssl
*REPUB*cacheType : sourceDriven0
Answers
-
Hi @tbaker,
This forum is dedicated to development questions related to
the TREP infrastructure. Your question is a pure TREP configuration question and
would probably be better answered by the TREP support team.However, as we recently created a tutorial set for building Non Interactive Provider applications with EMA Java we may be in a good position to help you a bit. This tutorial set includes a TREP Configuration for NI Providers tutorial that explains how to configure an existing TREP for a new RSSL NI Provider and its
related service. I recommend its reading that will probably help you. By experience I would say that default value for the maxCache
parameter is 500000. The value proposed by Wasin (above) should also be fine. Here is an extract of my TREP config file for the provider
I use:field16*adh**NI_PUB*maxCache : 500000
I also recommend you the reading of the whole NI Provider tutorial set. Indeed, if you are building a new NI Provider
application, it would be better and also easier to use the latest API (EMA Java
in your case). EMA Java offers better performances and that is also easier to
use and to maintain than RFA Java.0 -
Thanks Olivier, I'll check those documents now.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 249 ETA
- 554 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 643 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛