alecandido / partons

Distribute and evaluate partonic distributions
1 stars 0 forks source link

Resource management #14

Open cschwan opened 1 year ago

cschwan commented 1 year ago

I think it would be useful to have the following features:

A configuration file would be needed for these features.

alecandido commented 1 year ago

A configuration file would be needed for these features.

Already present: https://github.com/AleCandido/partons/blob/main/partons/src/configs.rs

It should look like this: https://github.com/AleCandido/partons/blob/dc585d3a5d58ffdbfd0ace911b6b514d59adcd3a/partons.toml#L1-L5

Half-done:

alecandido commented 1 year ago

Moreover, I want to drop the original file format of LHAPDF, and just keep it for compatibility:

The LHAPDF one will be kept anyhow, for compatibility.

alecandido commented 1 year ago

Another bit it is worth to mention here is what we discussed about "configuring a server".

Since the server configuration, for a given server, should be the same for all the clients (at least the basic part, further customization might be allowed), it should be hosted at a single URL on the server itself, such that:

partons remote add [<optional-name>] https://pdfsets.nnpdf.science/configuration.json

is directly registering the server in the local configs file.