Skip to content

Apply AmqpRetryPolicy to RequestResponseChannel.sendWithAck. #24620

Closed

Description

@conniey
  • Currently, sendWithAck does not have an operation timeout, so it's possible to wait indefinitely for an ACK from the service.
  • Solution:
    • Apply a retry policy similar to ReactorSender where we wait for AmqpRetryOptions.tryTimeout() for the ACK and apply retry policy until it fails or the underlying connection is closed.

Activity

  1. ghost added
    needs-triageWorkflow: This is a new issue that needs to be triaged to the appropriate team.
    on Oct 7, 2021
  2. added
    amqpLabel for tracking issues related to AMQP
    ClientThis issue points to a problem in the data-plane of the library.
    on Oct 7, 2021
  3. ghost removed
    needs-triageWorkflow: This is a new issue that needs to be triaged to the appropriate team.
    on Oct 7, 2021
  4. anuchandy commented on Apr 26, 2022

    @anuchandy
    Member

    Connie Yau (@conniey) and I had a quick look over this - The sendWithAck is the low-level API that enables disposition (complete, abandon, etc..); we observed that this is an API that can be in the hot path. E.g., when N parallel sessions with M concurrent calls trying to schedule concurrent disposition, adding a dedicated timeout per disposition calls is likely to create GC churn (all those TimerScheduledTask getting queued) and CPU for timer. We think this will be overkill, and if needed in the future, it has to be carefully designed and profiled under load. Hence moving to backlog.

  5. locked and limited conversation to collaborators on May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Azure.Coreazure-coreClientThis issue points to a problem in the data-plane of the library.Event HubsService BusamqpLabel for tracking issues related to AMQP

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions