Hello Reddit!
Recently I’ve got myself back into the self-hosting hobby and setup Nextcloud on a server i built myself. (Ryzen 7 5700X, Nvidia RTX 2060 Super, 50 GB RAM XMP enabled - orwhatever the name is on AMD side) Running Debian Stable Bookworm. My services are hosted as docker containers and I’m exposing them throught the nginx-proxy container that has 443 and 80 forwarded.
Currently, I’m using Cloudflare as my DNS provider to protect and proxy my setups. However, I’m not 100% happy with the performance I’m getting from the Cloudflare proxy. Plus my Nextcloud app on android is running alot of double uploads - way more than expected. As a sidenote, I’m also not running my collabora/code server behind a cloudflare proxy because I was experiencing weird issues of some assets in Nextcloud office not rendering correctly if I do. Thus, I’m considering moving some of my services to Cloudflare Tunnel instead.
Now I’m wondering, is there any form of performance benefits between cloudflare proxy and cloudflare tunnel? I know that the main benefit for cloudflare tunnel is security since you have establish the tunnel using cloudflared before you can access the service. But I’m more curious about the difference in performance between these two solutions.
Cloudflare Tunnel’s cloudflared links your home to two closest data centres and so should (?) be quicker, but response times would depend on where a user is accessing your service from.
However, given residential ISP speeds and peering in most parts of the world you’d be unlikely to notice any real difference between the two and other than that ‘last leg’ access tech the processing within Cloudflare’s flow is the same whether you use cloudflared or direct proxying.
Fair point, I don’t remember whether my plan was 1000/1000 or 1000/100. Anyways, you are probably right about the difference in performance between Tunnel and Proxy doesn’t matter here