this post was submitted on 23 Oct 2023
1 points (100.0% liked)

Self-Hosted Main

502 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 11 months ago (1 children)

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.

[โ€“] [email protected] 1 points 11 months ago

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