Files
opencloud/services/storage-system
Andre Duffeck be569b7c59 [full-ci] More cache cleanup (#6134)
* Make env var names consistent with the others

* Remove unused OCS cache

* Use the same cache database for shared caches

* Bump reva
2023-04-25 15:46:59 +02:00
..
2023-04-25 15:46:59 +02:00
2022-06-27 14:05:36 +02:00
2023-04-24 13:55:10 +02:00

Storage-System

Purpose and description to be added

Caching

The storage-system service caches file metadata via the configured store in STORAGE_SYSTEM_CACHE_STORE. Possible stores are:

  • memory: Basic in-memory store and the default.
  • redis: Stores metadata in a configured Redis cluster.
  • redis-sentinel: Stores metadata in a configured Redis Sentinel cluster.
  • etcd: Stores metadata in a configured etcd cluster.
  • nats-js: Stores metadata using the key-value-store feature of nats jetstream
  • noop: Stores nothing. Useful for testing. Not recommended in production environments.
  1. Note that in-memory stores are by nature not reboot-persistent.
  2. Though usually not necessary, a database name can be configured for event stores if the event store supports this. Generally not applicable for stores of type in-memory, redis and redis-sentinel. These settings are blank by default which means that the standard settings of the configured store apply.
  3. The storage-system service can be scaled if not using in-memory stores and the stores are configured identically over all instances.
  4. When using redis-sentinel, the Redis master to use is configured via STORAGE_SYSTEM_CACHE_NODES in the form of <sentinel-host>:<sentinel-port>/<redis-master> like 10.10.0.200:26379/mymaster.