FrankenPHP 1.3: Performance Overhaul, New Developer Tools, and Advanced Metrics

frankenphp 1.3 release

FrankenPHP has unveiled version 1.3, marking a significant leap in PHP server performance and developer experience. This update introduces a host of new features and optimizations. A new blog post published by Kévin Dunglas explains the features included in the release.

The standout improvement is a "54% increase in efficiency" over version 1.2.5, achieved through a major refactor of the thread engine and $_SERVER superglobal handling. Benchmarks confirm this performance boost without requiring user-side adjustments.

A key addition is the "file watcher feature," which allows developers to specify files or directories for automatic monitoring. Changes trigger background worker restarts, eliminating the need for manual server resets. This enhancement leverages the efficient e-dant/watcher library, seamlessly integrating with frameworks like Symfony and Laravel.

Version 1.3 also debuts "dedicated Prometheus metrics," which enable precise monitoring of PHP threads, worker activity, and request processing. These metrics support autoscaling and configuration optimization.

Other highlights include improved error handling for worker failures, the integration of Mercure 0.17 for real-time data pushing, and an easy one-line installation script for static binaries.

Packed with bug fixes and FreeBSD support, FrankenPHP 1.3 is a robust update for developers and production environments alike. The full changelog provides more details.

Source Reference

URL
https://dunglas.dev/2024/11/frankenphp-1-3-massive-performance-improvements-watcher-mode-dedicated-prometheus-metrics-and-more/

Disclosure: This content is produced with the assistance of AI.

Disclaimer: The opinions expressed in this story do not necessarily represent that of TheDropTimes. We regularly share third-party blog posts that feature Drupal in good faith. TDT recommends Reader's discretion while consuming such content, as the veracity/authenticity of the story depends on the blogger and their motives. 

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please let us know in the comments below and we will try to address the issue as best we can.

Related People

Advertisement Here

Upcoming Events

Latest Opportunities

Advertisement Here