AlexiaChen / AlexiaChen.github.io

My Blog https://github.com/AlexiaChen/AlexiaChen.github.io/issues
87 stars 11 forks source link

每个程序员都应该知道的数字 #76

Open AlexiaChen opened 4 years ago

AlexiaChen commented 4 years ago

前言

这篇也主要是收集一些Google大佬的slide整理,其中第二篇是Jeff Dean的。标题就意味着,这些大概的数值在你构造高性能的系统的时候,应该大致在你头脑中有个概念。

正文

Google AppEngine number

写的代价是很昂贵的

所以,根据以上法则,要时刻考虑你的数据大小和数据结构,并且要以批量的思想来做,批量写和批量读。

读的代价是很便宜(cheap)的

Numbers Miscellaneous

The lessons

参考