Skip to content

Stream / batch hook processing for updates #378

Open
@alechenninger

Description

@alechenninger

Right now it looks like updates will pull many documents into memory at once. A heap dump shows 4000. Because updates pull in full documents, if these documents are large, it can quickly use up more than available heap, causing outages.

A client can work around by first retrieving ids of documents which match the query, and the iterate through them in smaller batches to apply the update. I don't see any reason lightblue couldn't do this server side.

Metadata

Metadata

Assignees

No one assigned

    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