Tagged articles
85 articles
Page 1 of 1
php Courses
php Courses
Jan 6, 2026 · Backend Development

Boost Email Delivery Speed with PHP Async Coroutines

This article explains how to use PHP asynchronous coroutines with Swoole and PHPMailer to concurrently send large volumes of emails, improving performance, stability, and resource usage compared to traditional synchronous mailing methods.

AsyncEmailPHPMailer
0 likes · 5 min read
Boost Email Delivery Speed with PHP Async Coroutines
Open Source Tech Hub
Open Source Tech Hub
Nov 17, 2025 · Backend Development

Swoole v6.1 Released: Major PHP, Library, and Network Protocol Upgrades

Version 6.1 of Swoole, built on Swoole v6.1.1 and PHP 8.4.14, introduces dynamic GCC support for Swoole‑CLI, a new random extension, libind2 and libpsl for Curl, upgrades PHP, numerous extensions, libraries, and switches HTTP/3 implementation, while fixing macOS build issues and deprecating ngtcp2.

HTTP/3Library UpdatesNetworking
0 likes · 3 min read
Swoole v6.1 Released: Major PHP, Library, and Network Protocol Upgrades
Open Source Tech Hub
Open Source Tech Hub
Nov 17, 2025 · Backend Development

Mastering High‑Performance PHP with Swoole: Multi‑Process, Coroutine, and Async I/O Guide

Learn how Swoole transforms PHP into a high‑performance, asynchronous server by detailing its multi‑process architecture, reactor‑worker‑task model, coroutine‑enabled I/O, and practical code examples for TCP clients, HTTP servers, and file operations, enabling scalable, non‑blocking applications.

AsynchronousBackendNetwork I/O
0 likes · 7 min read
Mastering High‑Performance PHP with Swoole: Multi‑Process, Coroutine, and Async I/O Guide
Open Source Tech Hub
Open Source Tech Hub
Nov 11, 2025 · Backend Development

Why PHP Async IO Is Gaining Momentum and What It Means for PHP 9

The article examines recent PHP async I/O RFC proposals, explains how they aim to integrate epoll/kqueue and coroutine‑based I/O into PHP, compares PHP's async capabilities with other languages and frameworks, and outlines the future direction of asynchronous support in PHP 9 and beyond.

HyperfPHPSwoole
0 likes · 10 min read
Why PHP Async IO Is Gaining Momentum and What It Means for PHP 9
php Courses
php Courses
Oct 27, 2025 · Backend Development

Why PHP-FPM Struggles in Cloud‑Native Environments and What Modern Runtimes Offer

This article examines PHP-FPM's historical strengths, its growing incompatibilities with containerized and micro‑service architectures, outlines three key bottlenecks, and presents modern alternatives such as Swoole, FrankenPHP, and serverless runtimes that enable higher performance, better resource efficiency, and improved observability.

ServerlessSwoolecloud-native
0 likes · 7 min read
Why PHP-FPM Struggles in Cloud‑Native Environments and What Modern Runtimes Offer
php Courses
php Courses
Sep 30, 2025 · Backend Development

Why Traditional PHP Profilers Fail in Async Environments and How to Fix It

Traditional PHP memory profilers, designed for synchronous blocking execution, struggle in high‑concurrency async frameworks like Swoole or ReactPHP because execution contexts intermix, memory leaks become ambiguous, and profiling overhead distorts performance, requiring specialized tools, snapshot comparisons, and disciplined coding practices to effectively diagnose issues.

AsyncPHPSwoole
0 likes · 9 min read
Why Traditional PHP Profilers Fail in Async Environments and How to Fix It
php Courses
php Courses
Sep 26, 2025 · Backend Development

Why Swoole Coroutine Leaks Hide and How to Prevent Them

Swoole coroutine leaks are stealthy issues that gradually consume CPU and memory, caused by improper loops, global state pollution, inconsistent environments, and limited debugging tools, but can be mitigated with proper context management, lifecycle control, environment consistency, and proactive monitoring.

PHPSwoolecontext management
0 likes · 12 min read
Why Swoole Coroutine Leaks Hide and How to Prevent Them
php Courses
php Courses
Sep 2, 2025 · Backend Development

Why Asynchronous PHP Will Transform Web Development by 2025

This article examines how asynchronous programming revitalizes PHP, detailing its core principles, emerging ecosystem, cloud‑native advantages, performance gains, improved developer experience, industry adoption, and the challenges ahead, forecasting that by 2025 async PHP will reshape modern web development.

Backend PerformanceMicroservicesSwoole
0 likes · 8 min read
Why Asynchronous PHP Will Transform Web Development by 2025
php Courses
php Courses
Apr 18, 2025 · Backend Development

Optimizing Email Sending with PHP Asynchronous Coroutines

This article explains how to improve the speed and stability of bulk email delivery in modern web applications by using PHP asynchronous coroutines, detailing the underlying principles, advantages over synchronous sending, and providing a complete code example with Swoole, PHPMailer, and channel coordination.

AsynchronousBackendCoroutines
0 likes · 5 min read
Optimizing Email Sending with PHP Asynchronous Coroutines
Open Source Tech Hub
Open Source Tech Hub
Jan 3, 2025 · Backend Development

Enabling Fiber, Swoole, and Swow Coroutines in Webman 5: Installation, Configuration, and Usage

This guide explains Webman 5's support for Fiber, Swoole, and Swow coroutine drivers, shows how to install the required packages, configure each worker to use a specific driver, provides complete PHP code examples for Workerman and Webman, demonstrates starting the server, checking its status, and highlights compatibility constraints between Swow and Swoole.

CoroutinesFiberPHP
0 likes · 12 min read
Enabling Fiber, Swoole, and Swow Coroutines in Webman 5: Installation, Configuration, and Usage
Open Source Tech Hub
Open Source Tech Hub
Dec 18, 2024 · Backend Development

What’s New in Swoole v6.0.0? Multithreading, iouring, and Core Optimizations Explained

Swoole v6.0.0 introduces multithreaded mode, new thread classes and synchronization primitives, iouring‑based asynchronous file I/O, numerous bug fixes, kernel optimizations, and deprecations, providing developers with enhanced performance, richer APIs, and broader platform compatibility for high‑concurrency PHP applications.

AsynchronousPHPSwoole
0 likes · 12 min read
What’s New in Swoole v6.0.0? Multithreading, iouring, and Core Optimizations Explained
php Courses
php Courses
Dec 11, 2024 · Backend Development

Optimizing Email Sending with PHP Asynchronous Coroutines

This article explains how to use PHP asynchronous coroutines and Swoole to concurrently send large volumes of email, improving speed, stability, and resource usage, and includes a complete code example with PHPMailer integration.

AsynchronousPHPSwoole
0 likes · 6 min read
Optimizing Email Sending with PHP Asynchronous Coroutines
php Courses
php Courses
Nov 28, 2024 · Backend Development

Advanced Coroutine Frameworks with Swoole 5, Hyperf 3, and PHP 8

This course provides an in‑depth exploration of Swoole 5, Hyperf 3, and PHP 8 coroutine frameworks, teaching developers how to leverage coroutines for high‑performance, concurrent PHP applications through practical, step‑by‑step instruction and comprehensive coverage of installation, core principles, and advanced implementation techniques.

HyperfPHPSwoole
0 likes · 5 min read
Advanced Coroutine Frameworks with Swoole 5, Hyperf 3, and PHP 8
php Courses
php Courses
Nov 13, 2024 · Backend Development

Deep Dive into Swoole5, Hyperf3, and PHP8 Coroutine Frameworks

This course provides an in‑depth analysis of the new coroutine features in Swoole5, Hyperf3, and PHP8, teaching developers how to leverage coroutines for higher concurrency, improved performance, and efficient PHP backend development through practical, hands‑on examples.

HyperfPHPSwoole
0 likes · 6 min read
Deep Dive into Swoole5, Hyperf3, and PHP8 Coroutine Frameworks
Open Source Tech Hub
Open Source Tech Hub
Oct 8, 2024 · Backend Development

Eliminating Blocking Degradation in Webman/Workerman with a Coroutine Plugin

This article explains the blocking‑degradation problem in Webman/Workerman's event‑loop, analyzes why traditional solutions fall short, and introduces the webman‑coroutine plugin that adapts multiple coroutine drivers, rewrites the web server, and provides practical guidance for safe coroutine integration.

Swooleevent-loop
0 likes · 21 min read
Eliminating Blocking Degradation in Webman/Workerman with a Coroutine Plugin
php Courses
php Courses
Sep 11, 2024 · Backend Development

Optimizing Email Sending with PHP Asynchronous Coroutines

This article explains how to improve the speed and stability of bulk email delivery in modern web applications by using PHP asynchronous coroutines with Swoole, providing a detailed code example that leverages PHPMailer, channels, and coroutine management.

AsynchronousBackendEmail
0 likes · 5 min read
Optimizing Email Sending with PHP Asynchronous Coroutines
php Courses
php Courses
May 21, 2024 · Backend Development

Deep Dive into Swoole 5, Hyperf 3, and PHP 8 Coroutine Frameworks

This course offers an in‑depth exploration of Swoole 5, Hyperf 3, and PHP 8 coroutine features, teaching developers how to harness asynchronous programming to boost concurrency, performance, and efficiency in modern PHP applications through practical, hands‑on examples.

FrameworkHyperfPHP8
0 likes · 4 min read
Deep Dive into Swoole 5, Hyperf 3, and PHP 8 Coroutine Frameworks
Open Source Tech Hub
Open Source Tech Hub
Jan 21, 2024 · Backend Development

Master Swoole: Install, Configure, and Harness PHP Coroutines

This guide explains what Swoole is, provides step‑by‑step installation and configuration instructions for the PHP extension, shows how to enable it in the Webman framework, and demonstrates coroutine concepts with practical PHP code examples and expected output.

BackendSwoolecoroutine
0 likes · 7 min read
Master Swoole: Install, Configure, and Harness PHP Coroutines
php Courses
php Courses
Jan 4, 2024 · Backend Development

Using Swoole Coroutines to Achieve High Concurrency in PHP Applications

This article explains how to boost PHP application performance by installing the Swoole extension and using its coroutine API to run concurrent tasks such as HTTP requests and database queries, providing code examples and configuration steps for effective backend concurrency.

CoroutinesPHPSwoole
0 likes · 4 min read
Using Swoole Coroutines to Achieve High Concurrency in PHP Applications
php Courses
php Courses
Nov 23, 2023 · Backend Development

Getting Started with Asynchronous PHP Programming Using Swoole

This tutorial introduces Swoole, a powerful PHP extension for event‑driven, non‑blocking programming, guiding readers through prerequisites, environment setup, event‑loop concepts, building a simple asynchronous HTTP server, and performance comparison with traditional synchronous scripts, demonstrating how to create high‑performance backend applications.

Event-drivenPHPSwoole
0 likes · 6 min read
Getting Started with Asynchronous PHP Programming Using Swoole
php Courses
php Courses
Sep 28, 2023 · Backend Development

Implementing Distributed Data Storage and Retrieval with PHP Microservices

This article explains the challenges of traditional single-node data storage, introduces microservice architecture, and provides step-by-step PHP Swoole code examples for creating storage and retrieval microservices and a client script, demonstrating how to achieve scalable, fault‑tolerant distributed data storage and retrieval.

MicroservicesPHPSwoole
0 likes · 5 min read
Implementing Distributed Data Storage and Retrieval with PHP Microservices
php Courses
php Courses
Aug 5, 2023 · Backend Development

Implementing Microservice Architecture in PHP with Swoole and Lumen

This article explains the core principles of microservice architecture and demonstrates how to build a PHP‑based microservice system using Swoole, Lumen, RabbitMQ, and Consul, providing step‑by‑step code examples for installation, routing, and server setup.

LumenMicroservicesPHP
0 likes · 5 min read
Implementing Microservice Architecture in PHP with Swoole and Lumen
php Courses
php Courses
Jun 18, 2023 · Backend Development

In-depth Exploration of the Swoft Microservice Framework: Features, Installation, and Performance Comparison with Laravel

This article provides a comprehensive overview of the Swoft microservice framework, detailing its high‑performance architecture, core features such as annotation routing and AOP, step‑by‑step installation, and benchmark results that demonstrate its superiority over Laravel in handling concurrent requests.

Backend FrameworkLaravel ComparisonMicroservices
0 likes · 8 min read
In-depth Exploration of the Swoft Microservice Framework: Features, Installation, and Performance Comparison with Laravel
php Courses
php Courses
Jun 4, 2023 · Backend Development

Building a Real-Time Audio/Video Live Streaming Project with WebRTC and Swoole

This tutorial demonstrates how to combine Swoole's high‑performance PHP WebSocket server with WebRTC's browser‑based real‑time audio/video capabilities, covering server setup, client media capture, video segmentation with FFmpeg, and complete code examples to build a functional live‑streaming application.

JavaScriptPHPSwoole
0 likes · 6 min read
Building a Real-Time Audio/Video Live Streaming Project with WebRTC and Swoole
php Courses
php Courses
Apr 21, 2023 · Backend Development

Building a Real-Time Audio/Video Live Streaming Project with WebRTC and Swoole

This article demonstrates how to combine Swoole's high‑performance WebSocket server with WebRTC to create a real‑time audio/video live streaming application, covering server setup, client media capture, video segmenting with FFmpeg, and providing complete code examples for each step.

JavaScriptPHPSwoole
0 likes · 6 min read
Building a Real-Time Audio/Video Live Streaming Project with WebRTC and Swoole
php Courses
php Courses
Nov 29, 2022 · Backend Development

Setting Up LaravelS with Swoole in Laradock and Performance Comparison

This tutorial walks through installing LaravelS with Swoole using Laradock, configuring Nginx and Docker, adjusting PHP versions, running AB performance tests, and shows that the request‑per‑second results are comparable to a standard Laravel 9 setup.

LaravelSwoole
0 likes · 6 min read
Setting Up LaravelS with Swoole in Laradock and Performance Comparison
dbaplus Community
dbaplus Community
Nov 5, 2022 · Backend Development

How Bilibili Scaled Live Streaming from LAMP to a Multi‑Million‑User Microservice Platform

This article chronicles Bilibili Live's eight‑year journey from a simple LAMP monolith to a sophisticated microservice architecture, detailing the migration to Swoole‑based services, Docker containerization, Golang adoption, hot‑key handling, request amplification mitigation, and the creation of a high‑performance Envoy‑based gateway.

BilibiliDockerEnvoy
0 likes · 25 min read
How Bilibili Scaled Live Streaming from LAMP to a Multi‑Million‑User Microservice Platform
Bilibili Tech
Bilibili Tech
Sep 23, 2022 · Industry Insights

From LAMP to Microservices: Bilibili Live’s 8‑Year Architecture Evolution

This article chronicles Bilibili Live’s eight‑year journey from a simple LAMP monolith to a highly available microservice ecosystem, detailing the technical motivations, design principles, Swoole‑based services, containerization, Golang migration, custom gateways, hot‑key handling, and operational safeguards that enabled millions of concurrent viewers.

BilibiliGolangMicroservices
0 likes · 27 min read
From LAMP to Microservices: Bilibili Live’s 8‑Year Architecture Evolution
php Courses
php Courses
May 18, 2022 · Backend Development

Aggregating High‑Concurrency Requests with Swoole Coroutine in PHP

This tutorial explains how to improve high‑concurrency order processing by aggregating requests and using batch inserts with Swoole coroutines in PHP, illustrating the concept with elevator‑like logic and a complete code example.

