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 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
23k 22 9 14

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea