Why’s The Design

“Why’s The Design” is a series of articles discussing programming design decisions in the field of computer science. In each article of…

分享
Why’s The Design
Photo by Scott Graham on Unsplash

“Why’s The Design” is a series of articles discussing programming design decisions in the field of computer science. In each article of this series, we present a specific question and explore the pros and cons of the design from different perspectives, as well as its impact on the actual implementation.

These articles document the problems I have encountered and the thoughts I have had during my learning and work. I will continue to update this series, and I welcome you to subscribe.

Network

Why TCP requires three handshakes to establish a connection?
Why was it designed that way?

This article explains why a TCP connection needs at least three handshakes, focusing on TCP fundamentals such as sequence numbers.

Why does it take four waves for TCP to disconnect?
TCP protocol is one of the network protocols we use in our daily lives. It is responsible for establishing and…

This article first discusses why TCP requires four waves to disconnect and explores ways to simplify this process from a design perspective.

Why does HTTPS need 7 handshakes and 9 times delay?
Https is safe, but it is also slow.

Computer System

Why The Design: Why is the CPU slow to access the hard disk?
Considering a computer’s storage system in terms of principle and cost

In this insightful article published on Medium, the author delves into the reasons behind the slow access of the hard disk by the CPU. They explore the intricate relationship between the CPU and hard disk, shedding light on the factors that contribute to this performance bottleneck.