Support multiple targets for a definition

Open
#35 0 comments 0 reactions 1 assignee View on GitHub

@datadavev is already working on this.

Since Feb 6, 2025.

Assessment

This issue has not been assessed yet.

Description

enhancement

Related to #6

Use Case: Multiple resolution services may be deployed to handle the same level of resolution. For example, there may be multiple instances of an ARK identifier resolver that handles the redirection based on matches to NAAN records. In this case, the higher level scheme resolver (currently N2T) would select between the multiple ARK identifier resolvers and redirect the client to the selected instance.

Requires:

  • Configuration change to support multiple targets. This can be through either multiple PidDefinition entries or more likely by changing the target property to a structure containing multiple targets. The latter is probably preferable since that also addresses #6.
  • Selection algorithm. This could be random, geo-based, or perhaps based on client / request properties.
  • Service availability / status. Target selection should take into consideration of availability, especially where multiple targets exist for a definition.
  • Configuration management corresponding with the configuration definition changes.
Dominant language
Python
Stars
1
Forks
1
Avg merge
21h 56m
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CDLUC3/resolver

All issues in CDLUC3/resolver

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.