Skip to content

Follow-up work for PartitionedRateLimiter #68776

Open

Description

@BrennanConroy

This issue is tracking follow up work from the initial implementation of PartitionedRateLimiter in #67677.

  • Figure out what interval to use for the internal Timer
    • Dynamically change it based on the intervals of the replenishing limiters?
    • Come up with some "good enough" default
    • Make it an option that the user must configure?
  • Background exceptions are currently ignored and not visible to users
    • Check what other libraries like HttpClient do
    • Maybe ExceptionDispatchInfo.Capture and dispatch throwing to the threadpool so it's at least an unhandled exception
  • Start using IdleDuration to cleanup internal dictionary when limiters aren't active
    • Probably don't want to immediately remove limiters when they become idle, likely should wait 10 seconds or something

Activity

  1. added this to the 7.0.0 milestone on May 2, 2022
  2. self-assigned this
    on May 2, 2022
  3. ghost added
    untriaged
    on May 2, 2022
  4. removed
    untriaged
    on May 10, 2022
  5. mangod9 commented on Aug 5, 2022

    @mangod9
    Member

    since this is tagged under system.threading, checking whether any of this work is still meant for 7?

  6. mangod9 commented on Aug 23, 2022

    @mangod9
    Member

    ok to close this out since its still tagged for 7?

  7. modified the milestones: 7.0.0, 8.0.0 on Aug 23, 2022
  8. mangod9 commented on Jul 13, 2023

    @mangod9
    Member

    checking if this is still being looked into for 8?

  9. modified the milestones: 8.0.0, Future on Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions