《Operating System Concepts》阅读笔记:p147-p158

《Operating System Concepts》学习第 15 天,p147-p158 总结,总计 12 页。

一、技术总结

1.socket

(1)定义

A socket is defined as an endpoint for communication(socket 是用于通信的端点,或者说socket 是通信端点的抽象表示。).

A socket is identified by an IP address concatenated with a port number(socket 使用IP和 Port 进行标识).

2.RPC(Remote Procedure Calls)

二、英语总结(生词:2)

1.paradigm

(1)pradadigm: para-("beside(next to)") + *deik-("to show")

c. Paradigm refere to sth serves as a typical example, model or pattern(范式)。

(2)示例

One of the most common forms of remote service is the RPC paradigm, which was designed as a way to abstract the procedure-call mechanism for use between systems with network connections(《Operating System Concepts》第 149 页)。

2.stub

(1)定义

c. the short end which is left after the main part of sth has beend remove(存根, 树桩)。

In programming, a stub is a small, incomplete piece of code that stands in for a larger or more complex component(function, or procedure)。

(2)示例

The RPC system hides the details that allow communication to take place by providing a stub on the client side(《Operating System Concepts》第 150 页)。

如上, stub想表达的意思:In RPC systems, the term "stub" is used because it represents a simplified, local version of a remote service, much like a "stub" is a small, leftover part of something larger。

关于英语的注解同步更新汇总到 https://github.com/codists/English-In-CS-Books 仓库。

三、其它

第 3 章(Process)简评:介绍什么是进程,进程的创建和终止,IPC,Socket 和 RPC。读完这章,我真正的理解了什么是process(进程):Process is a program loaded into memory and executing。之前看了各种文章,感觉这些文章都喜欢滥用比喻,但是难以理解,让人摸不着头脑。 个人觉得还是把一个东西的来龙去脉介绍清楚,这样最简单,也最容易让人理解。

四、参考资料

1. 编程

(1) Abraham Silberschatz,Peter Baer Galvin,Greg Gagne《Operating System Concepts》:https://book.douban.com/subject/30272539/

2. 英语

(1) Etymology Dictionary:https://www.etymonline.com

(2) Cambridge Dictionary:https://dictionary.cambridge.org

欢迎搜索及关注:编程人(a_codists)

相关推荐
小宇子2B1 天前
一个 pthread_mutex_lock() 到底锁了什么——从用户态 CAS 到内核调度
操作系统
小宇子2B2 天前
多线程 malloc 为什么会变慢——glibc 的 arena 到 bins 全景
操作系统
fakerth7 天前
【OpenHarmony】communication_ipc模块
操作系统·openharmony
Coisinier7 天前
RHCE中shell脚本基础(磁盘剩余空间监控,Web 服务状态检查,curl 访问 Web 服务并返回状态)
linux·运维·服务器·前端·nginx·操作系统
小宇子2B8 天前
free 完再 malloc 同样大小,为什么常拿回刚还回去的那块?
操作系统
触底反弹10 天前
拷个 .exe 到新电脑就跑不起来?你缺的不是文件,是对链接的理解
c++·windows·操作系统
杊页10 天前
第一板块:Android 系统基石与运行原理 | 第二篇:Android 编译、打包与安装机制
android·操作系统
壮Sir不壮11 天前
GO语言——GMP调度模型
linux·开发语言·golang·go·操作系统·线程·协程
Surest11 天前
OpenHarmony 技术拆解(二):从 capability 看懂分布式软总线与任务迁移
操作系统
OpenAnolis小助手11 天前
如何利用 AI Agent 实现热补丁的自动化生成
人工智能·安全·ai·操作系统·agent·龙蜥