Skip to content

oaipmh-opener not stream based #691

@dr0i

Description

@dr0i

From metafacture/metafacture-playground#208:

Unfortunately 4bf31e7 does not prevent the behavior described in metafacture/metafacture-playground#159 (comment)

    This big JSON file was created by processing a specific OAI endpoint with >50k records. I can reproduce this behavior with this same endpoint. Lots of requests (per resumptionToken) are being made while the result file is still empty. At some point in time the requests come to a halt and the result file is written very fast.

I assume that the oaipmh opener does not stream data through but buffer until all data is fetched, @dr0i can you confirm this?

Yes, I think so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions