DSS Rest API and Azure
Hi, client mine wrote:
"We are experiencing performanceproblems in our testenvironment and therefore one of our application developers went through your document on REST-API and found a section with a recommendation NOT to use this in combination with Azure. We have plans to migrate our application using Azure during 2023."
Is this correct, is DSS REST API and Azure not a recommended combination?
Best Answer
-
Thanks for reaching out to us.
It is not a bug in the SDK. It is a limitation when using the SDK on Azure. You may contact the product team to enhance the SDK to run properly on Azure.
If the application runs less than 240 seconds, it should not be a problem.
Otherwise, you can try the following code to disable keep-alive.
public void ConnectToServer(string dssUserName, string dssUserPassword)
{
ExtractionsContext.SetRequestHeaders(() =>
{
return new Dictionary<string, string>{
{ "Connection", "close" }
};
});
extractionsContext = new ExtractionsContext(dssUri, dssUserName, dssUserPassword);
}The code sets the value of the "Connection" request header to "close" before creating the ExtractionsContext. I found this solution on StackOverflow.
I hope that this information is of help.
1
Answers
-
Further,
”Don’t use with Azure” comment in the document called “DataScope Select Best Practices & Fair Usage Policy” (from April 2023) here:
From the document:
"Do Not Use the SDK to Host Applications in Azure
We do not recommend using the DataScope Select SDK for applications hosted in Azure. Azure is not
tested with the DataScope Select SDK and therefore, not directly supported.The SDK uses the
regular.NET Framework class HttpClient with keep-alive enabled. The Azure Load Balancer may reuse
existing connection after some period of inactivity (240 seconds by default) and ignores the keep-alive
settings of an open connection. As a result, SDK clients who host their applications in Azure may
experience intermittent disconnects."
Client's questions regarding this are:
- Is this something that you plan to fix during 2023, so that the SDK will be supported for applications hosted in Azure?
- If we only use the connections for less than 240 seconds, can we ignore this issue? Our connections are usually only used for 10-20 seconds.
0 -
Hi @Jirapongse
Jupiter (Refinitiv Access) client is planning to use Azure for DSS API, please confirm if its recommended or not.
Also pls confirm the best authentication method to use when calling DSS from Azure
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