How To Design A Reliable Distributed Timer

1 Preface I have been maintained a legacy distributed timer for months for my employer, then some important pay business are leveraging on it, with 1 billion tasks handled every day and 20k tasks added per second at most. Even though it’s old and full of black magic code, but it also also have insighted and well-designed code. Based on this old, running timer, I summarize and extract as this article, and it wont include any running code(perhaps pseudocode, and a lot of figures, as an adage says: A picture is worth a thousand words)....

八月 5, 2021 · 9 分钟 · 1845 字 · Ramsay Leung

(笔记)Distributed Systems for fun and profit

1 Distributed Systems for fun and profit source: http://book.mixu.net/distsys/ 2 1. Basic 2.1 Basic concept 本章介绍了分布式系统的基本概念, 例如 scalablity, perfomance, latency, availability 关于 latent, 这里给出了一个很cool的描述: For example, imagine that you are infected with an airbone virus that turns people...

六月 12, 2021 · 24 分钟 · 11617 字 · Ramsay Leung

系统思考

1 前言 领导平日开会时,总是对我们说,你们思考问题角度太单一与片面,没有想清楚问题背后的逻辑与​作用因子。 所以领导总是会不厌其烦地给我们推荐《...

五月 13, 2021 · 3 分钟 · 1100 字 · Ramsay Leung

乡土中国

1 前言 因为此前读了彼德.海斯勒的《寻路中国》,对中国的社会内在结构与驱动力产生了兴趣. 当然, 我是无法像彼得那样子, 驾车环游中国来作田野调查....

五月 9, 2021 · 9 分钟 · 4175 字 · Ramsay Leung

《君主论》:所谓「帝王心术」

1 前言 1.1 关于君主论 国内的电视剧总会提到所谓的「帝王心术」,「帝王心术」究竟是什么? 马基雅维利就从他的视角,向世人剖析,什么是帝王心术,一个优...

五月 7, 2021 · 7 分钟 · 3318 字 · Ramsay Leung