[Web] Http Keep-Alive

Keep-Alive

Keep-Alive의 목적은 커넥션을 유지할것이냐 끊을것이냐에 있다


Http Keep-Alive

Http 프로토콜에서 Keep-Alive를 지원한다
Http는 State Less하다는 특징이 있는데 이 State Less를 위해 매 Request마다 커넥션을 생성하는데 있어 성능에 부담이 온다
그렇기 때문에 Keep-Alive를 설정해두면 일정 주기동안 커넥션을 유지해둔다
Http Keep Alive의 목적은 Request가 자주 오는 상황에서 커넥션 생성의 부담을 줄이기 위해서이다

Author: Song Hayoung
Link: https://songhayoung.github.io/2020/07/04/Web/KeepAlive/
Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.