Protocols are the rules and regulations that are required to administer something within a boundary. Communications need to have some structure among the networks. A network protocol is when you have rules that bind the communication in a structure. The most common network here would be WWW (World Wide Web) and the protocols are TCP/IP, HTTP, etc.
Let’s get ourselves familiar with some of these protocols.
1. Internet Protocol (IP)
The first one for us to discuss is Internet Protocol (IP) which is the fundamental layer of protocols. This tells us how to implement communication across the internet networks.
Under this protocol, the data are transmitted in packets — small bundles of information (2¹⁶ bytes). There are two components in each packet: -
a) The Header
b) The Data
The header holds the metadata about the packet where it states the IP address of the source and the destination.
NOTE: An IP address is a numeric label each device gets when connected to a computer network. It consists of two addresses — Private and Public with two versions — IPv6 which is getting widely used since IPv4 is running out of numerical addresses.
2. Transmission Control Protocol (TCP)
Data transmits via packets in the IP (Internet Protocol) which is small which means there would be multiple packets that can lead to lost or even disordered packets which corrupts the data leading to so many problems. TCP or Transmission Control Protocol was created on top of IP to solve this problem where the data packets are transmitted in order. Its header holds the information about the ordering of the packets.
We refer to this protocol as TCP/IP since it’s built on top of the IP. Here, TCP first establishes a connection between the two parties before transmitting the data.
3. Hyper Text Transfer Protocol (HTTP)
Moving on, we have HTTP or Hyper Text Transfer Protocol which is an abstraction built on top of TCP/IP protocol. It uses the request-response system which we see in the client-server architecture. This is what we have been seeing on the internet these days. Here, we have moved past the TCP/IP protocol since the requests and responses here have headers and bodies where the data is set by the developers.
HTTP methods also have some commands like “GET”, “POST”, “PUT”, “DELETE”, and “PATCH”.
Conclusion
These protocols govern the communication between machines and software lying in the given network. Knowing about this always helps to understand the complex topics we will discuss in the upcoming articles.
pragyaasapkota / System-Design-Concepts
Though the concepts of system design might be tricky, let's see them individually to their core concepts and have a better understanding.
System Design
Systems design is the process of defining elements of a system like modules, architecture, components and their interfaces and data for a system based on the specified requirements.
This is a index for the concepts of system.
If you wish to open these in a new tab, Press CTRL+click
S.N. | Table of Content |
---|---|
1. | Caching |
2. | Network Protocols |
3. | Storage: The Underrated Topic |
4. | Latency and Throughput |
5. | System Availability |
6. | Leader Election |
7. | Proxies |
8. | Load Balancing |
9. | Endpoint Protection |
10. | HTTPS: Is it better than HTTP? |
11. | Polling and Streaming |
12. | Long Polling |
13. | Hashing |
14. | CAP Theorem |
15. | PACELC Theorem |
16. | Messaging and Pub-Sub |
17. | Database |
18. | Logging, Monitoring, and Alerting |
19. | Distributed System |
20. | Scaling |
21. | Event Driven Architecture (EDA) |
22. | CQRS |
23. | Message Queue |
24. | Architectural Patterns |
25. | Enterprise Service Bus (ESB) |
26. | SLA, SLO, and SLI |
27. | Heartbeat |
I hope this article was helpful to you.
Please don’t forget to follow me!!!
Any kind of feedback or comment is welcome!!!
Thank you for your time and support!!!!
Keep Reading!! Keep Learning!!!
Top comments (0)