Custom Runtime Environments
Understand possibilities for custom runtime environments or specialized Deno deployments on the edge.
Intro to Custom Runtimes
Welcome! Today we'll explore custom runtime environments and specialized Deno deployments at the edge.
A custom runtime lets you tailor the execution environment for your code. Instead of using a standard, pre-configured serverless runtime, you can define specific versions, dependencies, or even entirely different languages.
At the edge, this means more control over how your code runs close to users, potentially unlocking new performance and functionality.
Why Customize at the Edge?
Why would you need a custom runtime?
- Specialized Libraries: Use native libraries or specific versions not available in standard runtimes.
- Performance: Optimize for specific workloads, like heavy computation or data processing, by using highly efficient languages or custom binaries.
- Resource Control: Fine-tune memory, CPU, or network usage for highly specific edge devices.
- Unique Languages: Run code written in languages other than JavaScript/TypeScript, often compiled to WebAssembly.
All lessons in this course
- Deno Deploy & CLI
- Custom Runtime Environments
- Testing & CI/CD for Edge
- Blue-Green & Gradual Rollouts