Request AggregationSwoolecoroutine
0 likes · 6 min read
Aggregating High‑Concurrency Requests with Swoole Coroutine in PHP
58 Tech
58 Tech
May 21, 2021 · Backend Development

Designing High‑Concurrency Systems with PHP Object Pooling and Swoole IPC

The article explains the core idea of pooling to trade space for time, analyzes the shortcomings of in‑process connection pools in PHP‑FPM, proposes long‑connection and cross‑process pooling solutions using Swoole’s IPC mechanisms, and demonstrates significant CPU and latency improvements in a real‑world high‑concurrency backend.

Connection PoolingIPCPHP
0 likes · 9 min read
Designing High‑Concurrency Systems with PHP Object Pooling and Swoole IPC
php Courses
php Courses
Feb 3, 2021 · Backend Development

Getting Started with Hyperf: Installation, Configuration, and Running the Swoole‑Based PHP Coroutine Framework

This guide introduces Hyperf, a high‑performance PHP coroutine framework built on Swoole, explains its CLI vs PHP‑FPM modes, lists required system extensions, shows how to configure Composer mirrors, install the skeleton, disable Swoole short names, start the server, and resolve common port‑conflict issues.

CLIDockerHyperf
0 likes · 5 min read
Getting Started with Hyperf: Installation, Configuration, and Running the Swoole‑Based PHP Coroutine Framework
php Courses
php Courses
Nov 10, 2020 · Backend Development

Building a Simple Chatroom with WebSocket and Swoole (PHP)

This tutorial demonstrates how to create a lightweight chatroom by combining WebSocket on the front end with Swoole's WebSocket server in PHP, covering project setup, required environment, client‑side HTML/JS, server‑side PHP code, and steps to run and test the application.

BackendChatroomJavaScript
0 likes · 8 min read
Building a Simple Chatroom with WebSocket and Swoole (PHP)
360 Quality & Efficiency
360 Quality & Efficiency
Nov 6, 2020 · Backend Development

Introduction to Swoole and Its Integration with ThinkPHP5

This article introduces Swoole as a high‑performance asynchronous PHP engine, explains its differences from traditional PHP execution, and provides step‑by‑step guidance on integrating Swoole with ThinkPHP5, including a complete code example and key implementation notes.

AsyncPHPSwoole
0 likes · 7 min read
Introduction to Swoole and Its Integration with ThinkPHP5
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Aug 14, 2020 · Backend Development

Introducing Fend: A High‑Performance Open‑Source PHP Framework from TAL Education

The article presents Fend, an open‑source high‑performance PHP framework released by TAL Education's technology team, detailing its design philosophy, feature set, dual FPM/Swoole engine support, performance benchmarks, installation procedures for multiple versions, and its widespread adoption across the company's online services.

FrameworkPHPSwoole
0 likes · 8 min read
Introducing Fend: A High‑Performance Open‑Source PHP Framework from TAL Education
dbaplus Community
dbaplus Community
Jul 2, 2020 · Backend Development

Why High Concurrency Is Really About Squeezing CPU Performance

The article explains that high concurrency in distributed systems is measured by QPS, but its essence lies in effectively utilizing CPU resources, discusses control‑variable analysis of the HTTP request flow, compares PHP‑Swoole and Java‑Netty implementations, and shows how coroutine‑based designs can dramatically boost throughput when I/O blocking is present.

Backend PerformanceNettySwoole
0 likes · 15 min read
Why High Concurrency Is Really About Squeezing CPU Performance
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Jun 12, 2020 · Backend Development

Understanding Swoole Coroutines and Asynchronous I/O in PHP

This article explains the fundamentals of Swoole coroutines, how they differ from threads and processes, the relationship between coroutines and asynchronous I/O, and provides practical code examples for timers, tasks, and concurrent DNS queries to help PHP developers write efficient, non‑blocking backend applications.

PHPSwooleasynchronous I/O
0 likes · 14 min read
Understanding Swoole Coroutines and Asynchronous I/O in PHP
58 Tech
58 Tech
Jun 12, 2020 · Backend Development

