Skip to content

Improve getDataPackage performance #283

@gothub

Description

@gothub

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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions