TCP/IP: The backbone of the internet
TCP/IP, or Transmission Control Protocol/Internet Protocol, is a suite of communication protocols that are used to connect devices on the Internet. It is a four-layer model that defines how data is trans
What is DNS? | How DNS works
What is DNS
Example
human-readable domain names: api.mysite.com
↓
DNS Solver
↓
computer-friendly IP address: 192.168.1.1
To put it simply, DNS translates human-readable domain names to machine-readable IP addresses
1. google.com i
URL format Rule for API
Rule: Use hyphens (-) in URLs to improve readabilityExample:
Good: https://api.example/this-is-my-first-post
Bad: https://api.example/thisismyfirstpost
Rule: Should use hyphen (-) to improve readabilityExample:
Good: https://api.example
System design
Single server setup
Users access websites through domain names, such as api.mysite.com. Usually, the Domain Name System (DNS) is a paid service provided by 3rd parties and not hosted by our servers.
Internet Protocol (IP) address is ret
Process
A program in execution
The OS has five principal storage management responsibilities
Process isolation
Automatic allocation and management
Support of modular programming
Protection and access control
Long-term storage
Virtua
API stands for Application Programming Interface
REST stands for Representational State Transfer.
What does the RESTful API client request contain?RESTful APIs require requests to contain the following main components:
Unique resource id
What will happen when you open an URL in a browser?
When you open a URL in a browser, the following things will happen
The browser will first check its cache to see if it has a copy of the website's code. If it does, the browser will use the cached code to render the website.
If the browse
What will happen when you open an URL in a browser?
What is HTTP/2 and how is it different from HTTP/1?
What is HTTP?HTTP stands for Hypertext Transfer Protocol. It is a set of rules for how computers communicate over the internet. It is the foundation of the World Wide Web and is used to transfer information between web servers and web brows
What is HTTP/2 and how is it different from HTTP/1?