# workerd | Cloudflare | Knowledge Base | Instagit

The JavaScript / Wasm runtime that powers Cloudflare Workers

GitHub Stars: 8k

Repository: https://github.com/cloudflare/workerd

---

## Articles

### [How to Deploy Workerd Applications Using Containers: A Complete Guide](/cloudflare/workerd/how-to-deploy-workerd-applications-with-containers)

Learn to deploy workerd applications using containers with this complete guide. Discover how to leverage Docker for sandboxed execution and secure outbound traffic.

- Tags: how-to-guide
- Published: 2026-03-18

### [How to Enable Structured JSON Logging in workerd: Complete Configuration Guide](/cloudflare/workerd/how-to-use-structured-json-logging-in-workerd)

Learn to enable structured JSON logging in workerd. Configure your logs for better analysis and debugging with this complete guide. Master workerd configuration settings.

- Tags: how-to-guide
- Published: 2026-03-18

### [Understanding the Module System and Import Resolution in workerd](/cloudflare/workerd/understanding-module-system-import-resolution-in-workerd)

Master workerd's module system and import resolution. Learn how workerd handles static, dynamic, and source-phase imports for CommonJS, JSON, Wasm, and data files.

- Tags: internals
- Published: 2026-03-18

### [workerd Error Handling and Exception Reporting: From C++ KJ Exceptions to JavaScript Errors](/cloudflare/workerd/how-workerd-handles-errors-and-exception-reporting)

Learn how workerd handles C++ KJ exceptions and JavaScript errors. See how exceptions are converted to V8 Error objects for seamless reporting and debugging.

- Tags: internals
- Published: 2026-03-18

### [How to Perform workerd Performance Profiling Using Built-In Perfetto Tracing](/cloudflare/workerd/how-to-performance-profile-workerd-applications)

Profile workerd performance with Perfetto tracing. Enable the --perfetto-trace flag, capture trace events, and analyze .perfetto files to find bottlenecks in C++ and JavaScript.

- Tags: performance
- Published: 2026-03-18

### [How to Configure Global Outbound and Network Services in Workerd](/cloudflare/workerd/how-to-configure-global-outbound-network-services)

Configure global outbound and network services in Workerd by setting the globalOutbound field and defining network access rules. Secure your worker's network connections effectively.

- Tags: how-to-guide
- Published: 2026-03-18

### [How to Implement Crypto Operations in workerd: Web Crypto and Node.js Compatibility](/cloudflare/workerd/how-to-implement-crypto-operations-in-workerd)

Implement crypto operations in workerd using Web Crypto API or Node.js compatibility. Leverage a shared OpenSSL core for secure and efficient cryptographic tasks.

- Tags: how-to-guide
- Published: 2026-03-18

### [How workerd Handles Cross-Origin Requests: Server-Side Fetch Without Browser CORS Enforcement](/cloudflare/workerd/how-workerd-handles-cross-origin-requests)

Discover how workerd handles cross-origin requests, bypassing browser CORS for server-side fetch. Learn about its unique approach and compatibility flags.

- Tags: internals
- Published: 2026-03-18

### [Workerd Testing Strategies and the .wd-test Format: A Complete Technical Guide](/cloudflare/workerd/workerd-testing-strategies-and-wd-test-format)

Master workerd testing strategies using .wd-test files to define environments. This guide covers JavaScript and C++ tests orchestrated by Bazel for robust runtime validation.

- Tags: deep-dive
- Published: 2026-03-18

### [How to Configure Durable Object Alarm Scheduling in workerd](/cloudflare/workerd/how-to-configure-durable-object-alarm-scheduling)

Learn to configure Durable Object alarm scheduling in workerd. Implement alarm() and setAlarm() to reliably schedule tasks with automatic retries and jitter.

- Tags: how-to-guide
- Published: 2026-03-18

### [How workerd Handles Memory Management and tcmalloc: Build Configuration and Runtime Optimization](/cloudflare/workerd/how-workerd-handles-memory-management-and-tcmalloc)

Discover how workerd optimizes memory management with tcmalloc by enabling a Bazel build flag. Reduce allocation latency and fragmentation on Linux.

- Tags: internals
- Published: 2026-03-18

### [What Is the Node.js Compatibility Layer in Workerd?](/cloudflare/workerd/what-is-the-node-js-compatibility-layer-in-workerd)

Explore the Node.js compatibility layer in Workerd. Enable standard nodejs_compat imports for fs, http, and crypto APIs within your Workers.

- Tags: deep-dive
- Published: 2026-03-18

### [How to Implement Streams with Backpressure in Workerd: A Complete Guide](/cloudflare/workerd/how-to-implement-streams-with-backpressure-in-workerd)

Master workerd streams with backpressure using its dual-stream architecture. Learn how to manage queue sizes and ensure flow control for efficient data handling.

- Tags: how-to-guide
- Published: 2026-03-18

### [workerd vs Cloudflare Workers Architecture: Key Differences Explained](/cloudflare/workerd/workerd-vs-cloudflare-workers-architecture-differences)

Explore the architecture of workerd vs Cloudflare Workers. Understand key differences in deployment, configuration, and infrastructure management for the V8 isolate runtime.

- Tags: architecture
- Published: 2026-03-18

### [How to Configure TLS/HTTPS Termination in workerd](/cloudflare/workerd/how-to-configure-tls-https-termination-in-workerd)

Configure TLS HTTPS termination in workerd by declaring an https socket variant and providing a PEM-encoded keypair via tlsOptions for automatic decryption before your Worker code receives connections.

- Tags: how-to-guide
- Published: 2026-03-18

### [How to Debug workerd Applications Using the V8 Inspector Protocol: A Complete Guide](/cloudflare/workerd/how-to-debug-workerd-with-v8-inspector-protocol)

Debug workerd applications effectively using the V8 Inspector Protocol. Learn to attach Chrome DevTools or VS Code to inspect JavaScript state and set breakpoints in real time.

- Tags: how-to-guide
- Published: 2026-03-18

### [How to Use the Python Runtime with Pyodide in workerd: A Complete Configuration Guide](/cloudflare/workerd/how-to-use-python-runtime-with-pyodide-in-workerd)

Learn to run Python with Pyodide in workerd using its new built-in runtime. This guide covers configuration for seamless JS and Python execution within V8 isolates.

- Tags: how-to-guide
- Published: 2026-03-18

### [How to Implement WebSocket Servers in workerd: A Complete Guide](/cloudflare/workerd/how-to-implement-websocket-servers-in-workerd)

Implement WebSocket servers in workerd. Detect upgrade requests, return 101, accept the WebSocket, and use send/receive for full duplex communication. Get the complete guide.

- Tags: how-to-guide
- Published: 2026-03-18

### [How to Configure Capability-Based Security with workerd Bindings](/cloudflare/workerd/how-to-configure-capability-based-security-with-workerd-bindings)

Secure your Cloudflare Workers with capability-based security. Learn how to configure workerd bindings to grant explicit access and enhance your application's security posture.

- Tags: how-to-guide
- Published: 2026-03-18

### [How workerd Manages Durable Object Storage and Actor Lifecycle](/cloudflare/workerd/how-workerd-manages-durable-object-storage-and-actor-lifecycle)

Discover how workerd manages Durable Object storage and actor lifecycle using a two-tier system with LRU cache and durable SQLite or RPC storage for seamless state management.

- Tags: internals
- Published: 2026-03-18