Service Refactoring and Performance Optimization for 58 Rental Business System

This article presents a comprehensive case study on how the 58 rental platform refactored its services and optimized performance by splitting common modules, adopting async interfaces, leveraging nginx + swoole, implementing data caching and pre‑loading, resulting in significant reductions in page rendering time and service latency across major app pages.

Backend ArchitectureMicroservicesNginx
0 likes · 9 min read
Service Refactoring and Performance Optimization for 58 Rental Business System
Laravel Tech Community
Laravel Tech Community
May 29, 2020 · Backend Development

Swoole Coroutine Channel: Overview, Methods, and Example Usage

This article introduces Swoole's Coroutine Channel for inter‑coroutine communication, explains its memory‑efficient implementation and key methods such as __construct, push, pop, stats, close, length, isEmpty, isFull, capacity and errCode, and provides a complete PHP example demonstrating producer‑consumer behavior.

AsyncChannelPHP
0 likes · 5 min read
Swoole Coroutine Channel: Overview, Methods, and Example Usage
Laravel Tech Community
Laravel Tech Community
May 28, 2020 · Backend Development

Using Swoole Atomic for Lock‑Free Counters in PHP

Because PHP lacks native multithreading, Swoole adopts a multi‑process model and provides the Atomic class for lock‑free integer operations, which can be shared across worker processes; this guide explains its purpose, configuration, usage patterns, code examples, and important pitfalls.

BackendPHPServer
0 likes · 3 min read
Using Swoole Atomic for Lock‑Free Counters in PHP
Laravel Tech Community
Laravel Tech Community
May 24, 2020 · Backend Development

Creating a TCP Server with Swoole in PHP

This article demonstrates how to build a high‑performance asynchronous TCP server using the Swoole extension in PHP, covering server creation, event callbacks for connection, data reception, and closure, as well as testing the server with telnet or netcat.

AsyncBackendPHP
0 likes · 3 min read
Creating a TCP Server with Swoole in PHP
Laravel Tech Community
Laravel Tech Community
May 23, 2020 · Backend Development

Mastering Swoole Timer: tick, after, clear and Advanced Methods Explained

This article provides a detailed guide to Swoole's millisecond‑precision timer API, covering the underlying epoll_wait/setitimer implementation, the static methods tick(), after(), clear() and additional utilities such as clearAll(), info(), list(), stats() and set(), with full syntax, usage examples and code snippets for both synchronous and asynchronous processes.

AsynchronousBackendPHP
0 likes · 5 min read
Mastering Swoole Timer: tick, after, clear and Advanced Methods Explained
Laravel Tech Community
Laravel Tech Community
May 21, 2020 · Backend Development

Implementing a WebSocket Server and Client with Swoole in PHP

This tutorial demonstrates how to build a WebSocket server using PHP's Swoole extension and a corresponding HTML/JavaScript client, covering protocol basics, server-side event handling for connections, messages, and closures, and showing the complete code and execution results for real‑time bidirectional communication.

PHPSwooleWebSocket
0 likes · 4 min read
Implementing a WebSocket Server and Client with Swoole in PHP
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Mar 20, 2020 · Backend Development

Optimizing Data Transfer in Swoole 4.5: Reducing Memory Copies Between Master and Worker Processes

This article analyzes the performance bottleneck in Swoole 4.5 where the master process copies data twice before delivering it to worker processes, explains the underlying C functions and data flow, and presents two code‑level optimizations that consolidate buffers and eliminate redundant copies, resulting in a four‑fold speedup of the onMessage callback.

IPCPHPSwoole
0 likes · 17 min read
Optimizing Data Transfer in Swoole 4.5: Reducing Memory Copies Between Master and Worker Processes
21CTO
21CTO
Feb 28, 2018 · Backend Development

Why PHP Still Thrives in 2018: Essential Tools and Strategies for Modern Developers

