Computer Science/Computer Networks

    [Computer Networks] HTTP란?

    HTTP는 Hypertext Transfer Protocol의 약자로 다음과 같다. HTML 문서와 같은 리소스들을 가져올 수 있도록 해주는 프로토콜 HTTP는 웹상에서 이루어지는 모든 데이터 교환의 기초이며, 클라이언트는 서버에게 Request(요청)를 보내고, 서버는 클라이언트에게 Response(응답)를 보내는 클라이언트-서버 구조로 이루어진 프로토콜이다. 이러한 HTTP 특징은 다음과 같다. TCP 커넥션 기반 : HTTP는 Application Layer에서 동작하므로 연결은 Transport Layer의 TCP 커넥션을 기반으로 한다. (TCP 커넥션을 유지하고 한 번에 여러 객체를 전송하면 persistent HTTP, TCP 커넥션을 끊고 연결 한 번에 하나의 객체를 전송하면 non-per..

    [Computer Networks] Circuit Switching과 Packet Switching

    네트워크 상에서 데이터를 주고받는 방식인 Circuit Switching(회선 교환 방식)과 Packet Switching(패킷 교환 방식)을 정리한다. # Circuit Switching Circuit Switching은 출발지에서 목적지까지 가는 길(회선)을 특정 사용자만을 위해 할당했다고 생각하면 된다. 예를 들어 전화와 같은 통신을 생각하면 되는데, 회선 전체를 점유하고 있기에 실시간 통신이 가능하고 속도와 성능이 일정하며, 다른 사람이 끼어들 수 없다. 다만, 이러한 특징으로 인해 Bandwidth(대역폭, 일정한 시간 내에 통과할 수 있는 데이터량의 척도)가 1 Mbps라면 100kb를 사용하는 유저 10명이 Circuit Switching으로 통신하고 있을 경우 최대 10명밖에 사용하지 못하..

    [Computer Networks] 프로토콜(Protocol)이란?

    네트워크 공부를 시작하며, 계속 사용되는 단어인 프로토콜을 알아보자! 먼저 위키피디아를 보자, A communication protocol is a system of rules that allows two or more entities of a communications system to transmit information via any kind of variation of a physical quantity. The protocol defines the rules, syntax, semantics and synchronization of communication and possible error recovery methods. Protocols may be implemented by hardware,..