🚀 New High-Availability Database Templates: PostgreSQL 18 HA, TimescaleDB HA, MongoDB 8.2.3 Replica
icueth
PROOP

2 months ago

Hey Railway Community! wave emoji

I'm excited to share 3 new high-availability database templates I've built for production workloads. Each template features automatic failover-ready architecture, zero-config auto-tuning, and internal network optimization.

---

### elephant emoji PostgreSQL 18 HA Cluster (AI & GIS Ready)

The latest PostgreSQL 18 with AI and geospatial extensions pre-installed.

Key Features:

- PostgreSQL 18 (latest) with Primary + Replica architecture

- Pre-installed extensions: pgvector (AI embeddings), PostGIS (geospatial), pg_trgm (fuzzy search)

- Pgpool-II proxy for connection pooling & read/write splitting

- Auto-tuning based on Railway resources

- Streaming replication with < 10ms lag

Perfect for: AI/ML applications, RAG systems, location-based services, full-text search

link emojiDeploy PostgreSQL 18 HA

---

### stopwatch emoji TimescaleDB HA (Primary + Replica)

Enterprise-grade time-series database built on PostgreSQL 17.

Key Features:

- TimescaleDB 2.24.0 with hypertable support

- Primary + Replica with automatic streaming replication

- Pgpool-II proxy for intelligent connection management

- Optimized for high-frequency inserts (1,500+ ops/sec)

- Replication lag < 10ms (P99 < 15ms)

Perfect for: IoT telemetry, financial data, metrics/monitoring, application logs

link emojiDeploy TimescaleDB HA

---

### leaves emoji MongoDB 8.2.3 Replica Set

Latest MongoDB with native replica set for high availability.

Key Features:

- MongoDB 8.2.3 (latest) with 2-node replica set

- Automatic primary election and failover

- Authentication enabled with keyfile security

- Ready-to-use connection strings for both internal and external access

Perfect for: Document stores, real-time analytics, content management, session storage

link emojiDeploy MongoDB 8.2.3 Replica

---

### Quick Comparison

| Template | Database | Architecture | Use Case |

|----------|----------|--------------|----------|

| PostgreSQL 18 HA | PostgreSQL 18 | Primary + Replica + Proxy | AI/ML, GIS |

| TimescaleDB HA | PostgreSQL 17 + TimescaleDB | Primary + Replica + Proxy | Time-series |

| MongoDB Replica | MongoDB 8.2.3 | 2-node Replica Set | Document store |

---

All templates are one-click deploy and require only a password configuration. Happy to answer any questions!

heart emojiSupport Me

2 Replies

joezaonly
PRO

2 months ago

Best project

Thank you.


petchpool
PRO

2 months ago

Very useful


Loading...