server-deployment

Configure and deploy durable-streams servers for development or production environments.

1.7k|64|Updated Dec 4, 2025
One-click install
npx skills add https://github.com/durable-streams/durable-streams --skill server-deployment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: server-deployment
Source: https://github.com/durable-streams/durable-streams/tree/main/packages/client/skills/server-deployment
Command: npx skills add https://github.com/durable-streams/durable-streams --skill server-deployment

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Durable Streams deployment patterns enable reliable, scalable server instances for development and production environments.

Core Features & Use Cases

  • Node.js development server for prototyping with @durable-streams/server
  • Caddy-based production server with Caddyfile configuration
  • Data_dir persistence, max_file_handles tuning, and long_poll_timeout support
  • CLI tooling and conformance test runner for validation and automation

Quick Start

Install the development server, start the DurableStreamTestServer, and connect a client to validate streaming.

Frequently Asked Questions about server-deployment

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a durable-streams server for development and production?

To deploy a durable-streams server, use the Node.js dev server for prototyping or configure a Caddy production server with a Caddyfile. These patterns enable reliable, scalable server instances across both environments.

What is data_dir persistence and how do I configure it for a Caddy server?

Data_dir persistence ensures your durable-streams server retains data across restarts. You configure it within your Caddyfile setup alongside max_file_handles tuning and long_poll_timeout support to manage data persistence and server performance.

Do I need Node.js to run conformance tests for durable-streams?

Yes, you need Node.js to run conformance tests for durable-streams. The validation process uses the Node.js development server, the durable-streams server package, and CLI tooling to validate streaming and automate test execution.

What's the best way to tune max_file_handles and long_poll_timeout in a durable-streams production server?

The best way to tune max_file_handles and long_poll_timeout is through your Caddyfile configuration when setting up the Caddy-based production server. These settings optimize the durable-streams server's data persistence and connection handling.

Does the durable-streams production server work with a Caddy plugin?

Yes, the durable-streams production server works with a Caddy plugin. You use the Caddy plugin alongside a Caddyfile configuration to deploy the production server, replacing the Node.js dev server used during prototyping.