Handling disaster recovery and geographic distribution with Nginx

Clustering a microservice, or a web application, in a single datacenter can help us in performance and availability, but what’s happens when our users are distributed worldwide, or there is a disaster and our data center isn’t more available?

TL;DR: Jump directly to the Demo section!

So, we decide to serve our application from the closest datacenter to the user, to improve network latency, database load, and in general performance, and, moreover, we will use the other datacenter as a backup…

--

--

--

Open-space invader, bug hunter and software writer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Custom Grafana dashboards for Red Hat OpenShift Container Platform 4.x …

How to Build a Computer Kids,Code and Computer Science

Why we build bestshow.io

Configure local wordpress development on mac OS

Get ready for Neo4j Summer of Nodes! 🌞

Python Singleton

Decoding custom formats with Viper

Leetcode Easy: Binary Tree Inorder Traversal

Binary tree with a root of one. No left node, right node of 2.Node 2 has a left node of 3

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Davide Cerbo

Davide Cerbo

Open-space invader, bug hunter and software writer

More from Medium

CI/CD configuration with GitLab Runner and pm2

How to Deploy an App Using Google Compute Engine

Using EC2 to create a microservice

Hosting frontend app on Cloud - Part I