Skip to content

Rate-limited/bounded/windowed parallelism. #48

@alexanderkjeldaas

Description

@alexanderkjeldaas

What I most often need is something that is rate-limited by some external service. Say I must guarantee that I don't do more than X requests/second.

I'm not sure if this is supported by the parallelism modes.

I guess it's possible to use asyncly and then consume using Control.Concurrent.Async.race System.Sleep.sleep (1/rate) restOfComputation.

?

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