For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
24.4k 53 17 14

DSS Webinar Dec 7: Is it a better structure to complete many individual requests or one large ad-hoc request with say 3 limit of 3 fields?

Is it a better structure to complete many individual requests or one large ad-hoc request with say 3 limit of 3 fields?

dss-rest-apidatascope-selectdss
icon clock
10 |1500

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

1 Answer

· Write an Answer
Upvotes
Accepted
13.7k 26 8 12

It is better to make a single request.

To optimize performance there are several things you can do:

  • Make a single request instead of many individual ones.
  • Limit the number of data fields to what you really need.
  • Depending on the data fields you are requesting, make separate requests for different types of data, like asset classes. This is because some data fields are meaningless for specific asset classes, but attempting to retrieve them still uses resources.

In the developer community, under the Documentation tab for the DSS REST API, there is a tuning document that gives you more details to help you optimize your applications.

icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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