Recent Posts
-
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(列族) ...
-
2019-07-06
[译] [论文] Dynamo: Amazon's Highly Available Key-value Store(SOSP, 2007)
译者序本文翻译自 2007 年 Amazon 的分布式存储经典论文:Dynamo: Amazon’s Highly Available Key-value Store。标题直译为:《Dynamo:Amazon 的高可用键值仓储》。对排版做了一些调整,以更适合 web 阅读。Dynamo 是 Amazon 的高可用分布式键值存储(key/value storage)系统。这篇论文发表的时候(2007)它还只是一个内部服务,现在(改名为 DynamoDB)已经发展成 AWS 最核心的存储产品(服务)之一,与 S3 等并列。据了解,国...
-
2019-06-17
Cilium Code Walk Through Series
Code analysis Cilium Code Walk Through: Agent Start Cilium Code Walk Through: Agent CIDR Init Cilium Code Walk Through: Restore Endpoints And Identities Cilium Code Walk Through: Cilium Operator Cilium Code Walk Through: CNI Delete Network Cilium Code Walk Thro...
-
2019-06-15
[笔记] Building Microservices(O'Reily 2015)
前言Building Microservices: Designing Fine GrainedSystems读书笔记。本书偏理论而非实现,可作为内功心法,适合架构师或有经验的系统工程师。常读常新。 前言 前言 1 微服务 什么是微服务? 主要好处 SOA 与微服务 其他拆分方式 没有银弹 总结 2 演进式架构师(The Evolutionary Architect) 软件工程和建筑工程的角色对比 架构师应具备的演...