WASM Edge Computing: Edge Architecture
WASM Edge Computing: Edge Architecture
Part of: WASM Edge Computing User Guide
Global Network: 50+ Locations, 6 Continents
North America (10 locations)
Region::UsEast1 // Virginia (39.0, -77.5)Region::UsEast2 // Ohio (40.0, -83.0)Region::UsWest1 // California (37.4, -122.1)Region::UsWest2 // Oregon (45.6, -122.6)Region::UsCentral // Iowa (41.3, -95.9)Region::CanadaCentral // Toronto (43.7, -79.4)Region::CanadaEast // Montreal (45.5, -73.6)Region::UsaSoutheast // Atlanta (33.7, -84.4)Region::UsaNorthwest // Seattle (47.6, -122.3)Region::MexicoCentral // Mexico City (19.4, -99.1)Europe (10 locations)
Region::EuWest1 // Ireland (53.4, -6.3)Region::EuWest2 // London (51.5, -0.1)Region::EuCentral1 // Frankfurt (50.1, 8.7)Region::EuNorth1 // Stockholm (59.3, 18.1)Region::FranceCentral // Paris (48.9, 2.4)Region::GermanyCentral // Frankfurt (50.1, 8.7)Region::ItalyCentral // Milan (41.9, 12.5)Region::SpainCentral // Madrid (40.4, -3.7)Region::NetherlandsCentral // Amsterdam (52.4, 4.9)Asia-Pacific (10 locations)
Region::ApSoutheast1 // Singapore (1.3, 103.8)Region::ApSoutheast2 // Sydney (-33.9, 151.2)Region::ApNortheast1 // Tokyo (35.7, 139.7)Region::ApNortheast2 // Seoul (37.6, 126.9)Region::ApSouth1 // Mumbai (19.1, 72.9)Region::JapanEast // Tokyo (35.7, 139.7)Region::SouthKoreaEast // Seoul (37.6, 126.9)Region::IndiaCentral // Mumbai (19.1, 72.9)Region::SingaporeCentral // Singapore (1.3, 103.8)South America (5 locations)
Region::SaBrazilSouth // São Paulo (-23.6, -46.7)Region::SaBrazilEast // Salvador (-12.9, -38.5)Region::SaArgentina // Buenos Aires (-34.6, -58.4)Region::SaChile // Santiago (-33.5, -70.6)Region::SaColombia // Bogotá (4.7, -74.1)Middle East (5 locations)
Region::MeBahrain // Manama (26.2, 50.6)Region::MeUae // Dubai (25.3, 55.3)Region::MeSaudiArabia // Riyadh (24.7, 46.7)Region::MeIsrael // Tel Aviv (32.1, 34.8)Region::MeTurkey // Istanbul (41.0, 28.9)Africa (5 locations)
Region::AfSouthAfrica // Cape Town (-33.9, 18.4)Region::AfNigeria // Lagos (6.5, 3.4)Region::AfEgypt // Cairo (30.0, 31.2)Region::AfKenya // Nairobi (-1.3, 36.8)Region::AfMorocco // Casablanca (33.6, -7.6)Edge Node Architecture
┌──────────────────────────────────────────────────────┐│ Client Request (User in Tokyo) │└──────────────────────────┬───────────────────────────┘ │ ▼ ┌────────────────────────────────┐ │ Geographic Router (DNS) │ │ ✓ Haversine distance calc │ │ ✓ Health check verification │ │ ✓ Capacity load balancing │ └────────┬───────────────────────┘ │ Route to nearest healthy node ▼ ┌─────────────────────────────────────────┐ │ Edge Node: ap-northeast-1 (Tokyo) │ │ │ │ ┌────────────────────────────────┐ │ │ │ L1 Cache (Memory - 1ms) │ │ │ │ 512MB, LRU eviction │ │ │ │ Hit rate: 95% │ │ │ └──────────┬─────────────────────┘ │ │ │ Miss │ │ ▼ │ │ ┌────────────────────────────────┐ │ │ │ L2 Cache (SSD - 10ms) │ │ │ │ 10GB, access-frequency LRU │ │ │ │ Hit rate: 85% │ │ │ └──────────┬─────────────────────┘ │ │ │ Miss │ │ ▼ │ │ ┌────────────────────────────────┐ │ │ │ L3 Cache (Cloud - 50ms) │ │ │ │ 100GB, regional │ │ │ │ Hit rate: 60% │ │ │ └──────────┬─────────────────────┘ │ │ │ Miss │ └────────────┼─────────────────────────┘ │ ▼ ┌─────────────────────────────────────────┐ │ Primary Database (Central) │ │ Authoritative source of truth │ └─────────────────────────────────────────┘ │ │ CRDT Sync (<100ms) ▼ ┌─────────────────────────────────────────┐ │ All Edge Nodes (Eventually Consistent) │ │ Vector clock conflict resolution │ └─────────────────────────────────────────┘Component Stack
// Edge node component hierarchyEdgeNode { id: String, region: Region,
// Runtime wasm_runtime: WasmRuntime,
// Multi-tier cache l1_cache: L1Cache, // Memory: 1ms, 512MB l2_cache: L2Cache, // SSD: 10ms, 10GB l3_cache: L3Cache, // Cloud: 50ms, 100GB
// State sync synchronizer: EdgeStateSynchronizer, vector_clock: VectorClock,
// Health & metrics health_status: HealthStatus, latency_p50: Duration, latency_p99: Duration, error_rate: f64,
// Capacity management capacity: usize, current_load: usize, auto_scaler: AutoScaler,}Navigation
- Previous: Quick Start
- Next: CDN Integration
- Related: Routing Strategies