Replies: 3 comments
-
If I am not mistaken, there is an agent which syncs some configuration between Rucio and DIRAC. Why not putting this almost static list in the CS ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Maybe try (inspiration from) https://github.com/DIRACGrid/COMDIRAC/blob/integration/src/COMDIRAC/Interfaces/Utilities/DConfigCache.py |
Beta Was this translation helpful? Give feedback.
0 replies
-
I believe that this could be closed. We do not have anyway more info to supply. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a question relative to cache. Here is the issue : Every time a
RucioFileCatalogClient
is instantiated it needs to get a list of valid scopes from Rucio : https://github.com/DIRACGrid/DIRAC/blob/integration/src/DIRAC/Resources/Catalog/RucioFileCatalogClient.py#L129 . It leads to a few 100 ms up to 1s of latency depending on RTT. This list of scopes is something almost static and can be cached. For agents or servicesDIRAC.Core.Utilities.DictCache
is something that can be used, but for any CLI method calling the file catalog it won't work since the cache is not persistent between two calls.I have a poor man solution based on pickles, but pickles is evil... I was wondering if there's any possibility to have a persistent cache using DIRAC ?
Cedric
Beta Was this translation helpful? Give feedback.
All reactions