3

Configuring the Swoole Application Server

With Laravel Octane, instead of RoadRunner, you can use another type of application server. In addition to RoadRunner, we can configure and use Swoole. Both tools allow you to implement an application server. Obviously, there are differentiating elements between the two tools, and sometimes deciding which one to use can be difficult.

As we saw, RoadRunner is a separate executable, which means that its installation, as seen in Chapter 2, Configuring the RoadRunner Application Server, is quite simple and does not affect the heart of the PHP engine. This means that in all probability, it has no side effects on other tools that work in the heart of the engine. These tools (such as Xdebug) are typically ...

Get High Performance with Laravel Octane now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.