SNAS provides policy-driven secure egress with low overhead for Snowflake sandboxed workloads
SNAS enables secure external communication from sandboxed workloads while preserving isolation and incurring low performance overhead
Security & privacy arXiv 16 Jun 2026 Defense Deployed evidence
Published as “SNAS: A Multi-Layer Defense-in-Depth Architecture for Secure Egress in Sandboxed Workloads”
Why it matters
Operators of multi-tenant serverless data platforms can now offer customers transparent, multi-protocol external connectivity with strong isolation and fair resource sharing, without redesigning applications or exposing them to higher latency.
Summary
SNAS provides secure, low-overhead external connectivity for Snowpark sandboxed workloads, achieving sub-millisecond packet processing overhead (<50 μs) and bandwidth-limiting accuracy of ±2% across production traffic. The system enforces dual-tier, cryptographically signed IP:port policies using eBPF filtering and GENEVE overlays, and it has been operating at global scale for two years handling millions of daily jobs and petabyte-scale egress. Evidence comes from live production telemetry, showing linear scalability and high fairness among tenants.
What they found 2
- Packet processing overhead is sub-millisecond, adding less than 50 μs per request
“End-to-end request latency for sameregion traffic showed the system’s overhead is dominated by the physical network hop, with the eBPF datapath adding negligible latency (< 50μs) to the total request time.”
- EDT-based bandwidth limiter achieves ±2% accuracy and low variance across tenants
“The Earliest Departure Time (EDT)-based bandwidth limiter exhibited high accuracy across all tested operational thresholds, achieving ±2% accuracy across the tested rates shown in Fig. 7 with a coefficient of variation ¡3% across concurrent tenants.”
Caveats 4
- Bandwidth limiting is accurate to ±2%, which is not perfect and may allow small deviations from configured rates
- Even though overhead is sub-millisecond, the eBPF datapath still adds up to <50 μs latency per packet
- SNAS enforces IP:port policies and cannot inspect application-layer content such as HTTPS paths, headers, or payloads.
- Policies are job-scoped and static during execution.
What’s new here 4
- Dual-tier, defense-in-depth egress enforcement with independent validation at compute nodes and egress proxies
- eBPF-based implementation of the Earliest Departure Time (EDT) algorithm for per-tenant bandwidth limiting in production
- Transparent multi-protocol support (e.g., gRPC, JDBC) without requiring proxy configuration or Snowflake-specific APIs
- Use of GENEVE overlay to embed policy metadata and achieve stateless, scalable routing of sandbox traffic