laravel / ideas

Issues board used for Laravel internals discussions.
938 stars 28 forks source link

High Performance Laravel with PHP Fibers #2540

Closed rhzs closed 3 years ago

rhzs commented 3 years ago

Description

Currently we know that PHP 8.1 adopting Fibers. https://wiki.php.net/rfc/fibers I believe that it will be tremendous performance gain after implementing Fibers.

Area that could be implement it with Fibers:

  1. Laravel HTTP Client
  2. Database Connections
  3. Laravel Unit Testing
  4. Laravel Request/Response context
themsaid commented 3 years ago

Fibers on its own doesn't offer asynchronous code execution.