zookeeper基本已经成为搭建分布式系统的标配了。这篇文章介绍得还是比较详尽的。一般zookeeper用来做service registry -- 比如在web app中你要访问在另一台机器上的数据库,但你不会直接把数据库机器的hostname写死到代码或配置文件中;你会让web app去联系zookeeper,问看看现在有哪台数据库的机器是健康可用的 (zookeeper说的才算数)。每台机器启动后要向zookeeper注册自己:“我是数据库,我的hostname是什么”。这样的好处是,如果你数据库机器挂了,又重启了另一台不同hostname的数据库机器,web app也能及时访问到新的数据库机器。
很多人都看过了他在2005年Stanford毕业典礼的演讲,那时候他50岁,已然一代枭雄。 这个1980年的视频中,他才25岁。想想看,放到现在,这就是一个1989年出生的人在演讲。 小公司常常面临招人困难的情况。一个很厉害的工程师同时拿到google和你们公司的offer,不管你开多少钱,google肯定能match上的。所以用钱来吸引人,根本干不过google这样(不作恶?)的公司。这段话或许对各个正在创业中的同学们帮助: ...[when you look at] why people have come to Apple, why they came originally, it certainly wasn't for the salary. A lot of people took 50% pay cuts to work at Apple. We pay competitive salaries now, but we certainly don't attract people on the basis of salary. We attract people on the basis of an opportunity to work your butt off, and get something done right, and sneak it out the door without getting all screwed up. And an opportunity to work with professionals that are as good as you are in other disciplines.