Skip to content

Bulk mode that is mindful of event loop #700

Open
@kibertoad

Description

@kibertoad

Stemming of a larger text can take long time (10 seconds and more). Considering that Node.js runs on event loop, blocking operations prevent anything else from being processed.

Would it be possible to introduce async method which would automatically chunk text that exceeds X size and run it on different ticks, and then recombine everything back after done, in order to let event loop to process other requests?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions