用了几天vagrant特别喜欢,想找比chef/puppet简单的配置管理工具插件,在一篇介绍Ansible的文章
http://server.dzone.com/articles/ansible-cm-deployment-and-ad 中发现
http://highscalability.com/blog/2012/2/13/tumblr-architecture-15-billion-page-views-a-month-and-harder.html中文译版漏了不少东西,原文亮点:
Tumblr started as a fairly typical large LAMP application. PHP又一次出现
Put a lot of time and effort and tooling into MySQL sharding.
http://tinyurl.com/96z2vr8 Techniques used in fast multi-destination transfer of big files.
http://tinyurl.com/5s6lj9h ID generation 也成了瓶颈之一,很有趣
Hiring process is pragmatic. 对创业公司很关键
Lessons learned. 总结得蛮好
另外,tumblr服务器真多,高动态真烧钱,数据量吓死人,轻博客一点都不轻
wordpress.com这种静态blog为主的,服务器要少很多吧,用户规模t好像已经超过w,
但不知道他们谁赚钱多,做高动态网站的同学,融资本领要很强啊。
Ansible似乎不错,虽然没有Capistrano那么知名,但比Fabric有用、比Cuisine灵活,以前写的那么多bash scripts大部分都能用上(我觉得chef/puppet不适合小公司),用yaml/jinja2写recipes和templates也要简单不少,如果能扩展blueprint自动生成模板就更好了 :P
支持Ansible的Vagrant扩展:
https://github.com/dsander/vagrant-ansible简单使用教程:
http://mattupstate.github.com/python/devops/2012/08/07/flask-wsgi-application-deployment-with-ubuntu-ansible-nginx-supervisor-and-uwsgi.htmlhttp://mattupstate.github.com/python/devops/2012/08/30/multi-server-flask-application-development-enviornment-with-vagrant-and-ansible.html这些工具开发者真是救赎天使,赞美他们 ^_^