Tag

keepalive

1 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Mar 12, 2025 · Mobile Development

Riverpod Annotations Explained: Code Generation and Advanced Usage in Flutter

Riverpod annotations streamline Flutter state management by using build_runner to generate provider code, where @riverpod on functions creates Provider, FutureProvider, or StreamProvider based on return type, on classes creates NotifierProvider, supports Family‑pattern parameters, keepAlive, dependencies, and produces helper classes for auto‑dispose and scoped overrides.

AnnotationsFamilyFlutter
0 likes · 13 min read
Riverpod Annotations Explained: Code Generation and Advanced Usage in Flutter
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 10, 2024 · Backend Development

Master Spring Boot 3 Virtual Threads: Prevent Daemon Issues & Keep Apps Alive

This guide explains how Spring Boot 3.2+ leverages JDK 21 virtual threads, demonstrates common pitfalls in non‑web applications—especially daemon thread termination—and shows how to enable keep‑alive configuration to ensure your tasks keep running, complete with code examples and performance insights.

ConcurrencySpring BootVirtual Threads
0 likes · 9 min read
Master Spring Boot 3 Virtual Threads: Prevent Daemon Issues & Keep Apps Alive
Top Architect
Top Architect
Feb 2, 2024 · Operations

How to Keep SSH Sessions Alive and Prevent Freezes Using TCP Keepalive Settings

This guide explains why SSH connections may close due to TCP timeouts, describes the relevant kernel parameters, and provides step‑by‑step client and server configuration instructions for Linux and Windows to keep SSH sessions active without interruption.

LinuxSSHSystem Administration
0 likes · 10 min read
How to Keep SSH Sessions Alive and Prevent Freezes Using TCP Keepalive Settings
Java Architect Essentials
Java Architect Essentials
Sep 30, 2023 · Backend Development

Optimizing Apache HttpClient for High Concurrency: Pooling, Keep‑Alive, and Configuration

This article explains how to dramatically improve the performance of a high‑traffic Java service by reusing a singleton HttpClient, enabling connection pooling and keep‑alive, tuning timeout and retry settings, and adding an idle‑connection monitor to reduce average request latency from 250 ms to about 80 ms.

ConnectionPoolingHttpClientPerformance
0 likes · 13 min read
Optimizing Apache HttpClient for High Concurrency: Pooling, Keep‑Alive, and Configuration
Efficient Ops
Efficient Ops
Sep 20, 2023 · Backend Development

Master Nginx: Multi-Domain, Auth, Autoindex, and Reverse Proxy Tricks

This guide walks through practical Nginx configurations—including serving multiple domains, setting up basic authentication, enabling directory listings, defining default sites, blocking unwanted IP access, handling verification files, configuring upstream reverse proxies, enabling keepalive, and redirecting 404 errors—to help operators and developers optimize their web server setups.

Basic AuthReverse Proxykeepalive
0 likes · 8 min read
Master Nginx: Multi-Domain, Auth, Autoindex, and Reverse Proxy Tricks
Architect's Guide
Architect's Guide
Apr 13, 2023 · Fundamentals

Understanding TCP Keepalive and HTTP Keepalive Mechanisms

This article explains the concepts, purposes, and inner workings of TCP keepalive and HTTP keepalive, compares their roles in maintaining network connections, and provides practical guidance on configuring related parameters and handling socket lifecycles in server environments.

HTTPProtocolServer Configuration
0 likes · 8 min read
Understanding TCP Keepalive and HTTP Keepalive Mechanisms
政采云技术
政采云技术
Sep 13, 2022 · Fundamentals

Understanding TCP Keepalive Mechanism and Its Parameters

This article explains the TCP keepalive mechanism, its purpose, default parameters, how to configure and verify it on Linux, its drawbacks, and the distinction between TCP keepalive and HTTP Keep-Alive, providing practical code examples and network analysis steps.

LinuxSocketTCP
0 likes · 11 min read
Understanding TCP Keepalive Mechanism and Its Parameters
IT Services Circle
IT Services Circle
Feb 13, 2022 · Fundamentals

Does a TCP Connection Persist After Unplugging the Network Cable?

Unplugging a network cable does not immediately terminate a TCP connection; the kernel’s socket state remains ESTABLISHED, and the connection’s fate depends on data transmission, retransmission limits, TCP keepalive settings, and whether either side detects a failure.