This article examines PHP's enduring market share, highlights its practical design and powerful standard library, and outlines six key recommendations—including Composer, PHP 7, PSR standards, Swoole, Laravel, and Phar packaging—to help developers stay competitive in the evolving backend landscape.

BackendComposerLaravel
0 likes · 6 min read
Why PHP Still Thrives in 2018: Essential Tools and Strategies for Modern Developers
ITPUB
ITPUB
Oct 16, 2017 · Backend Development

Why PHP Is Often Called the Worst Mainstream Language

The article examines why PHP is often labeled the worst mainstream language, highlighting its chaotic function naming, inconsistent APIs, lack of async I/O and multithreading, historical design flaws, community attitudes, and recent improvements like PHP 7, while acknowledging its early deployment advantages.

PHPSwoolebackend-development
0 likes · 9 min read
Why PHP Is Often Called the Worst Mainstream Language
21CTO
21CTO
Feb 28, 2017 · Operations

How to Build a Robust Init Script for a Swoole Mail Server on Linux

This guide explains how to create a full-featured init script for a Swoole‑based mail service, enabling start, stop, restart, reload, and status commands, plus automatic boot‑time activation, with complete shell code and step‑by‑step instructions.

LinuxProcess ControlService Management
0 likes · 6 min read
How to Build a Robust Init Script for a Swoole Mail Server on Linux
21CTO
21CTO
Dec 13, 2015 · Backend Development

Why PHP7+Swoole Beats Nginx and Go in High‑Concurrency Benchmarks

A benchmark using ApacheBench compares Nginx static serving, a Golang HTTP server, and a PHP7+Swoole server under 100‑concurrent connections for one million requests, showing PHP7+Swoole achieving roughly 75 % higher QPS than both Nginx and Golang, along with detailed environment, code, and resource usage data.

GolangSwoolebenchmark
0 likes · 16 min read
Why PHP7+Swoole Beats Nginx and Go in High‑Concurrency Benchmarks
21CTO
21CTO
Sep 25, 2015 · Backend Development

Building a High‑Performance Asynchronous MySQL Proxy with Swoole

This article explains how to create an asynchronous MySQL proxy server using the Swoole extension, detailing connection pooling, idle/busy management, request queuing, and providing a complete PHP implementation that reduces MySQL load and network overhead for PHP applications.

AsynchronousConnection PoolPHP
0 likes · 6 min read
Building a High‑Performance Asynchronous MySQL Proxy with Swoole
21CTO
21CTO
Sep 19, 2015 · Backend Development

Can PHP + Swoole Compete with C++ for High‑Concurrency Servers?

The article examines why PHP’s lack of native multithreading isn’t a fatal flaw for high‑concurrency servers when paired with Swoole, compares process‑based and thread‑based models, debunks performance myths, and highlights the productivity benefits of using PHP over C++.

PHPSwoolebackend-development
0 likes · 5 min read
Can PHP + Swoole Compete with C++ for High‑Concurrency Servers?
21CTO
21CTO
Sep 16, 2015 · Backend Development

How PHP7 Boosts Performance: Key Engine Optimizations Explained

This article examines the PHP7 alpha release, detailing how its revamped Zend engine, memory management, hash handling, and new opcodes dramatically improve execution speed, while also introducing type declarations, exception handling, anonymous classes, and the Swoole extension for asynchronous programming.

JITSwooleZend engine
0 likes · 10 min read
How PHP7 Boosts Performance: Key Engine Optimizations Explained
21CTO
21CTO
Sep 8, 2015 · Backend Development

Can PHP + Swoole Rival C++ for High‑Concurrency Servers? Myths Explained

Although many claim PHP with Swoole is unsuitable for high‑concurrency servers compared to C++, this article explains how PHP’s process model, Swoole’s Table and Atomic features, and careful design can achieve comparable performance while offering faster development, and discusses the trade‑offs of multithreading versus multiprocessing.

PHPSwoolebackend-development
0 likes · 6 min read
Can PHP + Swoole Rival C++ for High‑Concurrency Servers? Myths Explained