Performance

What is Latency?

The time delay between a user action and the system's response, often referring to network delay in web performance.

Latency is the delay before data transfer begins, often measured as the round-trip time (RTT) for a request to travel to a server and back.

Types of latency

Network latency

  • Time for data to travel between client and server
  • Affected by distance and network quality
  • Typically 20-200+ milliseconds

Server latency

  • Time for server to process a request
  • Affected by server load and code efficiency
  • Database queries, computations

Rendering latency

  • Time for browser to process and display content
  • Affected by JavaScript execution
  • DOM parsing and painting

Measuring latency

  • Ping: Basic network latency test
  • TTFB: Includes server processing time
  • RTT: Round-trip time for full request/response

Reducing latency

  1. Use a CDN to reduce distance
  2. Optimize server-side code
  3. Use efficient database queries
  4. Enable HTTP/2 or HTTP/3
  5. Reduce number of requests

How VitalSentinel handles this

VitalSentinel is your website's revenue insurance against slow, laggy experiences. Our RUM measures real latency from actual visitors broken down by country, region, and ISP so you can see exactly where your CDN is failing, while Uptime Monitoring probes your origin from multiple global locations to catch network and routing issues in hours, not weeks.

Monitor your website performance

VitalSentinel tracks Core Web Vitals and performance metrics to help you stay ahead of issues.