Skip to content

kryachkov/web-app-cluster-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple web app claster powered by serf

How to

Clone this repo

$ git clone [email protected]: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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages