---
title: "The Future of Databases is Services"
description: "Railway replaced its bespoke per-database Plugins (Postgres, Redis, Mongo, MySQL) with databases deployed as ordinary services, built from general-purpose primitives: ZFS-backed NVMe volumes, Docker image deploys, port-based TCP proxies per region, private networking, cross-service variable references, and a `${{ secret() }}` template function for generated passwords."
url: "https://swe.quest/articles/the-future-of-databases-is-services-095ed42dc75f94bb"
canonical: "https://blog.railway.com/p/launch-01-next-gen-databases"
source: "Railway"
published: "2023-09-26"
difficulty: "easy"
kind: "Announcement"
reading_minutes: 9
tags: ["databases","cloud","deployment","system-design"]
---

# The Future of Databases is Services

A post on [Railway](https://swe.quest/sources/railway.md), published 2023-09-26, 9 min read, Announcement. Original: [https://blog.railway.com/p/launch-01-next-gen-databases](https://blog.railway.com/p/launch-01-next-gen-databases)

## Summary

Railway replaced its bespoke per-database Plugins (Postgres, Redis, Mongo, MySQL) with databases deployed as ordinary services, built from general-purpose primitives: ZFS-backed NVMe volumes, Docker image deploys, port-based TCP proxies per region, private networking, cross-service variable references, and a \`${{ secret() }}\` template function for generated passwords. Because TCP carries no Host header, the proxy routes by assigning a unique port per service. Combined into one-click templates, these primitives let users deploy any database, such as PGVector, Chroma, ClickHouse or Temporal, and Railway plans to add backups and high availability the same way.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Databases](https://swe.quest/tags/databases.md) (Data & databases)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)
- [Deployment](https://swe.quest/tags/deployment.md) (Reliability & operations)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)

## Prerequisites

- Docker images ([easy posts on Containers](https://swe.quest/tags/containers.md?difficulty=easy))
- TCP vs HTTP routing ([easy posts on Networking](https://swe.quest/tags/networking.md?difficulty=easy))

## Keywords

Railway, ZFS, Docker, Postgres, TCP proxy, Railway Templates

## Related posts

- [How Cedalio uses Neon for an efficient development workflow](https://swe.quest/articles/how-cedalio-uses-neon-for-an-efficient-development-workflow-265835e6a16f5a00.md): Neon · 2024-05-29 · Easy · 5 min read · PostgreSQL, CI/CD, Multi-tenancy, Serverless
  Cedalio, an ESG data verification startup, moved from DynamoDB to Postgres and picked Neon over RDS for a simpler API and console.
- [Fly Postgres, managed by Supabase](https://swe.quest/articles/fly-postgres-managed-by-supabase-c2ddce21256b3097.md): Supabase · 2023-12-15 · Easy · 4 min read · PostgreSQL, Cloud platforms, Replication, Virtualization
  Supabase and Fly.io launched Fly Postgres, a managed Postgres running on Fly Machines (Firecracker VMs) with Supabase features like Supavisor pooling, pgvector, PITR, branching and auto-generated REST/GraphQL APIs; the offering has since been deprecated.
- [Breaking up a monolith: How we’re unwinding a shared database at scale](https://swe.quest/articles/breaking-up-a-monolith-how-we-re-unwinding-a-shared-database-at-scale-4f34dacf50e040a9.md): Datadog Engineering · 2025-06-17 · Medium · 20 min read · PostgreSQL, Schema migrations, Refactoring & migrations, Microservices, Replication
  Datadog is splitting its large shared Postgres database into independently owned instances through a three-phase plan: logical separation into per-domain private schemas with explicit ACLs, access reduction so only owning teams query their tables directly, and physical separation onto managed OrgStore instances.
- [Neon Twin: Move Dev/Test/Staging to Neon, Keep Production on RDS](https://swe.quest/articles/neon-twin-move-dev-test-staging-to-neon-keep-production-on-rds-a26cd19df36ac332.md): Neon · 2024-07-24 · Medium · 7 min read · PostgreSQL, CI/CD, Databases
  A Neon Twin is a nightly-synced copy of an RDS Postgres production database kept in Neon for dev, test and staging, so teams get instant provisioning, branching and scale-to-zero without migrating production.
- [Understanding Neon’s object hierarchy](https://swe.quest/articles/understanding-neon-s-object-hierarchy-93be958b09bed77b.md): Neon · 2023-06-07 · Easy · 4 min read · PostgreSQL, Serverless, Databases
  Neon organizes serverless Postgres into projects, branches and compute endpoints, built on a separation of storage and compute that avoids sizing a database upfront.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
