Skip to content

Commit faeedb7

Browse files
committed
update
1 parent 8684ca1 commit faeedb7

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

README.md

+30
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ Read the [NOTICE](./NOTICE) file distributed with this work for additional infor
6767
- [Git](#git)
6868
- [Go](#go)
6969
- [硬件](#硬件)
70+
- [Java](#java)
7071
- [Javascript](#javascript)
7172
- [K8S](#k8s)
7273
- [语言设计](#语言设计)
@@ -75,6 +76,7 @@ Read the [NOTICE](./NOTICE) file distributed with this work for additional infor
7576
- [Lua](#lua)
7677
- [Mac](#mac)
7778
- [数学](#数学)
79+
- [机器学习](#机器学习)
7880
- [网络](#网络)
7981
- [Nodejs](#nodejs)
8082
- [运维](#运维)
@@ -181,11 +183,13 @@ Read the [NOTICE](./NOTICE) file distributed with this work for additional infor
181183
- [nerdctl 网络](docker/nerdctl-network.md)
182184
- [nerdctl](docker/nerdctl.md)
183185
- [ping: Operation not permitted](docker/ping-operation-not-permmitted.md)
186+
- [Podman netns](docker/podman-netns.md)
184187
- [Podman](docker/podman.md)
185188
- [在后台运行 docker 容器且不会自动退出](docker/run-docker-in-background.md)
186189
- [docker security_opt](docker/security-opt.md)
187190
- [Docker 安全](docker/security.md)
188191
- [volume](docker/volume.md)
192+
- [在 rootless podman 获取不到真实远端 ip](docker/wrong-remote-ip-in-rootless-podman.md)
189193

190194
[`⬆ 返回目录`](#toc)
191195

@@ -277,11 +281,13 @@ Read the [NOTICE](./NOTICE) file distributed with this work for additional infor
277281

278282
## Go
279283

284+
- [Golang GC](go/gc.md)
280285
- [GO 汇编](go/go-assembler.md)
281286
- [go build](go/go-build.md)
282287
- [go doc](go/go-doc.md)
283288
- [go generate](go/go-generate.md)
284289
- [Go Module](go/go-module.md)
290+
- [go tool](go/go-tool.md)
285291
- [Golang 学习](go/golang-learning.md)
286292
- [Gorutine](go/gorutine.md)
287293
- [在 MacOS 上使用 gvm install](go/gvm-install-in-macos.md)
@@ -303,6 +309,12 @@ Read the [NOTICE](./NOTICE) file distributed with this work for additional infor
303309

304310
[`⬆ 返回目录`](#toc)
305311

312+
## Java
313+
314+
- [Java GC](java/gc.md)
315+
316+
[`⬆ 返回目录`](#toc)
317+
306318
## Javascript
307319

308320
- [babel 小技巧](javascript/babel-tricks.md)
@@ -353,6 +365,7 @@ Read the [NOTICE](./NOTICE) file distributed with this work for additional infor
353365
- [协程 (Coroutine)](language/coroutine.md)
354366
- [CSP 并发模型](language/csp.md)
355367
- [Debuger](language/debuger.md)
368+
- [垃圾回收 Garbage Collection (GC)](language/gc.md)
356369
- [栈帧](language/stack-frame.md)
357370

358371
[`⬆ 返回目录`](#toc)
@@ -458,6 +471,7 @@ Read the [NOTICE](./NOTICE) file distributed with this work for additional infor
458471
- [netns](linux/netns.md)
459472
- [netstat 与 ss](linux/netstat-and-ss.md)
460473
- [网络接口配置 (ifcfg)](linux/network-interface-configuration.md)
474+
- [网络配置工具](linux/network-manage-tools.md)
461475
- [硬盘空间占满问题](linux/no-space-left-on-device.md)
462476
- [nsenter](linux/nsenter.md)
463477
- [NTP 时间同步](linux/ntp.md)
@@ -470,6 +484,7 @@ Read the [NOTICE](./NOTICE) file distributed with this work for additional infor
470484
- [PostmarketOS](linux/postmarketos.md)
471485
- [进程中断](linux/proc-interrupts.md)
472486
- [进程内存](linux/process-memory.md)
487+
- [进程亲和性 (Processor Affinity)](linux/processor-affinity.md)
473488
- [命令行中提示用户 Yes/No](linux/read-prompt.md)
474489
- [rm 命令](linux/rm.md)
475490
- [rsync 与 scp](linux/rsync-and-scp.md)
@@ -500,6 +515,7 @@ Read the [NOTICE](./NOTICE) file distributed with this work for additional infor
500515
- [UFW](linux/ufw.md)
501516
- [UNIX Domain Socket](linux/unix-domain-socket.md)
502517
- [unlink 是删除任何文件](linux/unlink.md)
518+
- [unshare 命令](linux/unshare.md)
503519
- [/usr/bin/env](linux/usr-bin-env.md)
504520
- [虚拟文件系统 (VFS, Virtual File System)](linux/virtual-file-system.md)
505521
- [虚拟内存](linux/virtual-memory.md)
@@ -555,6 +571,12 @@ Read the [NOTICE](./NOTICE) file distributed with this work for additional infor
555571

556572
[`⬆ 返回目录`](#toc)
557573

574+
## 机器学习
575+
576+
- [Stable Diffusion](ml/stable-diffusion.md)
577+
578+
[`⬆ 返回目录`](#toc)
579+
558580
## 网络
559581

560582
记录网络相关知识
@@ -564,8 +586,10 @@ Read the [NOTICE](./NOTICE) file distributed with this work for additional infor
564586
- [组播地址](network/boardcast-ip.md)
565587
- [网桥 (Bridge)](network/bridge.md)
566588
- [DHCP](network/dhcp.md)
589+
- [DNS](network/dns.md)
567590
- [DNS SRV](network/dns_srv.md)
568591
- [DoH 与 DoT](network/doh-and-dot.md)
592+
- [Envoy](network/envoy.md)
569593
- [网关 gateway](network/gateway.md)
570594
- [HTTP Request/Response 网络包](network/http-request-and-response-package.md)
571595
- [NAT](network/nat.md)
@@ -575,6 +599,8 @@ Read the [NOTICE](./NOTICE) file distributed with this work for additional infor
575599
- [SDN](network/sdn.md)
576600
- [TCP Buffer 大小](network/tcp-buffer-size.md)
577601
- [TUN/TAP](network/tun-tap.md)
602+
- [虚拟网络设备](network/virtual-interface.md)
603+
- [虚拟 IP](network/virtual-ip.md)
578604
- [虚拟网络设备](network/virtual-network-devices.md)
579605
- [vlan](network/vlan.md)
580606
- [vxlan](network/vxlan.md)
@@ -589,6 +615,7 @@ Read the [NOTICE](./NOTICE) file distributed with this work for additional infor
589615
- [EJS 渲染引擎的空白问题](nodejs/ejs-blanks.md)
590616
- [Error.captureStackTrace 的 stack 缺少 message 问题](nodejs/error-captureStackTrace.md)
591617
- [fs 函数抛出的异常没有堆栈信息](nodejs/fs-error-has-no-stack.md)
618+
- [NodeJS GC](nodejs/gc.md)
592619
- [node 中发 ICMP 包](nodejs/icmp-in-node.md)
593620
- [Jest](nodejs/jest.md)
594621
- [npm publish 不会包含 .gitignore 文件](nodejs/missing-gitignore-when-node-publish.md)
@@ -690,6 +717,7 @@ Read the [NOTICE](./NOTICE) file distributed with this work for additional infor
690717
- [为何 Protobuf 3 移除了 required 和 optional](others/why-protobuf-3-remove-required-and-optional.md)
691718
- [为什么 Unicode U+F8FF 是苹果 Logo?](others/why-unicode-f8ff-is-apple-logo.md)
692719
- [zookeeper 健康检查](others/zookeeper-health-check.md)
720+
- [零宽字符加密](others/zwj-encode.md)
693721

694722
[`⬆ 返回目录`](#toc)
695723

@@ -847,6 +875,7 @@ Read the [NOTICE](./NOTICE) file distributed with this work for additional infor
847875
- [KVM (Kernel-based Virtual Machine)](vm/kvm.md)
848876
- [Libvirt 网络](vm/libvirt-network.md)
849877
- [Libvirt](vm/libvirt.md)
878+
- [虚拟 CPU](vm/vCPU.md)
850879
- [virsh shutdown 命令无效](vm/virsh-shutdown-not-work.md)
851880
- [virt-install Couldn't find kernel for install tree](vm/virt-install-cannot-find-kernel.md)
852881
- [Virtualbox](vm/virtualbox.md)
@@ -864,6 +893,7 @@ Read the [NOTICE](./NOTICE) file distributed with this work for additional infor
864893
- [socket](web/socket.md)
865894
- [下划线在 HTTP Header 里是非法字符串](web/underscore-is-invalid-in-header.md)
866895
- [URI 转义](web/uri-encode.md)
896+
- [Websocket](web/websocket.md)
867897

868898
[`⬆ 返回目录`](#toc)
869899

web/websocket.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Websocket
2+
3+
[Websocket](https://developer.mozilla.org/zh-CN/docs/Web/API/WebSockets_API) 是一种服务端、客户端双向通信的通信协议。
4+
5+
[Server-Sent Events](https://developer.mozilla.org/zh-CN/docs/Web/API/Server-sent_events) 是一种服务端向客户端单发请求的通信协议。
6+
7+
- [(译) Server-Sent Events: the alternative to WebSockets you should be using](https://shansan.top/2023/03/11/sse-websocket/) ([链接备份](https://web.archive.org/web/20230509162013/https://shansan.top/2023/03/11/sse-websocket/)) 这篇文章介绍了 Websocket 的缺点,也介绍了 Server-Sent Events 技术。

0 commit comments

Comments
 (0)