Tagged articles
6 articles
Page 1 of 1
php Courses
php Courses
Oct 24, 2025 · Backend Development

Boost PHP Database Performance: Persistent Connections, Connection Pools, and Caching

Learn how to accelerate PHP database operations by employing persistent connections, implementing a connection pool, and caching query results, with clear code examples for mysqli, PDO, and Memcached that illustrate each optimization technique and its impact on reducing latency and resource usage.

Connection PoolDatabase OptimizationMemcached
0 likes · 5 min read
Boost PHP Database Performance: Persistent Connections, Connection Pools, and Caching
Lin is Dream
Lin is Dream
May 30, 2025 · Backend Development

What’s the Real Difference Between NGINX keepalive and HTTP keep‑alive?

Explain that “keepalive” is a concept used in both NGINX and HTTP protocol but with different meanings. In HTTP, keep‑alive (or persistent connection) is a header that allows a TCP connection to be reused for multiple requests, reducing latency. In NGINX, keepalive refers to the connection‑pool settings for upstream servers, controlling how many persistent connections are kept and their timeout.

HTTPKeepaliveperformance
0 likes · 8 min read
What’s the Real Difference Between NGINX keepalive and HTTP keep‑alive?
MaGe Linux Operations
MaGe Linux Operations
Sep 30, 2024 · Operations

Mastering Linux Virtual Server (LVS): Architecture, Modes, and ipvsadm Guide

This comprehensive guide explains Linux Virtual Server (LVS) fundamentals, its general architecture, various load‑balancing modes (NAT, DR, TUN, FULL‑NAT), scheduling algorithms, persistent‑connection options, and provides step‑by‑step ipvsadm commands and scripts for deploying and managing LVS clusters on CentOS 7.

LVSLinux networkingipvsadm
0 likes · 36 min read
Mastering Linux Virtual Server (LVS): Architecture, Modes, and ipvsadm Guide
Code DAO
Code DAO
May 11, 2022 · Backend Development

Understanding HTTP/1.1 Persistent Connections in Go

This article walks through the HTTP/1.1 keep‑alive model, shows how a simple Go program creates separate TCP connections for sequential requests, uses netstat and tcpdump to observe the behavior, and demonstrates how adjusting http.Client's transport settings enables true persistent connections even under concurrency.

GoHTTPHTTP client
0 likes · 11 min read
Understanding HTTP/1.1 Persistent Connections in Go