Repository navigation
Add warm up docs - #3895
Add warm up docs#3895
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 899dbab258
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| // When reading from replicas (ReadFrom.REPLICA / REPLICA_PREFERRED), | ||
| // also warm the replica connections: |
There was a problem hiding this comment.
Warm replicas for all replica-capable policies
Do not limit this advice to REPLICA and REPLICA_PREFERRED: UPSTREAM_PREFERRED, ANY, ANY_REPLICA, LOWEST_LATENCY, subnet/regex selectors, and custom ReadFrom implementations can also route reads to replicas. In those configurations, following this example leaves replica connections cold, so the first routed read still incurs the connection and TLS-handshake latency that this section promises to avoid; describe the condition as any ReadFrom policy that can select replicas.
Useful? React with 👍 / 👎.
Add documentation how to properly warmup cluster per node connections.
Note
Cursor Bugbot is generating a summary for commit 899dbab. Configure here.