11

Asynchronous PHP

 3 years ago
source link: https://thephp.cc/news/2020/12/asynchronous-php
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
The PHP Consulting Company

PHP was designed to solve the web problem, which originally was pretty much about sending out HTML pages in response to HTTP requests. Over the years, web applications also had to perform more and more complex tasks. It is often said that PHP is missing built-in support for asynchronous processing (which, in fact, might appear in PHP 8.1).

Online PHP Conference

But there already is a very interesting solution to this problem. Holger Woltersdorf has written a library that allows sending PHP-FPM requests directly from PHP, bypassing HTTP and the web server. That way, you can make good use of PHP's existing FastCGI process management capabilities. This opens up interesting possibilities ranging from implementing efficient event handlers to using asynchronous processes for expensive computations.

Who would be better equipped to talk about hollodotme/fast-cgi-client at The Online PHP Conference than the author himself, Holger Woltersdorf?

Holger is the CEO/CTO at From Home GmbH and a freelancing IT consultant. He is also co-founder and chairman of the PHP USERGROUP DRESDEN e.V., and chairman of Interessengemeinschaft PHP.

More about Holger's presentation "FastCGI Client: (A)sync Requests and Reactive Responses with PHP-FPM"

Share this article:

Welcome to The PHP Consulting Company (thePHP.cc). We are leading experts on software development, specifically using PHP and related technologies.

You can find us on Twitter, LinkedIn, and XING.

We speak at conferences, offer best-in-breed training, publish seminal articles, and are available for consulting.

About the authors

Sebastian Bergmann is the author of PHPUnit and sets the industry standard of quality assurance.

Arne Blankerts has solutions ready before others have even understood the problem.

Stefan Priebsch inspires with a combination of new ideas and field-tested approaches.

How to get in touch with us:


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK