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.

  • TerminalFoo@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Sounds like the issue is with your setup. Not Cloudflare. Figure out why android is double uploading.

  • stupv@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Unrelated, how do you have 50 gigs of ram? It’s not divisible by 4?

    • Xiaoming94@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      My total ram in MiBs (Mebibytes) are 48087. The rest is math shenanigans. Portainer on the othehand shows my RAM memory as 50.6 GB (Gigabytes). So you can do the math and verify the translations ;)

    • AnApexBread@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      RAM doesn’t need to be divisible by 4. You can mix and match sizes of RAM it’s just not advisable.

      • stupv@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I don’t believe ddr4/5 are available in 2gb sticks, so everything would be divisible by 4 - a mixture of 4/8/16gb dimms

  • zfa@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    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.

    • Xiaoming94@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year 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