Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple web app claster powered by serf

How to

Clone this repo

$ git clone git@github.com:kryachkov/web-app-cluster-demo.git

Set it up with Vagrant

$ vagrant up

Open http://192.168.33.10 in your browser and see that load balancer proxies your request to app.

app_works_ok

Bring db node down

$ vagrant halt db

Hit http://192.168.33.10 and see the fancy maintenance node page

maintenance_mode

Bring db node up again

$ vagrant up db

Hit http://192.168.33.10 again and see response from app node

app_works_ok

This is an extremely simple demonstration of one of many things that can be done using Hashicop's Serf

About

demo of web app cluster build using serf

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages