Talk
CSP Programming in PHP Duration 45m

CSP (Communicating Sequential Processes) is a formal language to describe patterns of communication in concurrent systems. It's the concurrency model used in Golang and Swoole. In this talk, I will discuss what CSP is, how to use it in PHP for concurrent processing, and why it's better than asynchronous callbacks. A variety of examples is used to discuss key concepts like coroutines, channels, and defer in CSP.

About this talk

This talk was initially presented once at NomadPHP.com on August 20, 2020 (click here for video stream and here for slides). Since then, new materials have been updated, with better examples included. If you are interested in building high-performance applications with PHP and want to know more about Swoole, this talk is for you.

This talk at your event?

Contact the speaker