sslhep/servicex-did-finder

Sponsored OSS

By University of Chicago

Updated about 10 hours ago

For a given RUCIO DID and client site finds optimal access paths.

Buildkit cache
Image
Integration & delivery
Data science
Databases & storage
0

500K+

sslhep/servicex-did-finder repository overview

ServiceX-DID-finder

CI/CD codecov

For a given RUCIO DID and client site finds optimal access paths.

Overview

This service is intended to run as part of a ServiceX deployment. In that role it listens for Dataset Lookup requests on the did_requests RabbitMQ queue. Upon receipt, it asks Rucio to resolve the dataset and return the files that make it up. These files are bundled up into 1,000 file chunks and sent to Rucio's replica client to find available copies on the grid. As these responses come back, the server selects a replica and passes it back to the ServiceX app to request transformation.

Build Image

Build the docker image as:

% docker build -t  sslhep/servicex-did-finder .

The latest image is also available on dockerhub

Running

The service requires two volumes to be mounted in order to operate:

  1. A valid x509 proxy certificate in /etc/grid-security-ro. There is a script that usually gets run to copy the cert to a correctly permissioned directory.
  2. Rucio config file in /opt/rucio/etc/

Command Line Arguments

The server accepts the following arguments when it is launched

ArgumentDescriptionDefault
--rabbit-uriA valid URI to the RabbitMQ BrokerNone
--siteSite to pass in to Rucio as a client_location propertyNone
--prefixA string to prepend on resulting file names. Useful to add xCache to URLs' '
'--threads`Number of threads to launch for retrieving replicas from Rucio10
Rucio Config

The service requires a custom rucio.cfg which contains the CERN account name associated with the provided Certs. A template .cfg file is provided in this repo's config directory. Ordinarily this would be constructed by the helm chart.

Tag summary

Content type

Image

Digest

sha256:5a0fe4898

Size

566.4 MB

Last updated

about 10 hours ago

docker pull sslhep/servicex-did-finder:1526-add-datasets-to-dashboard

This week's pulls

Pulls:

1,458

Last week