Skip to content

default limiter spawns a goroutine and hands every token over a channel #162

Description

@Mzack9999

The default rate limiter runs a background goroutine per instance and routes every Take through an unbuffered channel, adding scheduler wakeups and overhead on the hot path.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions