Banner

My Tech Blog (LoadBalancing)

์˜ค๋Š˜์˜ ๋ช…์–ธ
ยท AWS
1. Cross-Zone Load Balancing๊ต์ฐจ ์˜์—ญ ๋กœ๋“œ ๋ฐธ๋Ÿฐ์‹ฑ์€ ๋กœ๋“œ ๋ฐธ๋Ÿฐ์„œ๊ฐ€ ๊ฐ€์šฉ ์˜์—ญ(AZ)์— ์ƒ๊ด€์—†์ด ๋ชจ๋“  ์ธ์Šคํ„ด์Šค์— ํŠธ๋ž˜ํ”ฝ์„ ๊ท ๋“ฑํ•˜๊ฒŒ ๋ถ„๋ฐฐํ•˜๋Š” ๊ธฐ๋Šฅ์ด๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด, ํ•œ์ชฝ ๊ฐ€์šฉ ์˜์—ญ์— EC2 ์ธ์Šคํ„ด์Šค 2๊ฐœ, ๋‹ค๋ฅธ ์ชฝ ๊ฐ€์šฉ ์˜์—ญ์— 8๊ฐœ๊ฐ€ ์žˆ๋‹ค๋ฉด, ์ผ๋ฐ˜์ ์œผ๋กœ ํŠธ๋ž˜ํ”ฝ์€ ์ธ์Šคํ„ด์Šค ๊ฐœ์ˆ˜์— ๋”ฐ๋ผ ๋‚˜๋‰œ๋‹ค. ํ•˜์ง€๋งŒ ๊ต์ฐจ ์˜์—ญ ๋กœ๋“œ ๋ฐธ๋Ÿฐ์‹ฑ์„ ์‚ฌ์šฉํ•˜๋ฉด, ๋ชจ๋“  ์ธ์Šคํ„ด์Šค๊ฐ€ ๋™์ผํ•œ ์–‘์˜ ํŠธ๋ž˜ํ”ฝ์„ ๋ฐ›๋Š”๋‹ค.With Cross Zone Load Balancing:each load balancer instance distributes evenly  across all registered instances in all AZ์ž‘๋™ ๋ฐฉ์‹ํด๋ผ์ด์–ธํŠธ๊ฐ€ ๋กœ๋“œ ๋ฐธ๋Ÿฐ์„œ(ALB)์— ํŠธ๋ž˜ํ”ฝ์„ ๋ณด๋‚ธ๋‹ค.๊ฐ ๋กœ๋“œ ๋ฐธ๋Ÿฐ์„œ ์ธ์Šคํ„ด์Šค๋Š” ๋ชจ๋“  ๊ฐ€์šฉ..
ยท AWS
1. Network Load Balancer (v2)Network load balancers (Layer 4) allow to:- Forward TCP & UDP traffic to your instances  - Handle millions of request per seconds- Less latency ~100 ms (vs 400 ms for ALB)NLB has one static IP per AZ, and supports assigning Elastic IP(helpful for whitelisting specific IP)NLB are used for extreme performance, TCP or UDP trafficNot included in the AWS free tier์‹œํ—˜๋ฌธ์ œ์— ๊ณ ์„ฑ..
ยท AWS
1. Scalability & High AvailabilityScalability(ํ™•์žฅ์„ฑ) means that an application / system can handle greater loads by adapting.There are two kinds of scalability  - Vertical Scalability - Horizontal Scalability (=elasticity) ํƒ„๋ ฅ์„ฑ, ์ˆ˜ํ‰ ํ™•์žฅ์„ฑScalability is linked but different to High Availability ( ํ™•์žฅ์„ฑ != ๊ณ ๊ฐ€์šฉ์„ฑ)2. Vertical Scalability - ์ˆ˜์ง ํ™•์žฅ์„ฑVertically scalability means increasing the size of the instanc..
์ƒ๋‹จ์œผ๋กœ