This repository contains all XCache resources ( docker container, docs, k8s deployment).
XCache is a service that provides caching of data accessed using xrootd protocol. It sits in between client and an upstream xrootd servers and can cache/prefetch full files or only blocks already requested. To use it to cache file that is at root://origin.org:1094/my_file.txt
simply prepend name of the caching server: root://caching_server.org:1094//root://origin.org:1094/my_file.txt
When deployed using kubernetes all relevant parameters are configured throught the container environment variables.
- Cache performance collection should start only after 5 cache clean ups in order to avoid startup effect.
- USA scale XCache simulation.
To make a tree of caching servers, we make all deployed servers report their metadata and status to a central Elasticsearch instance through a REST API of the federation server. The federation server serves filepaths based on the client location and file origin.