Skip to content

Deployment platform matrix

Choose a runtime based on what your app needs. Tyravel 1.x targets Node.js 26+ (or Bun) as the primary production runtime. Edge runtimes are supported for partial workloads today; a first-class edge adapter is on the roadmap.

Quick picker

You need…Start here
Fastest path to productionRailway
Global regions + managed PostgresFly.io
Full control / KubernetesDocker
Cloudflare CDN + R2 in front of NodeCloudflare
JSON API only, smallest bootHeadless API on any Node host
Future: git-push managed hostingTyravel Cloud (planned)

Feature matrix

CapabilityDocker / VPSFly / RailwayCloudflare (edge)Tyravel Cloud (planned)
Full Tyravel (SSR + API + queues)YesYesPartial — origin requiredYes
tyravel start --clusterYesYesNoYes
Postgres / MySQLYesYes (managed)Via Hyperdrive to remote DBManaged
Redis (cache, queue, broadcast)YesYesKV alternative for cache onlyManaged
WebSocket broadcastingYesYes (with Redis)Not on Workers todayYes
queue:work long-runningYesYes (separate process)No — use origin cronManaged worker
view:cache on deployYesYesPre-build in CI, serve from originAutomatic
File storageLocal / S3 / R2R2 / S3R2 nativeR2 / object store
Edge HTML cache (ETag)Via CDNVia CDNNativeBuilt-in

App shape → hosting pattern

Full-stack SSR (default scaffold)

Browser → CDN (optional) → Node (tyravel start) → Postgres
                              ↳ queue worker
                              ↳ scheduler cron

Best on Docker, Fly, or Railway. Put Cloudflare in front for TLS, DDoS, and cacheable GET routes.

Headless API

Client / mobile → CDN (optional) → Node (headless) → Postgres
                                       ↳ queue worker

Skip view:cache. Smaller image, faster boot. Same Node hosts apply.

Split: API + static front-end

Browser → Cloudflare Pages (static SPA)
       → Cloudflare proxy → Node Tyravel API (Fly/Railway)
       → R2 (uploads)

Common when the UI is Vite/React and the API is tyravel new --headless.

Split: SSR origin + Cloudflare edge

Browser → Cloudflare (proxy, cache rules, WAF)
       → Node origin (SSR + API)
       → Postgres + Redis
       → R2 (optional storage disk)

Recommended Cloudflare pattern until a Workers adapter ships. See the edge cache cookbook.

Process checklist (all Node platforms)

Every production deploy should run:

bash
tyravel migrate
tyravel config:cache
tyravel route:cache
tyravel view:cache    # skip for headless
tyravel deploy:check  # optional gate before traffic

See CI/CD for pipeline examples.

Released under the MIT License.