question

Upvotes
Accepted

Opendacs HTTP requests are slow , is there faster Restful API calls for opendacs ? What is the fastest way of getting entitlements based on PESET for any user ?

DACSopen-dacs
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.

Hello @vishakha.shailendra.singh

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS

1 Answer

· Write an Answer
Upvotes
Accepted
32.2k 40 11 20

Hello @vishakha.shailendra.singh,

There is no faster RESTful API calls for OpenDACS. In cases when the performance is not sufficient, or not desirable per design, the call is not made on every subscription request to check, rather a cache of entitlements is created, and maintained up-to-date, and checks go against the cached entitlements. The fastest way of getting entitlements is against a pre-populated and maintained cache of entitlements.

If you are considering/designing the caching mechanism, would like to suggest two articles that are helpful in understanding relevant OpenDACS concepts:

An Introduction to the DACS Entitlement System for OpenDACS Developers and

Open DACS and Open DACS Permission Server

Depending on your level of comfort with DACS, that will be implied, you may wish to additionally read An Introduction to the DACS Entitlement System for OpenDACS Developers

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.