Tag: System Design 101
-
System Design 101: How Does SSH Work
•
SSH 是如何工作的? Introduction 介绍 SSH (Secure Shell) is a widely used network protocol that provides a secure way to access remote machines over an unsecured network. It offers encryption, secure authentication, and data transfer mechanisms, making it a cornerstone of secure remote communication in many IT environments. SSH(安全外壳)是一种广泛使用的网络协议,它提供了一种通过不安全网络安全访问远程机器的方法。它提供了加密、安全身份验证和数据传输机制,使其成为许多 IT 环境中安全远程通信的基石。…
-
System Design 101: Race Conditions
•
竞态条件 What is a Race Condition? 什么是竞态条件? Race Condition occurs when two or more threads or processes attempt to modify shared data at the same time, leading to unpredictable results. 竞态条件 发生在两个或多个线程或进程试图同时修改共享数据时,导致不可预测的结果。 Why are Race Conditions Important? 为什么竞态条件很重要? Unpredictable Behavior: They can cause software to behave unpredictably, leading to bugs…
-
System Design 101: Concurrency vs Parallelism in System Design
•
并发与并行在系统设计中的区别 Understanding the distinction between concurrency and parallelism is crucial in system design. As Rob Pike, one of the creators of GoLang, stated: 理解并发和并行之间的区别在系统设计中至关重要。正如 GoLang 的创始人之一 Rob Pike 所说: "Concurrency is about dealing with lots of things at once. Parallelism is about doing lots of things at once." “并发是处理很多事情。并行是同时做很多事情。” What…
-
System Design 101: 10 Essential Components of a Production Web Application
•
生产环境 Web 应用程序的 10 个基本组成部分 1. CI/CD Pipelines 1. CI/CD 管道 What: CI/CD pipelines automate the process of deploying code to server instances. 什么: CI/CD 管道自动化代码部署到服务器实例的过程。 Why: They ensure code changes are tested and deployed seamlessly, improving deployment efficiency and reliability. 为什么: 它们确保代码更改得到测试并无缝部署,提高部署效率和可靠性。 Who: Typically handled by DevOps engineers or…