Avoid running ping on initial connection to cluster in compass

XMLWordPrintableJSON

    • Type: Story
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Web
    • None
    • None
    • None
    • Developer Tools

      Use Case

      As a Data Explorer user I want to avoid redundant network roundtrips when connecting So that I can start querying my data seconds faster

      User Experience

      • Reduced connection time by eliminating redundant ping commands
      • Users will see their cluster connect faster (lower round-trip times)

      Risks/Unknowns

      • Need to ensure first meaningful command doesn't break existing connection logic
      • AutoEncryption path may have special requirements that need the buildInfo check

      Acceptance Criteria

      Implementation Requirements
      • Remove redundant ping commands from Compass and devtools-connect layers (driver's ping already removed)
      • First command executed should be meaningful for Compass operations rather than a ping
      • For autoEncryption scenarios, buildInfo check should remain but no additional pings
      • Avoid running any pings on compass-web startup
      • Performance target: Reduce connection RTT by eliminating 2 unnecessary ping roundtrips
      Testing Requirements
      • Verify that an auth containing connection string does not run ping
      • Verify a no auth LB cluster still throws an error if the hostname does not exist
      References

            Assignee:
            Unassigned
            Reporter:
            Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: