One of the most frustrating bottlenecks in self-hosting is uploading large files to overseas cloud servers.

Whether you are uploading a 45 GB lossless FLAC music collection to Navidrome, backing up 4K video files to FileBrowser, or transferring gigabytes of PDF datasets to an AI vector store, standard public internet routing often degrades performance to an agonizing crawl.

In this post, I will explain why international cross-border uploads stall, and how we used Cloudflare WARP and Anycast Edge Ingestion to boost our file upload throughput by 5x to 10x directly into our cloud fleet at vinhthang.dev.


🐌 The Bottleneck: Why Public Internet Uploads Are Slow

When you upload a large file from your local workstation to a cloud server located in another country (such as an Oracle Cloud data center in Tokyo or US-Ashburn), your traffic travels through the public internet:

[ πŸ’» Local Workstation ]
          β”‚  (High packet loss & ISP throttling)
          β–Ό
   [ 🌐 Congested Public Internet ] ── (15+ Slow BGP Transit Hops) ──▢ [ ☁️ Cloud Host ]

Why This Destroys Upload Speed:

  1. Submarine Cable Congestion & Packet Loss: Even a 0.5% packet loss causes TCP congestion control (like CUBIC or Reno) to cut upload throughput by over 70%.
  2. Sub-Optimal BGP Routing: ISPs frequently route packets through cheaper, circuitous international paths rather than the shortest geographical distance.
  3. High Round-Trip Time (RTT): High latency between your client and origin server causes TCP window scaling and HTTP multipart chunk acknowledgments to stall.

πŸš€ The Solution: Cloudflare WARP Anycast Acceleration

Cloudflare WARP transforms your client connection by routing traffic into Cloudflare’s ultra-low-latency private fiber backbone:

[ πŸ’» Local Workstation ]
          β”‚
          β”‚ (WireGuard / UDP tunnel in < 5ms)
          β–Ό
[ ⚑ Nearest Cloudflare Edge POP (Hanoi / HCMC / Singapore) ]
          β”‚
          β”‚ (Private High-Speed Optical Backbone / Zero Packet Loss)
          β–Ό
[ ☁️ Cloudflare Tokyo Edge ] ── (Direct Local Peering) ──▢ [ πŸ›‘οΈ Origin Server: amd10 ]

⚑ How Cloudflare WARP Turbocharges File Ingestion

1. Ultra-Low First-Mile Latency (WireGuard Engine)

  • WARP uses a heavily optimized Rust implementation of the WireGuard protocol (BoringTun).
  • Your computer establishes a persistent UDP tunnel to the nearest Cloudflare Edge Point of Presence (POP) in less than 5 milliseconds.
  • TCP connection handshakes and SSL/TLS negotiations occur locally at the edge rather than across the ocean.

2. Private Global Backbone (Bypassing the Public Internet)

  • Once your data reaches the local Cloudflare POP, it exits the public internet entirely.
  • Your file chunks travel across Cloudflare’s private 300+ Tbps global optical network, which features dedicated routing, zero ISP throttling, and near-zero packet loss.

3. Optimized Edge Ingress Configuration in Caddy

To ensure our origin server on amd10 ingested high-speed streams without buffer stalls, we tuned our Caddy Edge Gateway with non-blocking streaming:

# FileBrowser Personal Cloud Storage on vinhthang.dev
files.vinhthang.dev {
    # Allow up to 20 GB single file uploads
    request_body {
        max_size 20GB
    }
    
    # Disable response buffering for immediate real-time feedback
    reverse_proxy 10.0.0.10:8082 {
        flush_interval -1
    }
}

πŸ“Š Real-World Performance Benchmark

We tested uploading a 2.5 GB lossless audio archive to our self-hosted FileBrowser instance before and after enabling Cloudflare WARP:

Connection ModeAverage Upload SpeedTransfer TimePacket Loss
❌ Standard Public ISP Routing4.2 MB/s~10m 15s~0.8%
⚑ Cloudflare WARP Client Enabled48.6 MB/s~52 seconds!0.0%

πŸš€ Result: A 10x+ real-world speed improvement and instant saturation of our local broadband uplink!


πŸ› οΈ How to Enable Cloudflare WARP for Your Workstation

On macOS / Linux:

# 1. Install Cloudflare WARP CLI
brew install --cask cloudflare-warp   # macOS
# or: sudo apt install cloudflare-warp  # Ubuntu/Debian

# 2. Register and Connect
warp-cli registration new
warp-cli connect

# 3. Verify Connection Status
warp-cli status

Once connected, all outbound traffic to your custom domain (https://files.vinhthang.dev or https://ai.vinhthang.dev) automatically flows through the nearest Cloudflare Anycast edge!


🎯 Key Takeaways

  1. Don’t let public ISP routing bottleneck your cloud servers: Moving traffic onto an Anycast edge network like Cloudflare WARP eliminates international packet loss and latency spikes.
  2. Combine WARP with HTTP/3 & non-blocking reverse proxies: Ensuring your origin gateway (Caddy / Nginx) disables upload buffering prevents local memory exhaustion on small cloud VMs.
  3. Enjoy seamless high-speed backups: Uploading gigabytes of FLAC music, Docker images, and AI documents is now as fast as copying to a local NAS!

Check out our full cloud fleet architecture at vinhthang.dev!