<?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>Reverse Proxy on Kelly Dev</title><link>https://kelly-chui.github.io/tags/reverse-proxy/</link><description>Recent content in Reverse Proxy 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/reverse-proxy/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><item><title>Network. 프록시</title><link>https://kelly-chui.github.io/posts/cs-network-proxy/</link><pubDate>Sat, 01 Feb 2025 00:00:00 +0000</pubDate><guid>https://kelly-chui.github.io/posts/cs-network-proxy/</guid><description>&lt;h2 id="프록시"&gt;프록시&lt;/h2&gt;
&lt;img alt="proxy.png" loading="lazy" src="https://kelly-chui.github.io/posts/cs-network-proxy/image-001-optimized-image.webp"&gt;&lt;p&gt;클라이언트와 서버 사이에 중간 역할을 하는 시스템, 클라이언트의 요청을 대신 처리하고 서버로부터 받은 응답을 클라이언트에 전달하는 방식으로 작동&lt;/p&gt;
&lt;p&gt;프록시는 클라이언트와 서버 사이에서 요청과 응답을 대신 전달하는 중개 서버이다.&lt;/p&gt;
&lt;h2 id="특징"&gt;특징&lt;/h2&gt;
&lt;h3 id="익명성-제공"&gt;익명성 제공&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;클라이언트의 실제 IP 주소를 숨기고, 프록시 서버의 IP 주소 사용&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="캐싱"&gt;캐싱&lt;/h3&gt;
&lt;ul&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;/ul&gt;
&lt;h3 id="트래픽-제어"&gt;트래픽 제어&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;리소스 보호를 위해 트래픽 필터링&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="종류"&gt;종류&lt;/h2&gt;
&lt;h3 id="포워드-프록시"&gt;포워드 프록시&lt;/h3&gt;
&lt;p&gt;클라이언트가 외부 서버에 접근할 때 중개 역할을 하는 프록시&lt;/p&gt;</description></item></channel></rss>