SingChia Blog

software engineer & ukulele lover

浅谈代理:程序中转、NAT和封装

1. 背景 本文所讨论的代理是计算机网络范畴的概念,在维基百科有代理服务的名词定义: Proxy server, a computer network service that allows clients to make indirect network connections to other network services. 译:代理服务器,一种允许客户端间接地连接到其他网络...

SOCKS5协议「RFC1928翻译」

序言 网络工作组 编号1928 类别:标准跟踪 相关人员 M. Leech@Bell-Northern Research Ltd M. Gains@International Business Machines Y. Lee@NEC Systems Laboratory R. Kuris@Unify Corporat...

Concurrency Patterns: Summary And Implementation

1. Background This post illustrates several types of concurrency patterns which are most used in my work environment. It’s all about how to use and control routines which may exist as goroutines i...

关于「映射」的数据模型设计

1. 背景 在做Faas项目的时候,遇到这样的架构设计需求。 请求到来时需要根据请求的类型发往不同的目标,但是这个「类型到目标」的映射关系除了程序化外还希望提供管理员接口可以手工操作。 初期的设计中我们就将该映射关系提出来作为状态单独维护,不过后续快速变化的需求使我多次重新考虑用更解耦和的模型来优化这个过程。本文就是记录前前后后对这种映射关系的模型设计。 2. 一对一和一对多 ...

虚拟扩展局域网:关于三层网络上实现虚拟重叠二层网络的架构「RFC7348翻译」

序言 单独提交 编号7348 类别:信息类 ISSN:2070-1721 相关人员: M. Mahalingam@Storvisor D. Dutt@Cumulus Networks K. Duda@Arista P. Agarwal@Broadcom L. Kreeger@Cisco T...

An Introduction Of Hierarchical Timing Wheels

Background Timer is a so important component be needed in many projects to limit an action or to trigger an event, we used to start a thread or coroutine to implement one for rapid development. But...

A Scheduler For Goroutines

This document is for project go-scheduler, go-scheduler helps to manage goroutines, only needs to set three optional quotas: the maximum count of goroutines the maximum count of processed req...