Home - horoyoii/simple-load-balancer GitHub Wiki

Welcome to the simple-load-balancer wiki!

1. Static Contents Caching

1.1. 참고자료

구글 가이드 : 캐싱

MDN cache-control

2. Keep Alive 처리

1.1. keep alive 처리

3. timeout 처리

502 Bad Gateway vs 504 Gateway Time-out

4. 문자열 Encoding

d2 인코딩 정리글

5. configuration library

lightbend/config

1. TCP Bridging Source code

source code

1.1 교재

링크

Thread throws exception and catch it from main thread.

how to do it

UTF-8

site

Load balance algorithms

Load balancing algorithm

Ping check

Ping check methods

ping check code in java

Multithreaded

thread code
[]

Java Socket

  • TCP socket에 대한 read와 FILE read의 차이.

read

  • Http packet을 읽을려면, CRLF에 대한 파싱과 Contents-length 라는 메타데이터로만 가능.

CRLF

StackOverFlow

  • When close() is called in sender side, receiver can get EOF(-1).

When