---
title: "FrankenPHP vs PHP-FPM"
url: https://daily.dev/posts/frankenphp-vs-php-fpm-o1flbraql
source_url: https://daily.dev/posts/frankenphp-vs-php-fpm-o1flbraql
type: freeform
source: "Code Distilled"
author: "Maksym Tymofeiev"
published: 2025-09-08T19:15:23.765Z
updated: 2025-09-10T14:55:52.778Z
tags: ["webdev", "performance", "php"]
reading_time: 1
upvotes: 41
comments: 8
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# FrankenPHP vs PHP-FPM

**[Code Distilled](https://daily.dev/sources/distilled)** · [@rucaua](https://daily.dev/rucaua) · 1 min read · 41 upvotes · 8 comments

## Summary

A performance comparison between FrankenPHP and PHP-FPM examining CPU usage, memory consumption, and operational costs. The analysis reveals that FrankenPHP with workers offers superior performance for high-traffic applications, providing lower latency and higher throughput. The comparison includes recommendations for when to choose each solution based on traffic patterns and infrastructure requirements.

## Content

https://vulke.medium.com/frankenphp-vs-php-fpm-part-3-cpu-memory-and-the-hidden-cost-of-doing-nothing-92bfee7b00a5

![image](https://media.daily.dev/image/upload/s--GHoZPctB--/f_auto/v1757358909/ugc/content_a6b2b086-d1de-4645-a83c-b264ae468308?_a=BAMClqZW0)

Long story short:

>**Use FrankenPHP (especially with workers) if:**
>
>You’re running high-traffic applications or APIs that receive constant traffic.
>
>You want lower latency and higher throughput per container or per VM.
>
>You benefit from built-in server capabilities (like static file serving, Caddy integrations, HTTP/2/3).
>You’re building modern, containerized applications and want to reduce server complexity.

*Warning!!! Article posted on 	~~piece of sh.t ~~ "medium" so sometimes they ask money, but article too good to avoid posting*

## Community discussion

Top comments from developers on daily.dev.

**@hazington** · 6 upvotes

> The benchmark is incomplete, because the impact on latency and throughput of the HTTP server is not mentioned. We don't even no what HTTP server was used and how it was configured. I also tested FrankenPHP against my performance optimized nginx HTTP server with FPM and there was no actual performance difference.
>
> FrankenPHP comes with an optimized Caddy web server and if you don't optimize nginx when comparing it against FPM you can't get authentic benchmarks.
>
> I acknowledge the good default settings in FrankenPHP and that it comes with Let's Encrypt. It's a simple and complete HTTP runtime...

**@vjmkevin** · 1 upvotes

> It's important for me to clarify, that I have **not** read the article, but I have read the title and the meme/image here on daily.dev. My thoughts, avoid premature optimization, yes. If you have 20 daily active users and you already have a webserver and PHP-FPM setup which works, then stick with it. But if you're either experiencing performance issues, then consider optimizing your existing setup or switch to Frankenphp. But if you're starting a new project, I see no reason to not just go for Frankenphp from the start, with the great default settings and performance and Auto-SSL. Also an...

**@gresakg** · 1 upvotes

> Just BTW: Medium is fine. I pay for it and I get valuable content on it. Other people get payed for creating content.

**@minhnh** · 0 upvotes

> no one mentioned the ability to mount everything under project root to /app in frankenphp docker and it would automagically run our laravel app? this feature alone is so much worth switching to it

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#performance](https://daily.dev/tags/performance), [#php](https://daily.dev/tags/php)

[View this post on daily.dev](https://daily.dev/posts/frankenphp-vs-php-fpm-o1flbraql)
