Zipy
  • Welcome to Zipy ai
  • Getting Started
    • Install Zipy
    • Installing with Google Tag Manager
    • Supported frameworks
    • Security Overview
    • Sensitive User Data
    • SOC2 Type II
  • Zipy For Mobile
    • React Native Setup
      • Install React Native
      • Input Masking
      • Session Replay
      • Screen Transition Capture
      • Gesture Capturing
      • Unhandled Exception Capture
      • Custom Logging
      • Fetch and XHR Network Calls
      • Profiling
      • Device Information Capture
      • Session URL Retrieval
      • Identify Users
      • Firebase Integration
    • Flutter Setup
      • Install Flutter
      • Session Replay
      • Input Masking & Custom Masking
      • Screen Transition Capture
      • Gesture Capturing
      • Unhandled Exception Capture
      • Custom Logging
      • Http Network Calls
      • Dio Network Calls
      • Profiling
      • Device Information Capture
      • Session URL Retrieval
      • Identify Users
      • Firebase Integration
      • Session Recording Control
      • Data Sanitization
  • iOS Setup
    • Install in an iOS app
    • Identify Users
    • Screen Tracking & Tagging
    • Custom Logging
    • Session URL Retrieval
    • Session Recording Control
    • Input Masking & Custom Masking
  • Chrome Extension
    • Zipy Plug and Play Support
  • Configure
    • Zipy Recording Control
    • Release Version
    • Identifying Users
    • Adding Custom Identifiers
    • Anonymize Users
    • Source Maps
    • Blocking PII data
    • Ignoring Errors/Noise
    • npm Update
    • Support Integration
    • Session Stitching (rootDomain)
  • Product Features
    • Custom Events
    • Session Replay
    • Errors
    • Analytics
    • Time Filters
    • Multiple Filters
    • Clicked Element Filters
    • Manage Teams
    • Stack Trace
    • Console Logs
    • Network Requests
    • Network Headers and Payload
    • Custom Logs
    • Live Users
    • Alerts
      • Slack Alerts
      • Email Alerts
      • Live Alerts
      • Custom Alerts
    • Auto Resolve Errors
    • Zipy Labels Plugin
    • iFrame Support
    • API Performance
    • Heatmaps
    • Page Performance
    • Seen/Unseen Sessions
    • Public Session URL
  • FAQs
    • Install Zipy
    • Session Replay Definition
    • Error Tracking
    • Error Classification
    • Environment Support
    • Impact on your App
    • Performance Impact
    • Mobile Support
    • Network Data Capture
    • API Performance Diagnostic Help
      • High DNS Time
      • High SSL Connection Time
      • High Connection Setup Time
      • Large API Response Size
      • High Response Time
      • Compression Not Enabled
      • Server side API Failures
      • Client side API Failures
      • Insecure Connections
  • Troubleshooting
    • Errors in npm
    • Network header missing in Zipy
    • Can't see user data in sessions
    • No recordings or errors visible
    • No network timing split available
  • Product Videos
    • Ask AI
    • Getting Started
    • Session Replay
    • Multiple Project Creation
    • Team Management
    • Alerting on Slack
    • Time Filters and Daily Alerts
    • Custom Identifiers
    • Ignore Errors
    • Identify Users
    • Dashboard
    • Resolve Errors
    • New Error Digest
    • Jira and Slack
    • Online/Offline Network Status
    • Zipy on Zipy
      • Zipy Product Roadmap
  • Whats new
    • Product Updates
  • Legal & Policy
    • Terms of Service
    • Privacy Policy
    • Fulfillment Policy
    • Cookie Policy
    • Acceptable Usage Policy
    • Zipy Sub Processor List
  • Integration
    • Azure DevOps
    • Factors
    • RB2B
    • Webflow
    • WordPress
    • Amplitude
    • Coralogix
    • DevRev
    • Drift
    • Errorception
    • Freshchat
    • Google Analytics
    • Heap
    • HelpScout
    • Honeybadger
    • Hubspot
    • Intercom
    • Mixpanel
    • New Relic
    • Pendo
    • Raygun
    • Rollbar
    • Segment
    • Sentry
    • Shopify
    • Sumo Logic
    • TrackJS
    • Zendesk
Powered by GitBook
On this page
  • Why am I seeing this diagnostic?
  • How do I fix this?
  1. FAQs
  2. API Performance Diagnostic Help

High Connection Setup Time

Why am I seeing this diagnostic?

As a webapp developer, you make API calls to interact with services and retrieve data or perform actions. The API connection setup refers to the process of establishing a connection between your webapp and the API server before data exchange can take place. There are some steps involved for this setup to happen like DNS resolution,TCP handshake, SSL/TLS handshake (for secure connections) which leads to connection establishment. This connection allows the subsequent API calls and data exchange to occur.

High API connection setup time refers to a prolonged duration required for any of the aforementioned steps. This can be caused by various factors, including high network latency, server overload or congestion, inadequate server resources to handle incoming connections, DNS resolution delays, network configuration issues, or inefficient connection establishment mechanisms in your webapp.

It might indicate the following implications for you as a webapp developer:

  1. Increased latency: Lengthy connection setup times contribute to higher latency, leading to delays in sending requests and receiving responses from the API server. This can affect the overall responsiveness of your webapp.

  2. Reduced throughput: Slow connection setups can limit the number of API calls your webapp can make within a given time frame. It can impact the throughput or the rate at which your webapp can process API requests.

  3. Performance impact: If your webapp relies on multiple API calls, each with its own connection setup time delay, it can cumulatively impact the performance and efficiency of your application.

  4. User experience: Slow API connection setups may result in user frustration due to longer waiting times and slower interactions with your webapp. Users expect quick responses, and delays during connection setup can degrade their experience.

How do I fix this?

To address high API connection setup times, you can consider the following approaches:

  1. Connection pooling: Implement connection pooling to reuse existing connections for multiple API calls, minimizing the overhead of establishing new connections for each request.

  2. DNS caching: Implement DNS caching mechanisms to store resolved IP addresses, reducing the need for repeated DNS resolution for subsequent API calls to the same domain.

  3. TCP/IP optimization: Optimize TCP/IP settings and network configurations to ensure efficient and speedy connection establishment.

  4. SSL/TLS optimization: If SSL/TLS handshakes are causing significant delays, consider using session resumption techniques or optimizing SSL/TLS configuration to minimize handshake overhead.

  5. Performance monitoring: Continuously monitor and analyze API connection setup times, identify bottlenecks, and optimize network infrastructure, DNS configurations, or server-side settings to improve performance.

PreviousHigh SSL Connection TimeNextLarge API Response Size

Last updated 1 year ago