Tagged articles
Fibers
16 articles · Page 1 of 1

21CTOMay 17, 2026 · Backend Development
PhenixPHP is an async, concurrent PHP framework built on AmpHP and PHP Fibers that runs on the CLI, offering non‑blocking I/O, HTTP server, routing, DI, database tools, queues and expressive syntax, aiming to enrich the PHP ecosystem much like Express.js does for Node.js.
AmpHPFibersPHP
0 likes · 3 min read

This article explains that PHP Fibers are not asynchronous threads but a cooperative multitasking mechanism that lets code pause, do other work, and resume with full context, showing how they simplify async libraries, improve API design, and when they should or shouldn’t be used.
ConcurrencyFibersPHP
0 likes · 22 min read

TrueAsync brings true asynchronous capabilities to PHP by leveraging Fibers and an event‑loop, enabling thousands of concurrent I/O operations in a single thread, dramatically improving performance, reducing resource usage, and opening new possibilities for high‑performance APIs, real‑time apps, and microservices.
BackendFibersPHP
0 likes · 7 min read

This article explains what coroutines are, how PHP implements them with Generators and Fibers, compares asymmetric and symmetric designs, shows practical code examples, and outlines scenarios where coroutines improve state handling, lazy iteration, and cooperative multitasking in backend applications.
CoroutinesFibersPHP
0 likes · 17 min read

This article explains PHP 8.1 Fibers, describing their cooperative multitasking mechanism, how suspension and resumption affect the main script, why they do not provide true asynchronous execution, and how they can be combined with event loops for more efficient non‑blocking code in backend development.
BackendConcurrencyFibers
0 likes · 7 min read

This article explains PHP 8.1's Fibers feature, describing how they enable lightweight cooperative multitasking, showing basic and advanced code examples for non‑blocking I/O, parallel API/database calls, and large‑file processing, and discusses benefits, use‑cases, and important limitations.
ConcurrencyFibersnon-blocking I/O
0 likes · 12 min read

This article explains PHP 8.1 Fibers, covering their conceptual model, the final \Fiber class API, exception handling, and real‑world code samples such as a simple echo program and a file‑copy utility with progress reporting.
Backend DevelopmentFibersPHP
0 likes · 13 min read

This article explains PHP 8.0 Fibers as lightweight coroutines, why they improve high‑concurrency performance, and provides step‑by‑step Swoole‑based code examples for creating connection pools and managing asynchronous tasks in backend applications.
FibersPHPSwoole
0 likes · 4 min read

The article outlines PHP 8.1’s major enhancements—including enums, readonly properties, advanced callable syntax, fibers, intersection types, never return type, final class constants, octal literals, and performance improvements—providing code comparisons that illustrate the new syntax and behavior.
8.1FibersPHP
0 likes · 9 min read

This article introduces the ten most important new features of PHP 8.1—including enums, fibers, the never return type, readonly properties, final class constants, array_is_list(), fsync/fdatasync, string‑key array unpacking, the $_FILES full_path key, and the IntlDatePatternGenerator class—each explained with clear code examples.
BackendFibersFinal
0 likes · 15 min read


21CTONov 26, 2021 · Backend Development
The PHP 8.1 release introduces enumerations, first‑class read‑only properties, the never return type, array_is_list, Fibers and other enhancements while also outlining deprecations and the newly formed PHP Foundation that supports the language’s future development.
Fibersbackend-developmentenumerations
0 likes · 5 min read

This article explains the concept of PHP 8.1 Fibers, compares synchronous and parallel HTTP request handling, shows how to implement simple asynchronous workflows with sockets or ReactPHP, and discusses why Fibers are low‑level building blocks rather than a complete async solution.
BackendConcurrencyFibers
0 likes · 8 min read

PHP 8.1 has entered the Alpha stage, introducing enums, Fibers, new hashing algorithms, improved resource handling, macOS‑specific PHP‑FPM enhancements, and performance optimizations, with a detailed schedule for subsequent Alpha, Beta, and final GA releases later this year.
FibersPHP8.1enums
0 likes · 3 min read


JavaEdgeMay 17, 2021 · Backend Development
The article explains the core of concurrent programming—synchronization, mutual exclusion, and task division—introduces the Thread‑Per‑Message pattern, its drawbacks with heavyweight Java threads, and shows how Java's lightweight Loom fibers can implement the pattern efficiently for moderate concurrency scenarios.
FibersJavaLoom
0 likes · 5 min read

PHP 8.1 is being developed with an Alpha release slated for June and a GA launch in November, introducing enums, new fsync/fdatasync functions, inheritance cache performance gains, Fiber support for async programming, and added xxHash and MurmurHash V3 hashing algorithms.
FibersPHP8.1enums
0 likes · 2 min read

Both ES6 generators and node-fibers enable coroutine-style asynchronous flow in Node.js without blocking the entire process, but they differ in syntax, safety, flexibility, and invasiveness, prompting developers to weigh the trade‑offs between readability and minimal code intrusion.
CoroutinesFibersNode.js
0 likes · 3 min read
