Computer Science

    [CS][컴퓨터 네트워킹 하향식 접근] Chapter2.3 Email, SMTP, IMAP

    Chapter02. Application Layer E-mail 가장 먼저 개발된 인터넷 application이다 3개의 주요 component를 가진다 user agent : 브라우저를 이용해 email을 작성/편집/송신/수신 mail server SMTP : simple mail transfer protocol : 서버끼리 주고 받기 위해 user agent = mail reader 작성, 편집, 읽기, 보내기 Ex. outlook, iphone mail client 서버에 저장된 메일을 보내거나 받음 mail server mailbox는 사용자의 수신(들어온) 메세지 유지/소유 송신(보낼) 메세지의 message queue 운영 email message를 보내기 위해 SMTP protocol은 ma..

    [CS][컴퓨터 네트워킹 하향식 접근] Chapter2.2 Web and HTTP

    Chapter02. Application Layer Web and HTTP Web page는 URL로 주소를 지정할 수 있는 여러 참조 object를 포함하는 기본 HTML 파일로 구성 HTTP overview hypertext transfer protocol 의 약자 web의 application layer protocol client/server model client : browser가 web object들을 requrest, receive, display server : web server가 request에 응답하여 object send HTTP는 TCP 이용 client는 server(port 80)에 대한 TCP 연결(소켓 생성) 시작 server는 client의 TCP 연결 수락 → cont..

    [CS][컴퓨터 네트워킹 하향식 접근] Chapter2.1 Principles of network application

    Chapter02. Application Layer Creating a network app 프로그램은 end system에서 작동 network core device를 위한 sw 필요 X network core device는 application 실행 X end system의 application이 app의 신속한 개발과 전파를 가능하게 함 Client-Server paradigm server 항상 켜져 있는 host IP 주소 고정 많은 수의 호스트를 갖춘 data center가 강력한 가상의 서버를 생성하는 역할로 사용 clients server와 contact하고 communicate 간헐적으로 연결됨 동적인 ip 주소 client끼리 직접적으로 연결 X Ex. HTTP, IMAP, FTP Pee..

    [CS][컴퓨터 네트워킹 하향식 접근] Chapter1.6 Protocol Layer, service models

    Chapter01. Computer Networks and the Internet Protocol layers and reference models 기능을 잘 나누고 서비스를 명확히 정의하자 메세지가 전송된다 = Physical Communication = 실선 같은 계층끼리 커뮤니케이션 한다 = Logical Communication = 점선 Layer별로 표현 상위가 하위의 서비스 이용 하위가 상위에게 서비스 제공 계층 별로 인터페이스가 헤더에 잘 정리 되어야 한다 Layer는 각 계층에서 서비스를 구현한다 자체적인 내부 계층 작업을 통해 하위 계층으로부터 제공되는 서비스에 의존 Layering 하는 이유 복잡한 시스템을 처리하기 위해서 논의를 위한 layerd reference model 명확한 구..

    [CS][컴퓨터 네트워킹 하향식 접근] Chapter1.5 Security

    Chapter01. Computer Networks and the Internet Network security 원래 Internet은 보안을 염두하지 않고 설계되었다 security를 반영하면서 http → https 로 변화되었다 프로토콜에 추가하는 방식으로 보안 추가되었다 Bad guys : malware 악성코드를 의미 Virus : receiving/executing object 에 의해 self-replicating 감염 Worm : 스스로 실행되는 object를 수동적으로 receiving하여 감염을 self-replicating Spyware malware은 keystrokes, web sites visited, upload info to collection site 기록 가능 감염된 호스..

    [CS][컴퓨터 네트워킹 하향식 접근] Chapter1.4 Performance : loss, delay, throughput

    Chapter01. Computer Networks and the Internet How do packet loss and delay occur? router buffer 에 있는 packet queue에서 차례를 기다린다 일시적으로 arrival rate > output link capacity = packet loss transmission delay : 패킷이 전송 중일 때 queueing delay : 패킷이 buffer 안에 있을 때 사용 가능한 free한 buffer : free buffer가 없는 경우에 도착 패킷이 drop/loss Packet delay : four soruces d_proc nodal processing 패킷 처리에 걸리는 시간 bit error 검사 시간이 포함될 수도..

    [CS][컴퓨터 네트워킹 하향식 접근] Chapter1.3 Network Core

    Chapter01. Computer Networks and the Internet The network core mesh of interconnected routers packet switching host가 application-layer msg를 packet으로 분할 한 router에서 다음 router로 packet을 전달하고 source에서 destination으로 이동 경로의 link를 가로지른다 각각의 packet이 full link capacity로 전송 → 나눠 쓰지 않음 Packet switching : store-and-forward 저장 후 전달 Transmission delay 나가는 데에 걸리는 시간 L bit 패킷을 R bps로 다음 링크로 전송하는 데에 L/R sec 소요 St..

    [CS][데이터베이스 시스템 3판] Chapter03. The relational Model

    Relational Database : Definitions a set of relations Relation : 2 part로 구성 Schema : relation 이름, 각 열의 name과 type 지정 Instance : table의 상태, 행&열, DB의 한 순간의 상태 relation을 행 or 튜플의 집합으로 생각할 수 있다 Ex Oracle에는 string이라는 data type이 없다 → char이나 varchar 사용, real data type도 없어서 number 사용 Relational Query Languaes Algebra에 기반 Relational model의 강점 : Data의 단순성과 강력한 query 지원 Query는 직관적으로 작성할 수 있으며 DBMS는 효율적인 평가를..

    [CS][데이터베이스설계와질의] Chapter02. The Entity Relationaship model

    Overview of Database Design Conceptual Design ER model이 여기서 사용됨 entity 와 realtionship이 어떻게 되는지 우리가 DB에 저장해야 할 entity 와 relationship 의 정보가 어떻게 되는지 integrity constraints 혹은 business rules가 무엇인지 ER model의 DB인 schema는 그림으로 표현되어야 한다 ER diagram을 relational schema에 매핑할 수 있다 ER Model Basics Entity 객체 실세계 object attribute의 집합을 이용해 entity 서술 Entity set 비슷한 entity의 집합 Entity set의 모든 entity는 동일한 attributes ..