Skip to content

Improvement: Speeding up EUPS #138

@mwittgen

Description

@mwittgen

eups distrib install calls run very slow as hundreds with temp files are cached by each invocation by sequential http gets.
This is a suggestion to run getTaggedProductInfo in a thread pool which speeds up the significantly by only changing a few lines in distrib/server.py. listDir retrieves the same data from a handful of web directories multiple times. Results are cached in a dictionary to have only one http get per web directory.
master...mwittgen:master

More optimizations/suggestions: configure number of pool threads from eups command line. Allow setting the chunk size for
url reads from command line or replace by urllib3 streaming. Run non recursive installations (product + dependencies) in a thread pool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions