diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-01-08 16:04:02 +0100 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-01-08 16:04:02 +0100 |
commit | 40cbf9be39f507e69e4a0b31b8f6ee5347a3c1a9 (patch) | |
tree | a09a003964707189b93f0b72a012893f7e189aa6 /kubernetes/aai/components/aai-resources/values.yaml | |
parent | 6aa05ae0c69a6b22d3c4de6cf50e45bc0c9742d9 (diff) |
[AAI] Make janusgraph caching configurable
- add optional config block to janusgraph-realtime.properties
Issue-ID: AAI-3721
Change-Id: Ifc19c5e3c134289092150d3c95f95ab6a2f20b82
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'kubernetes/aai/components/aai-resources/values.yaml')
-rw-r--r-- | kubernetes/aai/components/aai-resources/values.yaml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/kubernetes/aai/components/aai-resources/values.yaml b/kubernetes/aai/components/aai-resources/values.yaml index 6bcc0f85a0..ba0897eeca 100644 --- a/kubernetes/aai/components/aai-resources/values.yaml +++ b/kubernetes/aai/components/aai-resources/values.yaml @@ -154,6 +154,18 @@ config: # to the user in keycloak multiTenancy: enabled: true + janusgraph: + caching: + # enable when running read-heavy workloads + # modifications to graph done by this service/janusgraph instance will immediately invalidate the cache + # modifications to graph done by other services (traversal) will only be visible + # after time specified in db-cache-time + enabled: false + # Documentation: https://docs.janusgraph.org/operations/cache/#database-level-caching + dbCacheTime: 180000 # in milliseconds + dbCacheSize: 0.1 # percentage (expressed as a decimal between 0 and 1) of the total heap space available to the JVM running + dbCacheCleanWait: 20 # in milliseconds + # Specifies crud related operation timeouts and overrides crud: @@ -259,6 +271,13 @@ tracing: ignorePatterns: - /aai/util.* +endpoints: + enabled: true + health: + enabled: true + info: + enabled: true + metrics: serviceMonitor: enabled: false |