Skip to content

Discussion: allow flowable to process multiple values simultaneously #3

Description

@prevostc

Hi there,

I just stumbled upon your trail of thoughts regarding rxjs and backpressure:

I built some kind of ETL using RxJS and I wanted to process "as much values as possible at the same time".

At the moment I have a pipeline (Observable) taking work units as input, doing lots of complex stuff and yielding success/failure status as output.
Obviously, I find myself in a position where I can't ask the pipeline to process all work units at once, so I need to do some kind of backpressure handling.

My idea would be to use a threshold on process.memoryUsage() and process.cpuUsage() to know if the server can handle more work, and in this case, send more work units in the observable without waiting for the current work units to be done.

I'm not sure that would fit the scope of this library, but if it does, I would be happy to contribute.

Thank you for you work <3

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions