Suspending Reality: PHP Fibers in Drupal Core and beyond
PHP Fibers were introduced in 8.1, and have recently started gaining adoption in Drupal core, resulting in massive performance improvements in Drupal 11.3 and the promise of making Drupal applications more performant and capable of handling larger amounts of traffic.
This is a session for PHP/Drupal Developers who are completely unfamiliar with Fibers, want to understand how they differ from other concurrent execution models, or want to dive deeper if they only know a little.
In this session we'll cover:
* The problem PHP Fibers are trying to solve
* What PHP Fibers Actually Are
* Where Fibers appear in Drupal today
* Using Fibers as a Drupal Developer
* Impact on performance, DX, and architecture
* Debugging, stack traces, error handling, and visibility
If you write PHP then this session will give you a grounding to use Fibers in your own projects or know what you're doing if you find yourself debugging through them in other people's code.