Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Plugin to Select Cache(s) to Use #1676

Open
2 of 7 tasks
aowen-uwmad opened this issue Oct 22, 2024 · 0 comments
Open
2 of 7 tasks

Enable Plugin to Select Cache(s) to Use #1676

aowen-uwmad opened this issue Oct 22, 2024 · 0 comments
Labels
enhancement New feature or request Facilitation A request from the RCF's plugin Issue affecting the file transfer plugin

Comments

@aowen-uwmad
Copy link
Contributor

Pelican Service:

  • Client
  • Plugin
  • Registry
  • Director
  • Origin
  • Cache
  • Other (please give the detail)

Is your feature request related to a problem? Please describe.

Being able to specify which cache is used for downloading the object is useful for testing the cache within the particular Pelican / HTCSS infrastructure the cache supports.

Further, for a site like CHTC with a cache in the same datacenter as the destination, preferring a particular cache can help minimize external network traffic for the datacenter.

Describe the solution you'd like

  1. Enable the plugin to accept a list of cache(s) that restricts the client to only download objects from said caches.

  2. Enable the plugin to accept a list of cache(s) that makes the client prefer to download objects from said caches.

Additional context

Item (1) seems straightforward.
Item (2) introduces the question of what the strength of the preference is. Ideally, if a preferred cache is overloaded (by some definition), it won't be used. Otherwise, the preferred cache is used. Exactly what scaler should be used in the weighting probably needs to be tested to identify a good default.

Ideally, items (1) and (2) are interoperable. Propose that list for (1) is the ultimate authority on what caches can be used. If a cache is listed for (2) that is not in the list for (1), then it won't be used. (Could consider doing data validation and throwing an error if there is an inconsistency.)

Coordination with HTCSS will be required for

A. The process of how the list(s) of cache(s) are passed to the plugin at the EP at the start of the job execution.

B. Whether a regular user can access this functionality, or if its configured by the AP/EP admin(s).

@aowen-uwmad aowen-uwmad added enhancement New feature or request Facilitation A request from the RCF's plugin Issue affecting the file transfer plugin labels Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Facilitation A request from the RCF's plugin Issue affecting the file transfer plugin
Projects
None yet
Development

No branches or pull requests

1 participant