Skip to content

Conversation

@Praveen-Msft
Copy link
Contributor

@Praveen-Msft Praveen-Msft commented Nov 14, 2025

Pull Request Template

Description

At a high-level, this PR aims to unify the timeouts across PPAF and thin client http retry policies for read only requests. Furthermore, HttpTimeoutPolicies for PPAF and Thinclient will have segregated timeouts for Point-Reads and Non-Point-Reads. With this change, we will have the ability to fine-tune/optimize the timeouts for the respective operations. In this context, requests are allowed to retry 3 times with 6s, 6s and 10s timeouts respectively for each retry. We chose these timeouts based on the default backend response timeouts and it will help requests being timeout with aggressive timeouts.

As next step, we have planned for DR drill to identify the appropriate timeouts. Depending on the findings from the drill, we may go towards the direction of configurable timeout for first retry.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Closing issues

To automatically close an issue: closes #5496

ananth7592
ananth7592 previously approved these changes Nov 14, 2025
@Praveen-Msft Praveen-Msft changed the title PPAF: Fixes http first retry timeout value to be configurable for point reads PPAF & Thin Client: Fixes the policies to have segregated timeouts for point-reads and non-point-reads with uniform timeout values Nov 14, 2025
(TimeSpan.FromSeconds(1), TimeSpan.Zero),
(TimeSpan.FromSeconds(6), TimeSpan.Zero),
(TimeSpan.FromSeconds(6), TimeSpan.Zero),
(TimeSpan.FromSeconds(10), TimeSpan.Zero),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update PR description with more context (based on our conversation)

@kundadebdatta kundadebdatta changed the title PPAF & Thin Client: Fixes the policies to have segregated timeouts for point-reads and non-point-reads with uniform timeout values HttpTimeoutPolicy Improvements Phase 3: Fixes the TimeoutPolicies to Have Segregated Timeouts for Point-Reads and Non-Point-Reads with Uniform Timeouts Nov 14, 2025
@kundadebdatta kundadebdatta marked this pull request as ready for review November 14, 2025 22:18
Copy link
Member

@kundadebdatta kundadebdatta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM: Let's wait for the detailed PR description before merging this into master.

Copy link
Member

@FabianMeiswinkel FabianMeiswinkel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kirankumarkolli
Copy link
Member

#auto-merge

@kirankumarkolli kirankumarkolli added the auto-merge Enables automation to merge PRs label Nov 14, 2025
@kirankumarkolli kirankumarkolli merged commit c7c61be into master Nov 14, 2025
36 checks passed
@kirankumarkolli kirankumarkolli deleted the users/pkolluri/5496-configurable-timeouts branch November 14, 2025 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Fundamentals] HttpTimeoutPolicy‎: Update the HttpTimeoutPolicyForThinClient to Use More Relaxed Timeouts

7 participants