ArthurChiao's Blog

Recent Posts

  • 2019-11-09

    [译] 编程语言中的 6 种内存模型(2016)

    译者序本文翻译自一篇英文博客 The memory models that underlie programminglanguages,截至本文翻译时,原文最后一次更新是在 2016 年。作者似乎是计算机和编程领域的老兵,除了高屋建瓴地分析这 6 种横跨半个多世纪的内存模型之外,还举重若轻地点评了如下几十种语言、库或系统(大部分都是编程语言):Forth、morden Lisps、Haskell、ML、Python、Ruby、PHP5、Lua、JavaScript、Erlang、Smalltalk、Java、C#、Assembl...

  • 2019-10-27

    Host Disconnect Caused by Istio Sidecar Injection

    1 Problem 1.1 Phenomemon 1.2 Environment Info 2 Minimum reproducing scheme 3 Trouble Shooting 3.1 Check ingress/egress traffic interrupt 3.2 Check iptables rules 3.3 Check drops 3.4 Capture all host traffic 3.5 Fur...

  • 2019-10-26

    Cilium Network Topology and Traffic Path on AWS

    This post explores the network topology and traffic path between twocross-host Pods in a Cilium powered K8S cluster on AWS. We will use general Linuxcommands to fulfill this task. At the end of this post, we will get a picturelike this:Besides, we’ll also look into t...

  • 2019-10-16

    [译] 400 行 C 代码实现一个虚拟机(2018)

    译者序本文翻译自 2018 年的一篇英文博客 Write your Own Virtual Machine。文章介绍如何用 400 行左右的 C 代码实现一个虚拟机,该虚拟机能够运行标准的 LC-3 汇编程序。不过要注意,本文所说的“虚拟机”是指 JVM 或者 Erlang Beam 那种虚拟机(解释器),并不是 VirtualBox 或 VMWare 启动的那种有完整操作系统的虚拟机。由于译者水平有限,本文不免存在遗漏或错误之处。如有疑问,请查阅原文。以下是译文。 译者序 1. 引言 什么是虚拟机? ...

  • 2019-10-13

    OVS Unknown Unicast Flooding Under Distributed L2 Gateway

    TL; DRIn a distributed L2 gateway environment (e.g. Spine-Leaf), misconfigurations ofARP aging time may cause OVS unicast flooding. And, the behaviors ofdistributed L2 gateway products vary among different vendors.1 Problem DescriptionAn internal user reported that t...

  • 2019-10-13

    OVS balance-slb bond Forwards Unknown Unicast

    TL; DRIn some cases, OVS 2.5.6 bond with mode balance-slb will forward the unknownunicast[4] traffic it received from one physical NIC back into the physical networkthrough another NIC, which will result in a L2 loop with physical network,this in turn will cause the ...

  • 2019-10-11

    Beneath the TCP Handshakes in Modern Networking Infrastructures

    TCP 3-way Handshake 1. Scenario 1 1.1 Phenomenon: SYN -> SYN+ACK -> RST 1.2 Capture 1.3 Analysis 1.4 Root Cause 1.4.1 The Short Answer 1.4.2 The Long Answer 2. Scenario 2 2.1 Phe...

  • 2019-10-09

    [译] Cilium:BPF 和 XDP 参考指南(2019)

    本文部分内容已过时,最新版见:Cilium:BPF 和 XDP 参考指南(2021)。译者序本文翻译自 Cilium 1.6 的官方文档:BPF and XDP Reference Guide。本文对排版做了一些调整,以更适合网页阅读。由于译者水平有限,本文不免存在遗漏或错误之处。如有疑问,请查阅原文。以下是译文。 本文的目标读者是 “希望在技术层面对 BPF 和 XDP 有更深入理解的开发者和用户”。虽然阅读本文有助于拓宽读者对 Cilium 的认识,但这并不是使用 Cilium 的前提条件。BPF 是 Linux 内核中一...

  • 2019-07-27

    [译] [论文] Ceph: A Scalable, High-Performance Distributed File System (OSDI, 2006)

    译者序本文翻译自 2006 年 Sage Weil 的论文:Ceph: A Scalable, High-Performance Distributed File System(PDF)。标题直译为:《Ceph:一个可扩展、高性能的分布式文件系统》。本文对排版做了一些调整,以更适合网页阅读。和大多数分布式存储系统只支持单一的存储类型不同,Ceph 同时支持三种: 文件系统(file system):有类似本地文件系统的层级结构(目录树),支持POSIX 或 准 POSIX 语义,但底层数据是分布式存储的 块存储(block ...

  • 2019-07-13

    [译] [论文] Bigtable: A Distributed Storage System for Structured Data (OSDI, 2006)

    译者序本文翻译自 2006 年 Google 的分布式存储经典论文:Bigtable: A Distributed Storage System for Structured Data。标题直译为:《大表:适用于结构化数据的分布式存储系统》。本文对排版做了一些调整,以更适合网页阅读。翻译仅供个人学习交流。由于译者水平有限,本文不免存在遗漏或错误之处。如有疑问,请查阅原文。以下是译文。 译者序 摘要 1 引言 2 数据模型 2.1 行(Row) 2.2 Column Families(列族) ...