Improve `getDataPackage` performance

Aperta
#283 11 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@gothub ci sta già lavorando.

Dal 26/9/2021.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Obtaining a local copy of a large package with getDataPackage can be very slow for packages with many members.

To improve performance:

  • determine what operations are degrading performance
    • resolve to obtain dataURL for each lazyLoaded member
    • getSystemMetadata for each member
    • other DataONE calls?
  • evaluate the use cases for this function and update as needed
    • This function was originally intended to provide a local copy of a package that could be modified and then uploaded to update the original package.
    • what are the current use cases?
  • potential modifications
    • function argument to specify that no sysmeta is to be downloaded for lazyloaded members

A new, different function may be needed if getDataPackage can't be update to provide the required functionality.

@jeanetteclark @amoeba comments?

Lingua principale
R
Stelle
37
Fork
19
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DataONEorg/rdataone

Tutte le issue di DataONEorg/rdataone

Issue simili

Altre issue su R

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.