Skip to content

How to check BagIt archive with a large number of files (~20'000) with BagVerifier #137

@UkDv

Description

@UkDv

What is the best configuration of ExecutorService, parameter of BagVerifier, to check a very big BagIt archive? I used the 5.0.3 version of the library.

By default, the 'isValid' function create a thread of each file. With ~20'000 files, the process crashed.

I tried the different option:

  • ExecutorService exeService = new ThreadPoolExecutor(0, 10000, 60L, TimeUnit.SECONDS, new SynchronousQueue());
    => crash
  • ExecutorService exeService = Executors.newFixedThreadPool(3000);
    => very long

What is your advice?
Thx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions