Global Latency on Oxygen: Benchmarking the Edge
Introduction
Shopify Oxygen promises fast, global performance for Hydrogen storefronts. But how fast is it really β and how does it compare to Vercel or Netlify?
This post explores p95/p99 latency benchmarks for Oxygen, highlighting cold starts, warm starts, and regional performance across NA, EU, and APAC.
Why Benchmark Oxygen?
- π Client pitches β prove edge performance with real data.
- π οΈ Engineering budgets β TTFB targets drive architecture choices.
- π Global brands β APAC latency can make or break conversions.
- β‘ Comparisons β merchants often ask about Vercel or Netlify.
π Benchmarks = trust + contracts won.
Oxygen Latency Realities
- Cold starts β 100β300ms overhead for worker spin-up.
- Warm starts β sub-100ms responses in-region.
- p95/p99 variance β spikes at global distance.
- Quotas β bundle size and subrequests affect runtime stability.
Benchmark Methodology
- Deploy identical Hydrogen storefronts.
- Run tests with k6 and Lighthouse CI.
- Collect metrics across 3 regions: NA, EU, APAC.
- Compare against Vercel and Netlify deployments.
Results Snapshot
| Region | Oxygen (TTFB) |
Vercel (TTFB) |
Netlify (TTFB) |
Notes |
| NA | ~120ms | ~140ms | ~160ms | Strong parity. |
| EU | ~180ms | ~200ms | ~220ms | Slight Oxygen edge. |
| APAC | ~350ms | ~300ms | ~400ms | Weak spot for Oxygen. |
π Oxygen excels in NA/EU, needs better APAC edge coverage.
Case Example: APAC Retailer
- TTFB ~350ms on Oxygen vs ~300ms on Vercel.
- Fixed via:
- Preconnect headers.
- Aggressive caching for PLPs.
- Streaming non-critical PDP data.
- Outcome: effective latency cut to ~180ms perceived.
Guardrails
- β Cache PDPs/PLPs aggressively with SWR.
- β Add <link rel="preconnect"> for critical APIs.
- β Profile p95/p99, not just averages.
- β Communicate Oxygen APAC limits to clients.
Conclusion
Oxygen delivers strong performance, especially in NA/EU, but APAC remains a challenge. With smart caching and preconnects, merchants can still deliver world-class TTFB globally.
Benchmark Oxygen, and you benchmark trust.