Skip to content

perf(connection): speed up initial cluster connection - #326

Merged
CalvinAllen merged 1 commit into
mainfrom
perf/connection/faster-connect
Dec 22, 2025
Merged

CalvinAllen merged 1 commit into
mainfrom
perf/connection/faster-connect

Conversation

@CalvinAllen

Copy link
Copy Markdown
Contributor

Summary

  • Remove unnecessary WaitUntilReadyAsync call (SDK handles readiness internally)
  • Remove redundant GetAllBucketsAsync call for service detection
  • Reduce operation timeouts from 30s to 10s
  • Initialize service flags with sensible defaults

Connection time reduced from ~20s to ~3s.

Test plan

  • Connect to a local Couchbase cluster - verify connection completes in ~3 seconds
  • Verify buckets load correctly after connection

- Remove unnecessary WaitUntilReadyAsync call (SDK handles readiness internally)
- Remove redundant GetAllBucketsAsync call for service detection
- Reduce operation timeouts from 30s to 10s
- Initialize service flags with sensible defaults

Connection time reduced from ~20s to ~3s.
@CalvinAllen
CalvinAllen merged commit 2381d35 into main Dec 22, 2025
@CalvinAllen
CalvinAllen deleted the perf/connection/faster-connect branch December 22, 2025 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant