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

Scraping all COVID-19 Symptoms tweets using Python.

Building A Responsive Coming Soon Page In Less Than 10 Minutes😱💖

Pip — extra-index-url, Considered Dangerous

13 Myths about Programmers that you shouldn’t believe at any cost

13 Myths about Programmers that you shouldn’t believe at any cost

How to Obtain Access to S3 Objects

The importance of Python in Data Science

Monday April 4th Universe Marketplace Update

The Masters Golf 2020 Live Free

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

Simple App — Project Summary

Step by Step Configuring Elasticsearch Snapshot Feature

Elastic Logo

Configure SAML single sign-on for Kibana with AAD

Local Development Set-Up of PostgreSQL with Docker