load balancer/reverse proxy Flashcards

1
Q

What is a load balancer

A

Ensures high availability by distributing traffic to two or more servers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Big bang deployment

A

Deploy all changes into production all at once

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Continuous Deployment

A

automatically deploy new versions at fixed times

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Blue green deployment

A

new and old version run in parallel with a load balancer, once new version is fully tested and complete, load balancer will move traffic to the new one

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

canary deployment

A

similar to blue green deployment but traffic is slowly moved to the newer version by the load balancer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

shadow development/dark launching

A

Shadow api is fed data from the live api in order to test the shadow api with live data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

ramped deployment/rolled deployment

A

The servers are slowly updated with the new version, either gradually increase percentage (ramped) or update each server (rolling)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

recreate deployment

A

Old version is shut down and new version is installed before turning on the servers again

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

A/B testing development

A

random group of users are given access to the new version while the rest continue on old version

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a reverse proxy server?

A

Sits in front of one or more servers and passes client requests to those servers and responses back

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

how do you setup reverse proxy server in nginx?

A

proxy_pass directive specifies the location of the server that you want to pass to

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what does proxy_set_header do?

A

allows you to pass headers from the original request to the proxy server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Why would you use a load balance?

A
  1. Failover: A server crashes and the load balancer can redirect traffic elsewhere
  2. Server monitoring: Monitors health of servers and distributes traffic based on health
How well did you know this?
1
Not at all
2
3
4
5
Perfectly