HTTP
The protocol (set of rules) the browser uses to ask a server for pages, and the server to send them. HTTPS is the encrypted version.
Example
When opening arki.app, the browser sends 'GET /' over HTTP and the server answers with the 200 KB page.
Test yourself: HTTP
Real time: long polling, WebSockets and SSE
What problem did the original client-server model have for real time?
To see a goal instantly, the client would have to ask every 1 second: 3,600 times per hour.
0/1
â–¶ PlayLessons that use it
The OSI model
The network, in 7 layers
TCP and UDP
Safe or fast
Proxies
A middleman in between
Message queues
Don't keep them waiting
Publish-subscribe
1 message, many listeners
REST APIs
Resources and verbs
Real time: long polling, WebSockets and SSE
Letting the server speak first
Rate limiting
A cap on requests
SSL, TLS and mTLS
Talk without anyone listening
Designing a URL shortener
A long link in 7 characters
Designing WhatsApp
2 billion messages a day
Designing Uber
10 million rides a day
