diff --git a/docs/services/frontend/_index.md b/docs/services/frontend/_index.md index 097fde932..20ace43cb 100644 --- a/docs/services/frontend/_index.md +++ b/docs/services/frontend/_index.md @@ -10,7 +10,28 @@ geekdocCollapseSection: true ## Abstract +The frontend service provides multiple HTTP endpoints to translate OCS, archiver and approvider requests into CS3 requests. ## Table of Contents {{< toc-tree >}} + +## OCS + +The OCS endpoint implements the open collaboration services API in a backwards compatible manner. + +### Sharing + +Aggregating share information is one of the most time consuming operations in OCIS. The service fetches a list of either received or created shares and has to stat every resource individually. While stats are fast, the default behavior scales linearly with the number of shares. + +To save network trips the sharing implementation can cache the stat requests with an in memory cache or in redis. It will shorten the response time by the network rountrip overhead at the cost of the API only eventually being updated. + +Setting `FRONTEND_OCS_RESOURCE_INFO_CACHE_TTL=60` would cache the stat info for 60 seconds. Increasing this value makes sense for large deployments with thousands of active users that keep the cache up to date. Low frequency usage scenarios should not expect a noticeable improvement. + +## Archiver + +The archiver endpoint provides bundled downloads of multiple files and folders. + +## Appprovider + +The appprovider endpoint is used to manage available apps that can be used to open different file types. \ No newline at end of file diff --git a/docs/services/sharing/_index.md b/docs/services/sharing/_index.md index be41c1be9..ecdc21f5f 100644 --- a/docs/services/sharing/_index.md +++ b/docs/services/sharing/_index.md @@ -9,7 +9,7 @@ geekdocCollapseSection: true ## Abstract -This service provides sharing functionality. +This service implements the CS3 [LinkAPI](https://cs3org.github.io/cs3apis/#cs3.sharing.link.v1beta1.LinkAPI) to manage public links as well as the [CollaborationAPI](https://cs3org.github.io/cs3apis/#cs3.sharing.collaboration.v1beta1.CollaborationAPI) to manage user and group shares. ## Table of Contents