Skip to content

Go further

Check

Checkpoint: call us to check your results (don’t stay blocked on a checkpoint if we are busy, we can check ⅔ checkpoints at the same time)

Question

Point to document/report

Tip

Interesting information

Goals

Setup the extra infrastructure tools and become the devops master.

Load balancing

Redundancy

In this section our goal will be to have a redundant backend. Instead of having a single backend application let’s have 2 (Why not more? Do not forget that your server does not have unlimited resources).

Setup 2 backends instances: backend-1/backend-2 or backend-blue/backend green (my personal favorite).

Actual load balancing

Set up your reverse proxy to do some actual load-balancing between your 2 backends using: Mod proxy balancer.

Start by setting up your load balancing on your dev environment, once you are satisfied with the behavior deploy it to your production.

Tip

Ask yourself: why can we that easily load balance between our backends? Heard of sticky sessions or stateless apps?

Check

Checkpoint: do you loadbalance?

Grafana

Setup Grafana with Ansible to monitor your instance: Ansible Grafana

Useful links:

Check

Checkpoint: do you Grafana?

© Takima 2025