concurrent
-
CSAPP : 웹서버 만들기(Week07) - Proxy 1,2(Sequential, Concurrent)개발/Proxy 2022. 5. 26. 22:46
Part 1. Sequential Web Proxy sequential web proxy는 한 번에 하나씩 요청을 처리하는 웹 서버이다. 트랜잭션이 완료되면 다음 커넥션이 처리한다. 처리 도중에 모든 다른 커넥션이 무시되므로 심각한 성능 문제를 만들어낸다. 기본 HTTP 작업과 소켓을 사용하여 네트워크 연결을 통해 통신하는 프로그램을 작성하는 방법에 대한 학습이 포함된다. Sequential Web Proxy 구현 목표 basic sequential proxy that handles HTTP/1.0 GET requests read the entirety of the request from the client and parse the request. establish its own connection to..