<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Load Balancing on Kelly Dev</title><link>https://kelly-chui.github.io/tags/load-balancing/</link><description>Recent content in Load Balancing on Kelly Dev</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 01 Feb 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://kelly-chui.github.io/tags/load-balancing/index.xml" rel="self" type="application/rss+xml"/><item><title>Network. Load Balancing</title><link>https://kelly-chui.github.io/posts/cs-network-load-balancing/</link><pubDate>Sat, 01 Feb 2025 00:00:00 +0000</pubDate><guid>https://kelly-chui.github.io/posts/cs-network-load-balancing/</guid><description>&lt;h2 id="로드-밸런싱"&gt;로드 밸런싱&lt;/h2&gt;
&lt;p&gt;가용성, 성능, 확장성을 높이기 위해 여러 서버에 네트워크 트래픽을 분산하는 방법이다.&lt;/p&gt;
&lt;h2 id="특징"&gt;특징&lt;/h2&gt;
&lt;p&gt;서버와 클라이언트 간의 트래픽을 지시하고 제어하여 가용성, 확장성, 보안 및 성능이 향상됨&lt;/p&gt;
&lt;h3 id="가용성"&gt;가용성&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;여러 서버에 트래픽을 분배하여 한 서버가 다운되었을 때, 사용 가능한 서버로 트래픽을 리다이렉션한다.&lt;/li&gt;
&lt;li&gt;애플리케이션 가동 중지 없이 서버 유지 관리 및 업그레이드 가능&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="성능"&gt;성능&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;여러 서버에 요청을 분배하여, 네트워크 지연 시간을 줄임&lt;/li&gt;
&lt;li&gt;물리적으로 더 가까운 서버로 리다이렉션 하여 지연 시간 단축&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="보안"&gt;보안&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;트래픽 모니터링&lt;/li&gt;
&lt;li&gt;공격 트래픽을 여러 서버로 리다이렉션 하여 영향 최소화&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="확장성"&gt;확장성&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;서버 수를 동적으로 추가하거나 제거하여 트래픽 변화에 유연하게 대응 가능&lt;/li&gt;
&lt;li&gt;수평 확장(서버 추가), 수직 확장(성능 향상) 둘 다 가능&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="동작-원리"&gt;동작 원리&lt;/h2&gt;
&lt;h3 id="l4-로드-밸런싱"&gt;L4 로드 밸런싱&lt;/h3&gt;
&lt;p&gt;전송 계층에서 수행하는 로드 밸런싱, 패킷 헤더에 포함된 정보를 기반으로 TCP나 UDP 패킷을 기준으로 트래픽을 분배한다.&lt;/p&gt;</description></item></channel></rss>