Networking

Timeout

A limit on how long a client or server will wait for a response before giving up. Connection timeouts occur when a TCP connection cannot be established. Read timeouts occur when data stops arriving. Gateway timeouts (HTTP 504) occur when an upstream server takes too long to respond. Proper timeout configuration prevents resources from being held indefinitely.

Related Protocols

Mentioned in Guides

Understanding HTTP Status Codes: A Complete Guide HTTP Fundamentals
HTTP Request Lifecycle: From URL to Response HTTP Fundamentals
gRPC Status Codes: A Practical Guide API Design & Best Practices
Implementing Webhooks: A Complete Guide API Design & Best Practices
Debugging 502 Bad Gateway Errors Debugging & Troubleshooting
Debugging Timeout Errors: 408 and 504 Debugging & Troubleshooting
Debugging 503 Service Unavailable Errors in Production Debugging & Troubleshooting
Step-by-Step DNS Troubleshooting with dig and nslookup Debugging & Troubleshooting
Debugging Connection Reset Errors Debugging & Troubleshooting
Debugging WebSocket Disconnections Debugging & Troubleshooting
Debugging gRPC Errors and Status Codes Debugging & Troubleshooting
Debugging 500 Internal Server Error: A Systematic Approach Debugging & Troubleshooting
Diagnosing Email Bounces: Soft (4xx) vs Hard (5xx) Email Delivery
DNS Response Codes (RCODEs) Explained DNS & Networking
TCP Three-Way Handshake and Connection Lifecycle DNS & Networking
Essential Network Debugging Tools: ping, traceroute, mtr, and tcpdump DNS & Networking
WebSocket Close Codes: Why Your Connection Dropped Real-Time Protocols
SIP Response Codes: Understanding VoIP Call Flow Real-Time Protocols
SIP Call Flow: Understanding Session Setup Real-Time Protocols
WebSocket Authentication Patterns Real-Time Protocols
gRPC Streaming vs REST Polling: Real-Time Data Delivery Real-Time Protocols
Implementing Retry with Exponential Backoff Error Handling Patterns
Circuit Breaker Pattern for API Resilience Error Handling Patterns
Graceful Degradation in Distributed Systems Error Handling Patterns
Timeout Budget Patterns for Microservices Error Handling Patterns
Dead Letter Queues and Async Error Handling Error Handling Patterns
Health Check Endpoint Design Guide Error Handling Patterns
Bulkhead Pattern: Isolating Failures in Distributed Systems Error Handling Patterns
Saga Pattern: Managing Distributed Transactions with Compensating Actions Error Handling Patterns
Fallback Strategies: Default Values, Cached Responses, and Degraded Modes Error Handling Patterns
Go HTTP Error Handling Patterns Framework Cookbooks
gRPC Error Handling Best Practices Framework Cookbooks
Connection Management and Keep-Alive Performance & Optimization
Load Balancing Strategies for APIs Performance & Optimization
WebSocket Performance Tuning Performance & Optimization
API Response Time Optimization: From Database to Wire Performance & Optimization
Connection Pooling for HTTP Clients: Best Practices and Pitfalls Performance & Optimization
Taming Tail Latency: Why P99 Matters More Than Average Performance & Optimization
RFC 6455: WebSocket Protocol Deep Dive Protocol Deep Dives
RFC 3261: SIP Protocol Deep Dive Protocol Deep Dives
RFC 7231/9110: HTTP Method Semantics — Safe, Idempotent, and Cacheable Protocol Deep Dives
Migrating from REST to gRPC Migration & Upgrades
Migrating from HTTP/2 to HTTP/3: QUIC Deployment Guide Migration & Upgrades
Migrating from WebSocket to Server-Sent Events Migration & Upgrades
Reverse Proxy Configuration: Nginx, Caddy, and HAProxy Production Infrastructure
Load Balancer Health Checks: HTTP, TCP, and gRPC Probes Production Infrastructure
Rate Limiting at the Edge: WAF, CDN, and API Gateway Strategies Production Infrastructure
Connection Draining: Graceful Shutdown Without Dropping Requests Production Infrastructure
Observability for HTTP Status Codes: Metrics, Logs, and Alerts Production Infrastructure
Custom Error Pages: 404, 500, 502, and Maintenance Pages Production Infrastructure
Circuit Breaker Pattern at the API Gateway API Gateway Patterns
API Gateway Retry and Timeout Policies API Gateway Patterns
API Gateway Logging and Analytics API Gateway Patterns
Mock Servers for API Development: WireMock, Prism, and Custom Mocks Testing & Mocking
Chaos Engineering for APIs: Injecting Faults and Status Codes Testing & Mocking
Testing Error Scenarios: Simulating 4xx and 5xx Responses Testing & Mocking

Related Scenarios

Decision Guides

See Also