Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TREP Infrastructure /
avatar image
Question by tbaker · Mar 24, 2017 at 11:21 AM · ADHcacheni provider

How do I get ADH to keep the last image in cache when a service is disconnected

I'm currently seeing ADH dropping items from the cache as soon as the NI provider disconnects. Has anyone got the ADH to preserve the last image in the cache when a provider is disconnected? Do you know what configuration I might be missing?

The relevant config is below. I've setup the service to autoExpire items after a day and have a cache size of 1000 items for REPUB. I'm only publishing a single RIC at the moment which I can subscribe to whilst the Provider is active. I get 'F10: Not In Cache' as soon as the provider disconnects.

*adh*REPUB*autoExpiryItemBaseline : update

*adh*REPUB*autoExpiryItemTimeUnits : days

*adh*REPUB*autoExpiryItemTimeout : 1

*adh*REPUB*autoExpiryMaxListSize : 0

*adh*hashTableSize : 300000

*REPUB*maxCache : 1000

As soon as the NI provider disconnects I get this message:

<rmds.1.adh.sourceSSLDistribution.sslDispatcher.REPUB: Info: Fri Mar 24 14:58:30 2017> Server "REPUB" stopped for RSSL application "REPUB:2" from instance "****.15". The application terminated the session. <END>

ADS log of a consumer connecting when the NI provider is offline:

<rmds.1.ads: Info: Fri Mar 24 14:58:35 2017> Open Failure for (REPUB:TEST) by (****) at (*.*.*.216) using appId () Text:(F10: Not In Cache)<END>

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by jirapongse.phuriphanvichai · Mar 27, 2017 at 06:07 AM

I found leaveInactiveItemsInCache configuration in ADH. I have tried it and it works.

*adh*leaveInactiveItemsInCache : True

The consumer got the following status message when the NI Provider disconnected.

StatusMsg
    streamId="5"
    domain="MarketPrice Domain"
    state="Open / Suspect / None / 'Application Inactive'"
    name="IBM.N"
    serviceId="4811"
    serviceName="API_SHOGUN_NI"
StatusMsgEnd

The new consumer got the cache image with Open/Suspect.

RefreshMsg
    streamId="5"
    domain="MarketPrice Domain"
    Solicited
    RefreshComplete
    ClearCache
    state="Open / Suspect / None / 'Application Inactive'"
    itemGroup="00 01"
    qos="RealTime/TickByTick"
    name="IBM.N"
    nameType="1"
    serviceId="4811"
    serviceName="API_SHOGUN_NI"
    Payload dataType="FieldList"
        FieldList FieldListNum="0" DictionaryId="0"
            FieldEntry fid="6" name="TRDPRC_1" dataType="Real" value="1283"
        FieldListEnd


    PayloadEnd
RefreshMsgEnd

For more information, please refer to section 7.18.4.1 Group Outage Notification in the ADH Installation guide.


config.png (49.1 KiB)
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
6 People are following this question.

Related Questions

ADH NI Provider Cache List size

ADS just received the header but no body and the further request stalls.

Maximum size of summary data that will be cached

How to dump the item database for the publications made over the TREP platform?

If the convertMfeedDataToRWF​ parameter is used on an ADH are any failed conversions logged anywhere so they can be monitored?

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges