这篇文章介绍下在MacOSX如何用gdb + vmware的方式调试Linux内核。
一:安装Vmware Fusion
二:安装gdb
注意这里需要安装高版本的gdb,这里安装的是8.2版本
123456
wget http://ftp.gnu.org/gnu/gdb/gdb-8.2.tar.gztar xf gdb-8.2.tar.gzcd gdb-8.2./configure --build=x86_64-apple-darwin14.0.0 --target=x86_64-vfs-lin...
Jeff Dean点赞的Consensus Revised论文在说啥?
《Distributed consensus revised》 Heidi Howard
整篇论文151页,粗略通读了一遍,主要是了解各个变体的基本思路和正确性直觉的理解,更形式化的证明基本上都跳过了。
这里假设读者对Basic Paxos有了一定了解,看过Lamport的那篇原始论文。另外我这里行文术语基本沿用原始论文的说法,跟这篇论文稍有差异,不过如果熟悉Basic Paxos的话,应该很容易对应起来。
导读
FLP定理已经证明了在异步...
10 Patterns for Controlling the Cloud in AWS
来源:AWS re: invent 2018
有些地方不大明白 🙁
Pattern 1: checksum all of the things
Pattern 2: Cryptgraphic Authentication
Encrypt and authenticate everything.
Control Planes are powerful and security critical systems.
Be able to revoke and rotate every credentials. But also watch out for certificate expiries.[??]
Prevent human access to production credentials.
Never allow a...