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.

1 Answer

Upvotes
Accepted
31.9k 38 11 19

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.