<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>唐师兄的个人主页</title><description>唐师兄的个人主页</description><link>https://tangwz.com/</link><language>zh-CN</language><item><title>TLA+ 入门教程（6）：Raft</title><link>https://tangwz.com/posts/202208-tla-6/</link><guid isPermaLink="true">https://tangwz.com/posts/202208-tla-6/</guid><description>与上一节讨论 Paxos 时一样，本文不介绍 Raft 协议基本知识，读者需已经了</description><pubDate>Sun, 21 Aug 2022 00:00:00 GMT</pubDate></item><item><title>TLA+ 入门教程（5）：Paxos</title><link>https://tangwz.com/posts/202208-tla-5/</link><guid isPermaLink="true">https://tangwz.com/posts/202208-tla-5/</guid><description>1、Paxos 简介 上一节我们讨论了两阶段提交的 TLA+ 规约。众所</description><pubDate>Mon, 01 Aug 2022 00:00:00 GMT</pubDate></item><item><title>TLA+ 入门教程（4）：两阶段提交</title><link>https://tangwz.com/posts/202207-tla-4/</link><guid isPermaLink="true">https://tangwz.com/posts/202207-tla-4/</guid><description>1、两阶段提交 本章要学习的是用在婚姻和数据库领域的分布式算</description><pubDate>Mon, 18 Jul 2022 00:00:00 GMT</pubDate></item><item><title>TLA+入门教程（3）：《虎胆龙威3》倒水谜题</title><link>https://tangwz.com/posts/202207-tla-3/</link><guid isPermaLink="true">https://tangwz.com/posts/202207-tla-3/</guid><description>1、倒水问题的 TLA+ 描述 本节我们来看一个更有趣、更具体的例子，</description><pubDate>Mon, 11 Jul 2022 00:00:00 GMT</pubDate></item><item><title>TLA+ 入门教程（2）：一个简单的例子</title><link>https://tangwz.com/posts/202207-tla-2/</link><guid isPermaLink="true">https://tangwz.com/posts/202207-tla-2/</guid><description>本次 TLA+ 入门教程系列将分为几个部分，帮助你从零掌握 TLA+ 语言的基本</description><pubDate>Wed, 06 Jul 2022 00:00:00 GMT</pubDate></item><item><title>TLA+ 入门教程（1）：形式化方法简介</title><link>https://tangwz.com/posts/202207-tla-1/</link><guid isPermaLink="true">https://tangwz.com/posts/202207-tla-1/</guid><description>本次 TLA+ 入门教程系列将分为几个部分，帮助你从零掌握 TLA+ 语言的基本</description><pubDate>Mon, 04 Jul 2022 00:00:00 GMT</pubDate></item><item><title>如何编写 C++ 20 协程(Coroutines)</title><link>https://tangwz.com/posts/202103-cpp-coroutine/</link><guid isPermaLink="true">https://tangwz.com/posts/202103-cpp-coroutine/</guid><description>C++20 带着 Coroutines 来了！ 花了一两周的时间后，我想写写 C++20 协程的基本用法，</description><pubDate>Sat, 06 Mar 2021 00:00:00 GMT</pubDate></item><item><title>条分缕析 Raft 算法(续)：日志压缩和性能优化</title><link>https://tangwz.com/posts/202102-raft-extension/</link><guid isPermaLink="true">https://tangwz.com/posts/202102-raft-extension/</guid><description>在上篇《条分缕析 Raft 算法》中推导和梳理了 Raft 算法，但仍有一些细节</description><pubDate>Fri, 19 Feb 2021 00:00:00 GMT</pubDate></item><item><title>条分缕析 Raft 算法</title><link>https://tangwz.com/posts/202102-raft/</link><guid isPermaLink="true">https://tangwz.com/posts/202102-raft/</guid><description>本文整理自 Ongaro 在 Youtube 上的视频。 目标 Raft 的目标（或者说是分布式共识</description><pubDate>Mon, 01 Feb 2021 00:00:00 GMT</pubDate></item><item><title>软件架构基础 5 架构特性识别与实战: 订餐系统</title><link>https://tangwz.com/posts/202101-fosa5/</link><guid isPermaLink="true">https://tangwz.com/posts/202101-fosa5/</guid><description>《软件架构基础（Fundamentals of Software Architecture）》读书笔记（5）</description><pubDate>Mon, 25 Jan 2021 00:00:00 GMT</pubDate></item><item><title>软件架构基础 4: 你的架构需要考虑的架构特性</title><link>https://tangwz.com/posts/202101-fosa4/</link><guid isPermaLink="true">https://tangwz.com/posts/202101-fosa4/</guid><description>《软件架构基础（Fundamentals of Software Architecture）》读书笔记（4）</description><pubDate>Sat, 16 Jan 2021 00:00:00 GMT</pubDate></item><item><title>软件架构基础 3: 什么是好的模块化代码？高内聚、低耦合如何衡量？</title><link>https://tangwz.com/posts/202101-fosa3/</link><guid isPermaLink="true">https://tangwz.com/posts/202101-fosa3/</guid><description>《软件架构基础（Fundamentals of Software Architecture）》读书笔记（3）</description><pubDate>Thu, 14 Jan 2021 00:00:00 GMT</pubDate></item><item><title>软件架构基础 2：架构思维</title><link>https://tangwz.com/posts/202101-fosa2/</link><guid isPermaLink="true">https://tangwz.com/posts/202101-fosa2/</guid><description>《软件架构基础（Fundamentals of Software Architecture）》读书笔记（2）</description><pubDate>Fri, 08 Jan 2021 00:00:00 GMT</pubDate></item><item><title>软件架构基础 1：基本介绍</title><link>https://tangwz.com/posts/202101-fosa1/</link><guid isPermaLink="true">https://tangwz.com/posts/202101-fosa1/</guid><description>《软件架构基础（Fundamentals of Software Architecture）》读书笔记（1）</description><pubDate>Thu, 07 Jan 2021 00:00:00 GMT</pubDate></item><item><title>Golang 实现 Paxos 分布式共识算法</title><link>https://tangwz.com/posts/202012-impl-basic-paxos/</link><guid isPermaLink="true">https://tangwz.com/posts/202012-impl-basic-paxos/</guid><description>前文《理解 Paxos》只包含伪代码，帮助了理解但又不够爽，既</description><pubDate>Sun, 13 Dec 2020 00:00:00 GMT</pubDate></item><item><title>Leveldb 基本介绍和使用指南</title><link>https://tangwz.com/posts/202011-leveldb-index/</link><guid isPermaLink="true">https://tangwz.com/posts/202011-leveldb-index/</guid><description>leveldb 是一个持久化的 key/value 存储，key 和 value 都是任意的字节数组(byt</description><pubDate>Mon, 30 Nov 2020 00:00:00 GMT</pubDate></item><item><title>系统设计那些事儿：硬盘 I/O</title><link>https://tangwz.com/posts/202011-disk/</link><guid isPermaLink="true">https://tangwz.com/posts/202011-disk/</guid><description>数据库系统总会涉及非易失性存储，我们需要知道一个典型的计算机</description><pubDate>Thu, 26 Nov 2020 00:00:00 GMT</pubDate></item><item><title>用 Raft 的方式理解 Multi-Paxos</title><link>https://tangwz.com/posts/202011-understanding-multi-paxos/</link><guid isPermaLink="true">https://tangwz.com/posts/202011-understanding-multi-paxos/</guid><description>Multi-Paxos 在文献中并没有准确的实现细节，这里提供一个相对完整的规范，</description><pubDate>Sun, 15 Nov 2020 00:00:00 GMT</pubDate></item><item><title>Raft 作者出的 Paxos 的试题</title><link>https://tangwz.com/posts/202010-paxos-exam/</link><guid isPermaLink="true">https://tangwz.com/posts/202010-paxos-exam/</guid><description>试题 1. (4 分）下面的每张图都显示了一种 Multi-Paxos 服务器上可能的日志</description><pubDate>Mon, 26 Oct 2020 00:00:00 GMT</pubDate></item><item><title>Raft 作者亲自出的 Raft 试题，你能做对几道？</title><link>https://tangwz.com/posts/202010-raft-exam/</link><guid isPermaLink="true">https://tangwz.com/posts/202010-raft-exam/</guid><description>试题 1. （4 分）下面的每张图都显示了一台 Raft 服务器上可能存储</description><pubDate>Mon, 26 Oct 2020 00:00:00 GMT</pubDate></item><item><title>Paxos 的变种（一）：Multi-Paxos</title><link>https://tangwz.com/posts/202010-multi-paxos/</link><guid isPermaLink="true">https://tangwz.com/posts/202010-multi-paxos/</guid><description>分布式系统为了实现多副本状态机（Replicated state mac</description><pubDate>Sun, 18 Oct 2020 00:00:00 GMT</pubDate></item><item><title>理解 Paxos（含伪代码）</title><link>https://tangwz.com/posts/202009-basic-paxos/</link><guid isPermaLink="true">https://tangwz.com/posts/202009-basic-paxos/</guid><description>Google Chubby 的作者 Mike Burrows 说过：There is only one consensus protocol, and that’s Paxos. 引言 上文我们</description><pubDate>Tue, 29 Sep 2020 00:00:00 GMT</pubDate></item><item><title>同样更新分支，git merge 和 rebase 有什么区别？</title><link>https://tangwz.com/posts/202009-git-merge-vs-rebase/</link><guid isPermaLink="true">https://tangwz.com/posts/202009-git-merge-vs-rebase/</guid><description>最近在给 kubernetes 提交代码，k8s 社区要求非常严格，既要分支保持与主</description><pubDate>Sun, 13 Sep 2020 00:00:00 GMT</pubDate></item><item><title>分布式系统的核心：共识问题</title><link>https://tangwz.com/posts/202009-consensus/</link><guid isPermaLink="true">https://tangwz.com/posts/202009-consensus/</guid><description>混乱的“一致性”问题 Consensus != Consistency 受翻译影响，网上很多讨论 paxos 或 raft 的</description><pubDate>Sun, 06 Sep 2020 00:00:00 GMT</pubDate></item><item><title>认识分布式系统</title><link>https://tangwz.com/posts/202008-intro-distributed-system/</link><guid isPermaLink="true">https://tangwz.com/posts/202008-intro-distributed-system/</guid><description>Google “三驾马车”论文发布以后，“大数据”和“分布式”就成了各种</description><pubDate>Tue, 18 Aug 2020 00:00:00 GMT</pubDate></item></channel></rss>