workerd
The JavaScript / Wasm runtime that powers Cloudflare Workers
Learn to deploy workerd applications using containers with this complete guide. Discover how to leverage Docker for sandboxed execution and secure outbound traffic.
How to Enable Structured JSON Logging in workerd: Complete Configuration GuideLearn to enable structured JSON logging in workerd. Configure your logs for better analysis and debugging with this complete guide. Master workerd configuration settings.
Understanding the Module System and Import Resolution in workerdMaster workerd's module system and import resolution. Learn how workerd handles static, dynamic, and source-phase imports for CommonJS, JSON, Wasm, and data files.
workerd Error Handling and Exception Reporting: From C++ KJ Exceptions to JavaScript ErrorsLearn how workerd handles C++ KJ exceptions and JavaScript errors. See how exceptions are converted to V8 Error objects for seamless reporting and debugging.
How to Perform workerd Performance Profiling Using Built-In Perfetto TracingProfile workerd performance with Perfetto tracing. Enable the --perfetto-trace flag, capture trace events, and analyze .perfetto files to find bottlenecks in C++ and JavaScript.
How to Configure Global Outbound and Network Services in WorkerdConfigure global outbound and network services in Workerd by setting the globalOutbound field and defining network access rules. Secure your worker's network connections effectively.
How to Implement Crypto Operations in workerd: Web Crypto and Node.js CompatibilityImplement crypto operations in workerd using Web Crypto API or Node.js compatibility. Leverage a shared OpenSSL core for secure and efficient cryptographic tasks.
How workerd Handles Cross-Origin Requests: Server-Side Fetch Without Browser CORS EnforcementDiscover how workerd handles cross-origin requests, bypassing browser CORS for server-side fetch. Learn about its unique approach and compatibility flags.
Workerd Testing Strategies and the .wd-test Format: A Complete Technical GuideMaster workerd testing strategies using .wd-test files to define environments. This guide covers JavaScript and C++ tests orchestrated by Bazel for robust runtime validation.
How to Configure Durable Object Alarm Scheduling in workerdLearn to configure Durable Object alarm scheduling in workerd. Implement alarm() and setAlarm() to reliably schedule tasks with automatic retries and jitter.
How workerd Handles Memory Management and tcmalloc: Build Configuration and Runtime OptimizationDiscover how workerd optimizes memory management with tcmalloc by enabling a Bazel build flag. Reduce allocation latency and fragmentation on Linux.
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.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →