k8s-deploy-container-using-yaml

kubernetes 作为一个云上的操作系统,要想充分利用,就要了解 kubernetes 提供的功能。告诉系统要搞啥,k8s 帮你搞定这一切,归根结底,不开发 k8s 就是一个 k8s 的用户,知道

What-happens-type-url-into-browser-and-press-enter

dns query get the ip of the target domain browser cache firefox(about:networking#dns) /etc/hosts os cache macos 查看 dns 请求日志 sudo log stream –predicate ‘process == “mDNSResponder”’ –info dns resolver /etc/resolv.conf arp -a 查看有没有 dns 服务器的 mac 地址 ARP request for the nameserver send dns query to get the ip of the domain arp 获取 gateway 的 mac

asm-java-jit

前言 无论多么花里胡哨的功能,最终落地到一台计算机上,都是二进制代码。虽然 java 代码跑在 jvm 平台之上,但是 jvm 只是负责执行 java 自定义的一套 bytecode 的工具,只要

java-keyword-volatile

可见性问题 可见性问题思路 References von-neumann-harvard-architecture out-of-order-execution(dynamic execution) Instruction_scheduling X86/GCC memory fence的一些见解

asm-pointers-and-memory

Basic Pointer 为啥需要 Pointer? 更容易在不同代码段之间共享信息,在不同代码段之间来回复制也是可以的。但用指针的形式更好。 链式数据结构, 如链表和二

cs-condition-variables

condition variable 是啥? condition variable 是啥?本质上就是一个状态变量 +队列。现实世界中,想要进行下一步的行动,往往需要满足一定的条件(condition)。如十字路口

cs-english-words

a association a connection or cooperative link between people or organizations allot to assign as a share or portion ad-hoc An ad hoc activity or organization is done or formed only because a situation has made it necessary and is not planned in advance.Ad hoc is a word that originally comes from Latin and means “for this” or "for this situation." In current

cs-lock

为啥需要 lock? 多处理器的存在 中断的存在 lock 是啥? lock 本质上是一个变量。变量本质上是一块内存。归根结底,lock 就是一块内存,用这块内存来保证

cs-cache

There can be many caches stacked on top of each other. Cache 可以一层一层累积。 if you miss in one you try in the “lower level cache” Lower level, mean higher number. 在上层的 Cache miss 了,可以在下层的 Cache 去找。依次类推