Skip to main content

Recently Updated Pages

Failover & Recovery Testing

Redis High Availability with Sentinel

Now the payoff: we kill the primary and watch the cluster heal itself with no human intervention....

Updated 1 month ago by Eslam Shapsough

Overview & Architecture

Redis High Availability with Sentinel

Redis ships with replication and a dedicated high-availability companion — Sentinel — but they ar...

Updated 1 month ago by Eslam Shapsough

Production Hardening & Troubleshooting

Redis High Availability with Sentinel

The build above is functionally HA. Before production, tighten these. Persistence — survive a ful...

Updated 1 month ago by Eslam Shapsough

Connecting Applications

Redis High Availability with Sentinel

This is the part that makes Sentinel different from a database-behind-a-proxy setup: the client d...

Updated 1 month ago by Eslam Shapsough

Sentinel — Automatic Failover Configuration

Redis High Availability with Sentinel

Replication gives us copies. Sentinel is what turns those copies into high availability — it watc...

Updated 1 month ago by Eslam Shapsough

Install Redis & Configure Replication

Redis High Availability with Sentinel

We install the same two packages on all three nodes, then point the two replicas at the primary. ...

Updated 1 month ago by Eslam Shapsough

Environment & Prerequisites

Redis High Availability with Sentinel

Servers You need three Linux servers (Ubuntu 24.04 LTS or 26.04 — Redis 8 and the redis-sentinel...

Updated 1 month ago by Eslam Shapsough

Failover & Recovery Testing

PostgreSQL High Availability with Patro...

Now the payoff: we kill the primary and watch the cluster heal itself with no human intervention....

Updated 1 month ago by Eslam Shapsough

Overview & Architecture

PostgreSQL High Availability with Patro...

PostgreSQL is famously reliable, but out of the box it has no built-in automatic failover. If the...

Updated 1 month ago by Eslam Shapsough

Production Hardening & Troubleshooting

PostgreSQL High Availability with Patro...

The cluster we built is complete and self-healing, but a few choices were made to keep the lab to...

Updated 1 month ago by Eslam Shapsough

HAProxy — Connection Routing

PostgreSQL High Availability with Patro...

Clients shouldn't connect to a specific database node — that node might be a replica today and go...

Updated 1 month ago by Eslam Shapsough

Bootstrapping the Cluster

PostgreSQL High Availability with Patro...

With Patroni configured on all three nodes, we bring the cluster up. The order matters: the first...

Updated 1 month ago by Eslam Shapsough

PostgreSQL 18 & Patroni — Install & Configure

PostgreSQL High Availability with Patro...

Run everything on this page on the three database nodes — pg-sv01, pg-sv02, pg-sv03. Install Post...

Updated 1 month ago by Eslam Shapsough

etcd — the Distributed Configuration Store

PostgreSQL High Availability with Patro...

etcd is the distributed configuration store (DCS) that Patroni uses to elect a leader and hold cl...

Updated 1 month ago by Eslam Shapsough

Environment & Prerequisites

PostgreSQL High Availability with Patro...

Servers You need four Linux servers (Ubuntu 24.04 LTS or 26.04 — this guide uses the PGDG reposit...

Updated 1 month ago by Eslam Shapsough

Assignment 2: Build a dashboard and a working alert

Module 11 — Observability & Monitoring

Goal: Get hands-on with Grafana on its own: connect to existing lab data, build a focused dashboa...

Updated 2 months ago by Eslam Shapsough

Assignment 1: CAPSTONE — Ship a full stack end to end

Module 11 — Observability & Monitoring

Goal: Prove you can take a real application all the way through the platform you've built across ...

Updated 2 months ago by Eslam Shapsough

Lesson: Loki, Mimir & Tempo

Module 11 — Observability & Monitoring

What you'll learn What Loki does for logs, and how to query it with LogQL. What Mimir does for m...

Updated 2 months ago by Eslam Shapsough

Lesson: The Collector

Module 11 — Observability & Monitoring

What you'll learn What a collector / agent does and why you need one between your systems and th...

Updated 2 months ago by Eslam Shapsough

Lesson: Dashboards, Exploring & Alerts

Module 11 — Observability & Monitoring

What you'll learn What a Grafana data source is and why Grafana stores no data itself. How to bu...

Updated 2 months ago by Eslam Shapsough