Skip to content

willandskill/redis-sentinel-haproxy-cookbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup a highly-available Redis cluster with Sentinel and HAProxy

The purpose of this tutorial is to show You how to quickly setup a Redis cluster with Sentinel (comes with Redis) and HAProxy on Ubuntu 18.04

This repo contains sample files to make it easier for the reader to copy paste some code and get started.

Read the full tutorial here

A quick explanation of the technologies used in this tutorial

  • Redis - A fast key/value storage engine
  • Sentinel - Keeps track of Master/Slave machines and promotes and demotes them when VMs go down or go offline
  • HAProxy - A proxy server that can keep track of which services that are available and ready to receive requests

The big picture

redis-sentinel-cluster

Prerequisites

  • For VMs with Ubuntu 18.04 installed
  • Basic knowledge in how to install packages in Ubuntu via APT
  • Basic knowledge of how to edit configuration files
  • Basic knowledge of how firewalls work

About

A boilerplate project for getting started with a basic Redis cluster

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages