Felhasználói eszközök

Eszközök a webhelyen


tanszek:oktatas:iss_t:docker2

Különbségek

A kiválasztott változat és az aktuális verzió közötti különbségek a következők.

Összehasonlító nézet linkje

Előző változat mindkét oldalon Előző változat
Következő változat
Előző változat
tanszek:oktatas:iss_t:docker2 [2023/04/16 18:47]
knehez
tanszek:oktatas:iss_t:docker2 [2023/04/16 18:50] (aktuális)
knehez
Sor 1: Sor 1:
 ==== Scale services with load balancing ==== ==== Scale services with load balancing ====
  
-https://​github.com/​knehez/​isi - folder ​example2+https://​github.com/​knehez/​isi - folder ​example_2
  
 **HAProxy** is an open-source software that provides High Availability services, load balancing, and proxying for **TCP** and **HTTP**-based applications. It is used to distribute incoming network traffic across multiple servers to improve performance,​ scalability,​ and reliability of applications. **HAProxy** acts as a reverse proxy, meaning that it receives requests from clients and forwards them to the appropriate server based on various criteria such as load balancing algorithms, server health checks, and session persistence. **HAProxy** is an open-source software that provides High Availability services, load balancing, and proxying for **TCP** and **HTTP**-based applications. It is used to distribute incoming network traffic across multiple servers to improve performance,​ scalability,​ and reliability of applications. **HAProxy** acts as a reverse proxy, meaning that it receives requests from clients and forwards them to the appropriate server based on various criteria such as load balancing algorithms, server health checks, and session persistence.
Sor 26: Sor 26:
 </​code>​ </​code>​
  
-HAPROXY ​config:+HAproxy ​config: 
 + 
 +The following configuration sets up HAProxy to listen on port 80 for incoming HTTP traffic and distribute it across five backend servers that are checked for health before traffic is forwarded. It also sets up a stats interface on port 8404 to monitor the HAProxy instance.
  
 <​code>​ <​code>​
Sor 68: Sor 70:
   - The backend webservers section defines a backend that consists of five servers, all with the name web and listening on port 5000. The check option specifies that HAProxy should check the health of each server before forwarding traffic to it.   - The backend webservers section defines a backend that consists of five servers, all with the name web and listening on port 5000. The check option specifies that HAProxy should check the health of each server before forwarding traffic to it.
  
-In summary, this configuration sets up HAProxy ​to listen on port 80 for incoming HTTP traffic and distribute it across five backend servers that are checked for health before traffic is forwarded. It also sets up a stats interface on port 8404 to monitor the HAProxy instance.+How to run?
  
 +    docker-compose up --scale web=4
tanszek/oktatas/iss_t/docker2.1681670857.txt.gz · Utolsó módosítás: 2023/04/16 18:47 szerkesztette: knehez