Cygnus is a self-hosted serverless runtime for Bun and Node.js applications. It runs unmodified applications in kernel-sandboxed, scale-to-zero cages using namespaces and seccomp instead of containers.
The system consists of a single Rust binary that serves as the daemon. It terminates TLS, routes requests by SNI or Host header with a lock-free ArcSwap, and proxies through io_uring splice. Cages maintain no certificates and hold no administrative capability. The daemon remains in the data path to centrally enforce logging, metering, and rate limits rather than relying on tenant self-reporting. Isolation relies on user namespaces, mount namespaces, PID namespaces, network namespaces, cgroups version 2, and an allowlist of approximately 80 syscalls under seccomp. Writable mounts are mounted noexec while the read-only artifact mount permits execution.
Performance benchmarks show proxy overhead at 0.4 ms p50 and revival times with p99 of 42 ms within a 150 ms budget. Example workloads include one application achieving 298 requests per second, another at 84 requests per second with 11 ms p50 latency, and a third at 214 requests per second with 9 ms p50 latency. A cold start for one workload measured 29.4 ms from request to first user-code byte. The installation command is a one-line shell script that fetches and sets up the binary.
It supports HTTP/1.1, HTTP/2, and HTTP/3 over TLS, with per-app Unix sockets that maintain keep-alive connection pools. The approach eliminates the need for a container runtime, image registry, or YAML configuration files. The tool addresses the overhead associated with container-based deployments while preserving full Node.js compatibility and isolation guarantees.
In the Hosting, deployment & PaaS space, Cygnus takes a focused approach. It focuses on running serverless workloads for Node and Bun apps without the overhead of containers or complex orchestration. Cygnus is an open-source project aimed at developers. The project is open source (AGPL-3.0). Cygnus is available on the web, embeddable surfaces, and the command line, and it can be self-hosted.
Cygnus first shipped in 2026. The project is developed in the open on GitHub with 285 commits in the last 90 days. Among its 5 catalogued features are kernel sandboxing, scale-to-zero, and sub-100ms cold starts.
Latest indexed changes and source events
Show HN: Cygnus – A fast, lightweight self-hostable serverless runtime and PaaS verified by the PulseGate indexer
Other apps tracked under the same category.