0

Is it possible to run cakePHP application and reactPHP as its web-server? I heard a huge performance gain by using reactPHP. However, I have not seen anyone have leverage on existing matured PHP framework such as cake.

ndm
  • 59,784
  • 9
  • 71
  • 110
norrin
  • 171
  • 8
  • 2
    Yes, it's possible. I don't have the time to write a proper answer right now, but you can check out **http://slides.com/wyrihaximus/getting-started-with-reactphp-cakfest-2016** (**https://github.com/WyriHaximus/cakephp-reactphp-cakefest2016**) for something to start with. – ndm Aug 31 '17 at 09:30

1 Answers1

2

Yes, it's possible.

We've implemented a Bridge for PHP-PM (based on ReactPHP) here https://github.com/CakeDC/cakephp-phppm

The plugin manages the bootstrapping and handling of an application request, and some experimental benchmarks proved that, in specific applications, it would provide a substantial performance boost (2x requests/second).

steinkel
  • 1,156
  • 9
  • 15