Mastering Swoole PHP: Build High Performance Concurrent System with Async and Coroutines
Language: English
Published by Transfon Ltd, 2020
- Softcover
- Used

Seller: medimops, Berlin, Germanymedimops
AbeBooks seller since May 10, 2010
Condition: Used - Very good
£ 3.87
Quantity: 1 available
Add to basketItem description from seller
Gut/Very good: Buch bzw. Schutzumschlag mit wenigen Gebrauchsspuren an Einband, Schutzumschlag oder Seiten. / Describes a book or dust jacket that does show some signs of wear on either the binding, dust jacket or pages.
Seller Inventory # M01838134409-V
- Title
- Mastering Swoole PHP: Build High Performance Concurrent System with Async and Coroutines
- Author
- Dou, Bruce
- Publisher
- Transfon Ltd
- Publication year
- 2020
- Condition
- very good
- Binding
- Soft cover
- Language
- English
- ISBN 10
- 1838134409
- ISBN 13
- 9781838134402
Introduction
Introducing 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 and how advanced PHP works.
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
- Stateless PHP-FPM
- Performance problem
- Concurrency problem
- PHP CLI
- Executor and execution containers
- Lifecycle
- Decoupling and layers
- Queue, Buffer, Buffering and Batching
- Pipe and Channel
- Context, stack and context switch
- Singleplex vs multiplexing
- Asynchronous
- State, stateless, stateful and pooling
- File descriptor, I/O stream
- Exceptions
- Protocol
- Concurrency and I/O model
- Event driven and callbacks
- Facts, costs and limitation
- Rate limiting & Concurrency Limiting
- User mode and kernel mode
- Memory management
- Process, Thread and Coroutine
- Socket and Networking I/O
- Blocking IO and Non-blocking IO
- Callbacks, await async vs coroutines
- TCP/UDP Protocol
- HTTP Protocol
- Websocket Protocol
- HTTP2 Protocol and GRPC
- Custom protocol
- Swoole PHP extension
- Variable and states
- Event loop and asynchronous I/O
- Swoole PHP Coroutine
- Multiple execution modes
- Swoole Server
- Swoole Server Workers
- Swoole Process
- Swoole Clients
- Swoole Table
- Swoole Timer
- Swoole Coroutine and Channel
- HTTP services
- Data processing
- HTTP and PHP-FPM proxy
- Sidecar process
- TCP service
- WebSocket Server
- Task Scheduler
- Producer and Consumer
- M:N concurrency mapping
- Connection polling
- Web spider and scraper
- PUBSUB system
- Server-sent events (SSE)
- Integrate with Linux process
- Service Governance: RPC and gRPC
"Synopsis" may belong to another edition of this title.
Shipping rates from Germany to U.S.A.
| Item | 10 to 20 business days | 10 to 20 business days |
|---|---|---|
| First item | £ 8.59 | £ 17.19 |
Payment methods
Store description
**WILLKOMMEN** im AbeBooks Shop von medimops - dein Onlineshop mit der größten Auswahl an Second Hand Büchern. Stöber dich durch über 4 Millionen Artikel und spare bis zu 70 % im Vergleich zum Neupreis. Wir prüfen alle Artikel sorgfältig auf Qualität und Funktionalität. **WELCOME** to the medimop's AbeBooks shop, the online shop with a large range of second-hand books. Browse more than 4 million articles and save up to 70% on the new price. All our articles are quality checked. ** BIENVENUE ** dans la boutique AbeBooks de momox shop! Spécialiste des articles culturels d'occasion, nous vous offrons une gamme diversifiée de livres d'occasion. Découvrez nos offres et économisez jusqu'à 70% du prix neuf! Nous grarantissons tous nos articles en bon état. ** BENVENUTI ** nello shop medimops di AbeBooks, lo shop online per i libri usati. Abbiamo piu´di 4 milioni di articoli e potete risparmiare fino al 70% rispetto al nuovo. Tutti i nostri prodotti sono controllati a mano per garantire la massima qualità. ** BIENVENIDO ** a la tienda de medimops en AbeBooks, la tienda online con una gran oferta de libros de segunda mano. Navegue por más de 4 millones de artículos y ahorre hasta un 70% sobre el precio nuevo. Todos nuestros artículos son de calidad comprobada. …
Seller's business information
momox SE
Schreiberhauer Straße 30
Berlin, Germany 10317
Terms of sale
momox SE | Schreiberhauer Straße 30 | 10317 Berlin
represented by the Board of Management Heiner Kroke (spokesman) and Christian von Hohnhorst
VAT ID: DE266608643
Commercial Register HRB 236261 B | AG Berlin Charlottenburg
Right of withdrawal
If you are a consumer you can withdraw from the contract in accordance with the following. Consumer means any natural person who is acting for purposes which are outside his trade, business, craft or profession.
Information regarding the right of withdrawal
Statutory right to withdraw
You have the right to withdraw from this contract within 14 days without giving any reason.
The withdrawal period will expire after 14 days from the day on which you acquire, or a third party other than the carrier and indicated by you acquires, physical possession of the last good or the last lot or piece.
To exercise the right of withdrawal, electronically fill in and submit a clear statement on our website, under "My Purchases" in "My Account". We will communicate to you an acknowledgement of receipt of such a withdrawal on a durable medium (e.g. by e-mail) without delay.
To meet the withdrawal deadline, it is sufficient for you to send your communication concerning your exercise of the right of withdrawal before the withdrawal period has expired.
Effects of withdrawal
If you withdraw from this contract, we will reimburse to you all payments received from you, including the costs of delivery (except for the supplementary costs arising if you chose a type of delivery other than the least expensive type of standard delivery offered by us).
We may make a deduction from the reimbursement for loss in value of any goods supplied, if the loss is the result of unnecessary handling by you.
We will make the reimbursement without undue delay, and not later than 14 days after the day on which we are informed about your decision to withdraw from this contract.
We will make the reimbursement using the same means of payment as you used for the initial transaction, unless you have expressly agreed otherwise; in any event, you will not incur any fees as a result of such reimbursement.
We may withhold reimbursement until we have received the goods back, or you have supplied evidence of having sent back the goods, whichever is the earliest.
You shall send back the goods or hand them over to medimops, Leipzig, Germany, without undue delay and in any event not later than 14 days from the day on which you communicate your withdrawal from this contract to us. The deadline is met if you send back the goods before the period of 14 days has expired. You will have to bear the direct cost of returning the goods. You are only liable for any diminished value of the goods resulting from the handling other than what is necessary to establish the nature, characteristics and functioning of the goods.
Exceptions to the right of withdrawal
The right of withdrawal does not apply to:
- The delivery of newspapers, journals or magazines with the exception of subscription contracts; and
- The supply of digital content which is not supplied on a tangible medium (e.g. on a CD or DVD) if you accepted when you placed your order that we could start to deliver it, and that you could not withdraw once delivery had started.