LinuxNetworkRetransmission
0 likes · 10 min read
Does a TCP Connection Persist After Unplugging the Network Cable?
Zhuanzhuan Tech
Zhuanzhuan Tech
Aug 1, 2021 · Backend Development

Investigation of HttpClient Connection Reuse Issue and Tomcat maxKeepAliveRequests Setting

The article documents a systematic investigation of why an Apache HttpClient‑based utility class fails to reuse connections, reproduces the problem with a test server and client, analyzes Tomcat's default maxKeepAliveRequests limit of 100, and provides recommendations for configuration.

ConnectionPoolingHttpClientPerformance
0 likes · 7 min read
Investigation of HttpClient Connection Reuse Issue and Tomcat maxKeepAliveRequests Setting
JD Tech
JD Tech
Jun 7, 2021 · Operations

Configuring Nginx Reverse Proxy for Persistent (Keep‑Alive) Connections and Performance Optimization

This article explains how to configure Nginx as a reverse proxy to maintain long‑lived HTTP/1.1 keep‑alive connections between client and Nginx and between Nginx and upstream servers, covering required directives, upstream and location settings, performance implications for high QPS workloads, and advanced WebSocket handling.

ConfigurationHTTPLoad Balancing
0 likes · 9 min read
Configuring Nginx Reverse Proxy for Persistent (Keep‑Alive) Connections and Performance Optimization
Laravel Tech Community
Laravel Tech Community
Mar 28, 2021 · Backend Development

v0.0.7 Update: Adding Keepalive Timeout to TCP RPC Server

Version v0.0.7 introduces a configurable keepalive timeout for the TCP RPC server, automatically closing idle client connections after a set period, reducing resource usage and preventing memory leaks while allowing the client to transparently reconnect when needed.

PythonRPCServer
0 likes · 3 min read
v0.0.7 Update: Adding Keepalive Timeout to TCP RPC Server
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Dec 11, 2020 · Backend Development

Understanding HTTP/1.1 Keep‑Alive, TCP Keepalive, and Nginx Configuration

This article explains the differences between HTTP/1.1 and HTTP/1.0 keep‑alive, the TCP keepalive mechanism and its kernel parameters, how to configure them in applications, and how Nginx implements and manages keepalive for client and upstream connections with detailed code examples.

ConfigurationTCPhttp1.1
0 likes · 15 min read
Understanding HTTP/1.1 Keep‑Alive, TCP Keepalive, and Nginx Configuration
Efficient Ops
Efficient Ops
Jan 13, 2020 · Operations

How Nginx Keepalive Works: Experiments on HTTP and TCP Timeouts

This article experimentally explores Nginx's keepalive settings—HTTP keepalive_timeout, proxy_read_timeout, and TCP so_keepalive—showing how different browsers, upstream delays, and TCP probes affect connection lifetimes and what practical steps administrators can take to troubleshoot unexpected disconnects.

HTTPNetworkOperations
0 likes · 15 min read
How Nginx Keepalive Works: Experiments on HTTP and TCP Timeouts
Efficient Ops
Efficient Ops
Dec 8, 2019 · Fundamentals

Mastering TCP: Understanding States, Handshakes, and Common Issues

This article explains TCP state definitions, Linux commands for monitoring connections, the three‑way handshake, four‑way termination, common pitfalls like SYN‑Flood attacks, and practical tips such as keepalive configuration to diagnose and resolve network or socket problems.

LinuxSocketTCP
0 likes · 30 min read
Mastering TCP: Understanding States, Handshakes, and Common Issues
Efficient Ops
Efficient Ops
May 26, 2019 · Operations

Master Nginx: Multi-Domain Sites, Auth, Autoindex, and Advanced Proxy Tricks

This guide walks through practical Nginx configurations—including serving multiple domains from one server block, per‑site root setups, basic authentication, directory listing tweaks, default site handling, IP blocking, custom verification files, upstream reverse proxy nuances, keepalive tuning, and automatic 404 redirection—providing ready‑to‑use code snippets for each scenario.

Reverse Proxybasic authenticationdirectory listing
0 likes · 8 min read
Master Nginx: Multi-Domain Sites, Auth, Autoindex, and Advanced Proxy Tricks