wodby / php

Generic PHP docker container images
MIT License
156 stars 103 forks source link

PHP performance concerns for musl library #206

Open rodrigoaguilera opened 1 day ago

rodrigoaguilera commented 1 day ago

I stumbled upon this piece of docs for FrankenPHP claiming that musl is not appropriate for production environments due to performance https://frankenphp.dev/docs/performance/#dont-use-musl

Is there any plans to have a glibc variant?

The only issue I found is the from 7 years ago https://github.com/wodby/php/issues/4

If using glibc is a big undertaking maybe some of the mitigations suggested by FrankenPHP can be implemented like using mimalloc

I just want to know what are your thoughts. It would be a better situation if FrankenPHP claims were also backed by some detailed performance report so we would be aware of what percentages are we talking about.

rodrigoaguilera commented 1 day ago

Found some info with percentages

https://gitlab.alpinelinux.org/alpine/aports/-/issues/14381