1 years ago 6,543 views
Presented by Demin Yin
August 20, 2020
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.
Demin is a staff engineer and technical lead on Glu Mobile’s Design Home team. He has been using PHP primarily since 2000, and has worked for a diverse group of companies throughout his career, from start-ups to some of the Bay Area’s largest international corporations, including eBay, Visa, and Glu. For years, Demin has been focused on building high-performance, secure web applications and is always exploring ways to push the limit of PHP. Demin also helps drive Open Source initiatives at Glu.