Edit product

Mastering Swoole PHP - Build concurrent system with async and coroutines


The book introduces a new execution model of PHP applications, how Swoole PHP works and the pitfalls of new developers coming into the Swoole PHP world.

This book is also about the general concepts behind building a high concurrency and high-performance web system and how these concepts are implemented in Swoole PHP.

This book provides just enough Linux OS kernel knowledges with code samples helping you understand how async I/O, concurrency and coroutine works.

When start learning or using a new framework, people always carry some assumption coming from the previous experience. Some of these experiences are helpful to understand the new system, but some of these experiences may lead to the misunderstanding of the new system. This book introduces the pitfalls to avoid if you are an experienced PHP developer.

This book is for the developers who have already know the basics about how a web system works such as PHP web application or application in the other programming languages such as Node.js, Golang or Java.

After reading this book, you should be able to build a high concurrent Swoole PHP system with confidence.

Reviews from experts

"Swoole is a strategic development in the evolution of PHP, bringing high performance async-IO based apps to the mainstream of the platform. This book is everything you need to unlock that power of your new async-PHP apps!" - Zeev Suraski, co-founder and CTO of Zend Technologies.

"Swoole is a tremendous technology and a game changer for PHP developers. I started to play with it in 2017 and I created the first runtime for Expressive framework. The results have been incredible, huge performance improvement without using a web server, amazing! If you want to design asynchronous applications in PHP the book of Bruce Dou is a must." - Enrico Zimuel, Principal Software Engineer at Elastic

Table of contents

  • Introduction
  • Background
  • General concepts
  • The practical world on Linux OS
  • Connect with protocols
  • Swoole runtime and internal
  • Hands on Swoole PHP
  • Use cases and patterns
  • Hosting and deployment

Release date

26th Nov 2020

Student 50% discount code: STUDENT is also available if you are a student (proof is required and will be asked.)

You can also find the printed or kindle version on Amazon.

You've purchased this product

See it in your library

View in Library
Sorry, this item is not available in your location.
Sold out, please go back and pick another option.
  • Encrypted PDF format E-book
  • ISBN9781838134402
  • Websitehttps://swoolebook.com
  • Words40,000+
  • Pages347


Mastering Swoole PHP - Build concurrent system with async and coroutines

Enter your info to complete your purchase of Individual License


···· ···· ···· 4242
Test card



Use a different card?


pp paypal

or pay with

We do not keep any of your sensitive credit card information on file with us unless you ask us to after this purchase is complete.

or pay with

You'll be charged US$48.

Your purchase was successful!

We charged your card and sent you a receipt

    Gumroad Library

    Download from the App Store or text yourself a link to the app

    Good news! Since you already have a Gumroad account, it's also been added to your library.

    Powered by Gumroad