Skip to content

Conversation

@glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Dec 5, 2023

Motivation:

The retry throttle should be optional, it's currently required by the client transport API.

The in-process transport also defaults the throttle without allowing callers to configure it.

Modifications:

  • Make the retry throttle an optional requirement on client transport
  • Allow callers to configure the retry throttle for the in-process client transport
  • Add async throws to one of the in-process server transport methods, while not necessary, the protocol allows it and we may want to change the implementation in the future.

Result:

Retry throttle is optional and configurable for the in-process transport

Motivation:

The retry throttle should be optional, it's currently required by the
client transport API.

The in-process transport also defaults the throttle without allowing
callers to configure it.

Modifications:

- Make the retry throttle an optional requirement on client transport
- Allow callers to configure the retry throttle for the in-process
  client transport
- Add `async throws` to one of the in-process server transport methods,
  while not necessary, the protocol allows it and we may want to change
  the implementation in the future.

Result:

Retry throttle is optional and configurable for the in-process transport
@glbrntt glbrntt added the version/v2 Relates to v2 label Dec 5, 2023
@glbrntt glbrntt requested a review from FranzBusch December 5, 2023 14:13
@glbrntt glbrntt merged commit ab82da8 into grpc:main Dec 6, 2023
@glbrntt glbrntt deleted the in-proc-retry-throttle branch December 6, 2023 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

version/v2 Relates to v2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants