Review LFN2PFN Algorithm
Rucio can algorithmically determine the placement of data at endpoints based on that endpoint's storage prefix (e.g., /archive/frames
) and the file name. This works particularly well when files have a strict naming convention, as they do for frame files.
An implementation of such an algorithm can be found in https://git.ligo.org/james-clark/gwrucio/blob/master/gwrucio/lfn2pfn.py.
The design and details of this algorithm should be reviewed.