Reverse proxy overhead issue

Hello everyone,

Issue I came here with is more about what to expect from Caddy rather then ask for detailed instructions yet.

Symfony app docker container with frankenphp in worker mode. It works fine. Staging server (OVH VPS 6 vCore, 12 GB RAM, nvme) benchamarked with wrk tests up to -t4/t8 -c800 is doing around 13-15k RPS on /health endpoint which is simple 200 ok from symfony controller.

When adding TLS, it drops down to 10-11k RPS. Expected, it’s ok value for me.
Real issue begins when I add Caddy as reverse proxy with SSL termination + http communication with frankenphp instance.
Immediete RPS dropdowns to 5-5-5k RPS. So, its like 50% overhead. 200% cpu usage during tests for proxy Caddy only.

Is this machine simply too low for such an scenario? I don’t need to load balance anything, it’s a staging app server.
If any of You think it may be missconfiguration, tell me, I’ll provide more detailed inforrmations. In this step I want to exclude fundamental factors.

So, what are the system requirements for Caddy as reverse proxy for high throghput?