- Interruption
generates an interrupt
interrupt controller - Typeahead
processor
do_IRO()
handler()
less delay: best: less than 10 ms
cache: 1. used before 2. used predictive - Http/Https:
protocol
IPV4: 256^4
IPV6: - DNS:
nslookup www.google.com
traceroute www.google.com
port:
443 https
8080⁄80 http - Seven Layers:
connect with https:
(7). Application Layer: https
(6). Presentation
(5). Session
(4). Transport:
tcp : find a road from a to b
tcp:Three Interaction Protocol
(3). Network: ip
(2). Data Link: ethernet
(1). Physical - Server-side:
node.js single thread, avoid context switching.
Context switching would causes loss of cache, and eventually reduce efficiency. - Render in browser:
User interface
Browser engine: data persistence(cookies, user information)
Rendering engine:
networking, js interpreter, ui backend
DOM tree: parse html into DOM tree
Style Rules: css parser
render tree: website
2 min read
Bittiger cs101 notebook 5 - what happens when visit a website