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 APIs /
  • RFA /
avatar image
Question by vnan77 · Jul 09, 2020 at 07:43 PM · RFAJ

Duplicate subscription in RFA

If I create two sessions within RFA application, and subscribe to same instrument on both sessions, does RFA open two streams of data from ADS, or will it cache the instrument locally within session or connection layer?

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 · Jul 10, 2020 at 09:21 AM

@vnan77

It depends on configurations.

For example, the application has two sessions (session1 and session2). In the configurations, both sessions use the same connection (connections) to connect to the same ADS. The behavior depends on the shareConnections configuration under the session. The default value is false.

With the default value of shareConnections (False), each session will have its own connection. Therefore, when requesting the same item, each session will send its own request to the server on its own connection. In total, RFA will send two requests to ADS; one request per connection.

However, if the value of ShareConnections is True, both sessions will share the same connection. When requesting the same item, RFA will send only one request to ADS, and then it will fanout the retrieved data to the sessions.

For more information, please refer to section 14.5.7 Connection Sharing in the RFA Java Developers Guide.




1594372000001.png (38.8 KiB)
Comment
veerapath.rungruengrayubkul

People who like this

1 Show 1 · 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.

avatar image
vnan77 · Jul 10, 2020 at 01:50 PM 0
Share

Thanks @jirapongse.phuriphanvichai.

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 >
7 People are following this question.

Related Questions

IndexOutOfBoundsException publishing a large RFA SymbolList

resubscribing requirements (retry) for unavailable item

Issue using service groups to return realtime or delayed data depending on user access

Question regarding Rest services

What is the best way to decode the OMMMsgs received (e.g. to get prices) when subscribing to a RIC using RFA?

  • 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
  • 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