Tag

Persistent Connection

0 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Nov 5, 2024 · Backend Development

Optimizing Database Connection Speed in PHP: Persistent Connections, Connection Pools, and Query Caching

This article explains how to speed up PHP database interactions by using persistent connections, implementing a connection pool, and caching query results, providing code examples for mysqli, PDO, and Memcached, and discusses when each technique is appropriate for improving backend performance.

Backend DevelopmentConnection PoolDatabase Optimization
0 likes · 6 min read
Optimizing Database Connection Speed in PHP: Persistent Connections, Connection Pools, and Query Caching
Laravel Tech Community
Laravel Tech Community
Jul 25, 2020 · Backend Development

Using PHP pfsockopen() for Persistent Socket Connections

This article explains the PHP pfsockopen() function, its parameters, return values, and provides a complete example demonstrating how to establish a persistent SSL socket, send an HTTP POST request, and read the response using low‑level socket operations.

Network ProgrammingPHPPersistent Connection
0 likes · 4 min read
Using PHP pfsockopen() for Persistent Socket Connections
Architect's Tech Stack
Architect's Tech Stack
Nov 15, 2019 · Fundamentals

Understanding Browser TCP Connections, HTTP Persistence, Pipelining, and Multiplexing

The article explains how modern browsers manage TCP connections for HTTP requests, covering persistent connections, the number of requests per connection, pipelining limitations in HTTP/1.1, the advantages of HTTP/2 multiplexing, SSL reuse, and browser-imposed limits on concurrent connections per host.

HTTPMultiplexingPersistent Connection
0 likes · 9 min read
Understanding Browser TCP Connections, HTTP Persistence, Pipelining, and Multiplexing
Java Captain
Java Captain
Jul 1, 2019 · Fundamentals

How Browsers Manage TCP Connections, Persistent HTTP, Pipelining, and Multiplexing

The article explains how modern browsers handle TCP connections and HTTP requests—including persistent connections, the limits on simultaneous connections per host, the (disabled) HTTP/1.1 pipelining, SSL reuse, and how HTTP/2 multiplexing improves image loading performance.

HTTPHTTP2Multiplexing
0 likes · 9 min read
How Browsers Manage TCP Connections, Persistent HTTP, Pipelining, and Multiplexing