Introducing Deno Sandbox
Deno Sandbox runs untrusted, often LLM-generated code in lightweight Linux microVMs on Deno Deploy that boot in under a second and are created via JavaScript or Python SDKs.
Deno Sandbox runs untrusted, often LLM-generated code in lightweight Linux microVMs on Deno Deploy that boot in under a second and are created via JavaScript or Python SDKs.
Part one of a series building a browser dinosaur runner game sets up a Deno project that serves static files and deploys it.
Deno Deploy now offers beta support for the web-standard Cache API, giving serverless code semi-persistent storage for Request/Response pairs via caches.open(), cache.match() and cache.put().
Across Express, Fastify and Hono URL-shortener apps deployed to AWS Lambda via Docker and the Lambda Web Adapter, Deno 1.45 showed lower cold-start Init Duration than Node 22 and Bun 1.1, with the Lambda-managed Node runtime included as a reference.
Deno Subhosting now supports continuous backup of Deno KV databases to customer-owned S3-compatible object storage, enabling point-in-time recovery.
Deno Subhosting now supports organization-wide wildcard domains where different subdomains under one wildcard (e.g. foo.example.com and bar.example.com under *.example.com) can map to different deployments.
Deno Deploy runs untrusted JavaScript and TypeScript in pools of V8 isolates inside VMs called runners, split into a control plane for deployments and a data plane of edge regions.
deployctl is a CLI for managing the full lifecycle of Deno Deploy projects from the terminal: deploying, renaming projects, inspecting deployments, streaming logs, monitoring resource usage with `deployctl top`, promoting preview deployments to production, and deleting deployments or projects.
A Next.js 14 app can host a browser IDE by embedding the Monaco editor via @monaco-editor/react, then sending the editor contents to server-side API routes that call the Deno Deploy Subhosting API.
A cloud IDE can be built on the Deno Subhosting API, which programmatically deploys user code to Deno Deploy's global V8 isolate cloud within seconds.
A vendor-run benchmark compares Deno KV with Upstash Redis, DynamoDB Global Tables, Google Firestore and Cloudflare Workers KV by timing 10-record reads and writes from colocated serverless functions, with warm-up reads excluded.
Deno KV is now usable from Node.js through the official @deno/kv npm package, which exposes the same API as Deno's built-in KV through a single openKv function.
Deno now ships an official Terraform provider (denoland/deno) for managing Deno Deploy and Deno Subhosting projects, custom domains and deployments as infrastructure-as-code.
Deno Deploy and Deno Subhosting isolate untrusted tenant code using layered defenses mapped to a five-point threat model: per-deployment V8 isolates, a virtualized filesystem, and separate VPCs for ingress and outbound traffic.
Deno Queues adds two APIs to Deno KV, `enqueue()` and `listenQueue()`, for offloading or delaying background work with no infrastructure to configure.
Astro sites can be built with the Deno runtime and hosted on Deno Deploy in two modes.
A DDoS attack on one site hosted on Deno Deploy drove traffic to about 10x normal and took down Deploy projects, deno.com and deno.land for 44 minutes on June 25, 2023.
An HTTP image resizing API built on Deno uses imagemagick_deno, ImageMagick compiled to WebAssembly, and fits in under 100 lines of TypeScript.
A markdown blog can be built with Fresh, Deno's edge-first framework that ships zero client JavaScript by default, using file-based routes, custom GET handlers and server-side rendering.
A push-to-live benchmark of git deployments across edge platforms, timed with a Deno script that pushes to main and polls the site until a marker string appears.
Deno Deploy runs untrusted user JavaScript in V8 isolates rather than VMs or containers, trading heavier isolation for much lower overhead and faster deploys.
A demo multi-page website fits entirely in one JavaScript file and is server-rendered on demand at the edge with Deno.
Server-side Google Analytics on Deno Deploy sidesteps ad blockers, which Deno says over 70% of its audience uses, and gives more reliable tracking than the client-side snippet.
Deno Deploy now stores static files alongside deployed code and distributes them to edge locations, where edge code reads them via Deno file system APIs (readFile, readDir, open, stat, etc.) or fetch.
Deno Deploy supports the Web Streams standard, so a streaming, event-driven HTTP server can be written in a few lines of TypeScript.
A 98-minute outage of deno.land media, deno.land/x and deno.land/std module serving, doc.deno.land and cdn.deno.land was caused by a faulty Cloudflare abuse-prevention filter.