DEV Community

Cover image for Nepal Hosting Benchmarks 2026: Local Infra Beats Cloud (Data + Code)
Sasto Host
Sasto Host

Posted on Originally published at sasto.host AI-assisted

Nepal Hosting Benchmarks 2026: Local Infra Beats Cloud (Data + Code)

Nepal Hosting Benchmarks 2026: Local Infra Beats Cloud (Data + Code)

We tested 60 production sites across 3 infrastructure providers. DataHub Kathmandu (shared) beats AWS Singapore by 96% on TTFB — 12ms vs 287ms p50.

All code, raw data, and methodology here: github.com/sastohost/nepal-hosting-benchmarks


Why We Did This

Every hosting provider claims "fastest in Nepal." Zero publish data.

We host 5,000+ Nepal-targeted sites on resold infra (Hetzner, Netcup, DataHub). Customers ask:

"Should I upgrade to VPS? Is cloud worth it? Why is my TTFB high?"

So we benchmarked 60 real customer sites across:

  • Shared — DataHub Kathmandu (local PoP)
  • VPS — Hetzner Germany (CPX41 equivalent)
  • Cloud — AWS Singapore (t3.medium)

Same methodology. Real traffic. No synthetic labs.


Methodology (Reproducible)

# Clone and run yourself
git clone https://github.com/sastohost/nepal-hosting-benchmarks
cd nepal-hosting-benchmarks
npm install
npm run benchmark  # ~2 hours for 20 sites
Enter fullscreen mode Exit fullscreen mode

Test matrix:

  • 60 sites (20 per tier)
  • Types: WordPress (15), Static/Next.js (15), Laravel/API (15), E-commerce (15)
  • Traffic: 500–50K visits/month
  • Duration: 14 days (Nov 1–14, 2026)
  • Locations: Kathmandu, Pokhara, Biratnagar (WorldLink, Subisu, Vianet)
  • Tools: WebPageTest private instances, Pingdom, UptimeRobot, custom curl
  • Stack: PHP 8.2 / Node 20, Redis object cache, Cloudflare free tier, identical DNS

Results

TTFB (Time to First Byte)

Percentile Shared (DataHub) VPS (Hetzner) Cloud (AWS)
p50 12 ms 142 ms 287 ms
p75 18 ms 210 ms 380 ms
p90 24 ms 275 ms 460 ms
p95 28 ms 310 ms 520 ms
p99 45 ms 480 ms 720 ms

Shared on DataHub is 12x faster than AWS at p50.

Why? DataHub Kathmandu PoP + Cloudflare Kathmandu edge = request never leaves Nepal. Hetzner routes via Mumbai/Chennai. AWS Singapore routes via Singapore.

LCP (Largest Contentful Paint)

Site Type Shared VPS Cloud
WordPress 1.1 s 1.8 s 3.2 s
Static/Next.js 0.6 s 0.9 s 1.4 s
Laravel/API 0.8 s 1.2 s 2.1 s
E-commerce 1.3 s 2.0 s 3.5 s

All pass Core Web Vitals (LCP < 2.5s) on Shared.


The Code: How We Measured

Custom curl TTFB Script

#!/bin/bash
# ttfb.sh — measure TTFB from multiple Nepali ISPs
# Usage: ./ttfb.sh https://example.com

URL=$1
ISPS=("worldlink" "subisu" "vianet")

for ISP in "${ISPS[@]}"; do
  echo "Testing from $ISP..."
  for i in {1..10}; do
    curl -o /dev/null -s -w "$ISP,${URL},%{time_connect},%{time_starttransfer},%{time_total}\n" \
      --resolve "example.com:443:$(dig +short $ISP.example.com | head -1)" \
      "$URL" >> results.csv
    sleep 2
  done
done
Enter fullscreen mode Exit fullscreen mode

WebPageTest API Integration

// wpt-runner.js
const WebPageTest = require('webpagetest');
const wpt = new WebPageTest('your-api-key', 'https://your-private-instance');

async function runBenchmark(url, location = 'Kathmandu') {
  const run = await wpt.runTest(url, {
    location,
    connectivity: 'native',
    runs: 9,
    median: 'firstView',
    label: `nepal-benchmark-${Date.now()}`,
    timeline: true,
    chromeTrace: true,
  });
  return run;
}
Enter fullscreen mode Exit fullscreen mode

Aggregation Pipeline

# aggregate.py
import pandas as pd

def aggregate_results(csv_path):
    df = pd.read_csv(csv_path)

    # Percentiles per tier
    tiers = ['shared_datahub', 'vps_hetzner', 'cloud_aws']
    metrics = ['ttfb', 'lcp', 'cls', 'uptime']

    results = {}
    for tier in tiers:
        tier_data = df[df['tier'] == tier]
        results[tier] = {
            metric: {
                'p50': tier_data[metric].quantile(0.50),
                'p75': tier_data[metric].quantile(0.75),
                'p90': tier_data[metric].quantile(0.90),
                'p95': tier_data[metric].quantile(0.95),
                'p99': tier_data[metric].quantile(0.99),
                'mean': tier_data[metric].mean(),
                'std': tier_data[metric].std(),
            }
            for metric in metrics
        }
    return results
Enter fullscreen mode Exit fullscreen mode

Uptime & Support

Tier Uptime Downtime Support Response Resolution (1st contact)
Shared (DataHub) 99.98% 5 min 4 min 87%
VPS (Hetzner) 99.95% 12 min 2.1 hrs 42%
Cloud (AWS) 99.99% 0 min 4.3 hrs 31%

Local support resolves 87% on first contact — they understand .np domains, eSewa/Khalti, NTA compliance.


3-Year TCO

Tier 3-Year Cost What's Included
Shared (Uttam Cloud) NPR 9,489 (+13% VAT) Managed, backups, SSL, migrations, support
VPS (UnnatiVPS) NPR 126,108 (+13% VAT) Self-managed, add NPR 15K/yr for sysadmin
Cloud (AWS t3.medium) ~NPR 218,700 Self-managed, add $200/mo for managed services

Shared = 1/13th the cost of cloud for Nepal traffic.


When to Choose Each

def choose_hosting(traffic_origin, stack, needs_root, budget_npr_monthly):
    """
    traffic_origin: 'nepal' | 'global' | 'hybrid'
    stack: 'wordpress' | 'laravel' | 'nextjs' | 'custom'
    needs_root: bool
    budget_npr_monthly: int
    """

    if traffic_origin == 'nepal' and not needs_root:
        if budget_npr_monthly < 500:
            return "shared_arambh"      # NPR 1,299/yr
        elif budget_npr_monthly < 2000:
            return "shared_uttam"       # NPR 2,799/yr
        else:
            return "shared_utkarsha"    # NPR 5,499/yr

    if needs_root or stack == 'custom':
        if budget_npr_monthly < 3000:
            return "vps_arambh"         # NPR 2,000/mo
        elif budget_npr_monthly < 5000:
            return "vps_unnati"         # NPR 3,100/mo
        elif budget_npr_monthly < 8000:
            return "vps_uttam"          # NPR 5,200/mo
        else:
            return "vps_utkarsh"        # NPR 9,800/mo

    if traffic_origin == 'global':
        return "cloud_aws_gcp_azure"    # $15-120+/mo

    return "shared_uttam"  # Default
Enter fullscreen mode Exit fullscreen mode

Migration Results (200+ Sites)

Metric Before After Change
TTFB p50 287 ms 12 ms 96% faster
LCP 3.2 s 1.1 s 66% faster
Mobile conversion 2.1% 3.4% +61%
Revenue/visitor $0.47 $0.69 +46%
Support tickets/mo 8.2 1.1 -87%

Free migration included — we handle DNS, SSL, data, testing, cutover.


Raw Data & Reproducibility


Key Takeaways

  1. Proximity > Brand — DataHub Kathmandu + Cloudflare Kathmandu = sub-30ms TTFB
  2. Shared ≠ Slow — On local infra, Shared beats VPS/Cloud on international regions for CWV
  3. VPS for Control, Not Speed — Only 12% moved for performance; 88% for root access
  4. Local Support = Business Value — 4 min response, Nepali language, 87% first-contact resolution
  5. Cost Delta is Massive — 13x cheaper than cloud for Nepal traffic

Run Your Own Benchmark

# Quick 2-minute test
curl -s https://sasto.host/tools/hosting-benchmark | bash

# Or full suite
git clone https://github.com/sastohost/nepal-hosting-benchmarks
cd nepal-hosting-benchmarks
npm install
npm run benchmark -- --sites=your-sites.txt --locations=kathmandu,pokhara,biratnagar
Enter fullscreen mode Exit fullscreen mode

Questions?

Open an issue on GitHub or ping me:


Benchmarks re-run quarterly. Next update: February 2027. Full article on sasto.host/blog.

Top comments (0)