IO π NIO
π Difference: 곡ν΅μ : used to perform read and write operations μ°¨μ΄μ : How to use it in network programming β IO Input, Output 1οΈβ£ blocking process waits until data operation fin...
π Difference: 곡ν΅μ : used to perform read and write operations μ°¨μ΄μ : How to use it in network programming β IO Input, Output 1οΈβ£ blocking process waits until data operation fin...
How to achieve reliable data transmission over unreliable source/service β Packet corruption ν¨ν· μμ bit error inside packet often occur in physical layer π ARQ: retransmit β Packet loss ...
β MTU Maximum Transmission Unit ν¨ν· λλ νλ μ κΈ°λ° λ€νΈμν¬μμ μ μ‘λ μ μλ μ΅λ ν¬κΈ° ν¨ν·, νλ μ ν λ²μ μ μ‘ν μ μλ μ΅λ μ μ‘λ byte MTU would depend on environment Ethernet environment: MTU 1500 FDDI environment: ...
π UDP β What is UDP? - User Datagram Protocol - conectionless - unreliable - check just data error with checksum β What are the benefits of UDP? and the disadvantages? ππ» fast ππ» les...
β Huffman coding λ¬Έμμ λΉλμλ₯Ό κ°μ§κ³ μμΆνλ κ³Όμ assign variable length code to input characters, lengths of the assigned codes are bsed on the frequencies of corresponding characters λΆλͺ¨ λ Έλλ₯Ό λ§λ€ λ ...
β Proxy intermediary between client and server connect two or more applications using same protocol HTTP proxy can function both as server and client Proxy recives HTTP client reques...
π SOP, CORS, XXS, CSRF, SQL injection, XML injection β What is origin? - protocol β host β port β What is SOP? - Same Origin Policy - resource can be shared only between same server/same d...
β Bandwidth maximum capacity of a wired or wireless communications to transmit data over a network connection in a given amount of time maxmimum amount of bits that can be transmitted in spec...
β Multi Processing several CPUs each CPU can execute different task parallel processing in process, work in parallel operate multiple jobs at the same time ππ» reduce ...
β Time Complexity time taken by an algorithm to run as a function of the length of the input μκ°λ³΅μ‘λ: μ λ ₯ ν¬κΈ° nμ λν΄ κ±Έλ¦° μκ°μ ν¨μT(n)λ‘ νν μμλ 1λ‘ μ·¨κΈ κ°μ₯ μν₯λ ₯μ΄ ν° κ°(dominant)λ§μ λνλΈλ€. Exampl...