打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Artima Developer Spotlight Forum - Seven Lessons on Scalability from Reddit
Seven Lessons on Scalability from RedditPosted: May 17, 2010 7:52 PM
Reply
Advertisement
"); //-->

Ata talk at the Future of Web Apps this year, Steve Huffman, co-founderof Reddit.com, summarized seven lessons learned while building andgrowing the Reddit.com social link and discussion site. The video ishere:

http://vimeo.com/10506751

The slides are here:

http://www.slideshare.net/carsonified/steve-huffman-lessons-learned-while-at-redditcom

And a transcript is here:

http://carsonified.com/blog/dev/steve-huffman-on-lessons-learned-at-reddit/

In brief, the lessons are:

  1. Crash often - automatically detect problems like excessive memory or cpu consumption or slow response times, and automatically restart the process
  2. Separate services - put different things in different processes so you can put them on different machines easily
  3. Open schema - avoid problems upgrading and replicating different database schema versions by always using one schema with two tables, a "thing" table and a "data" table
  4. Keep the app servers stateless - you can easily add more app servers, cache memory in memcached not the app servers
  5. Memcache everything - store data in memory to take load off the on-disk data stores
  6. Store redundant data - store the same data in as many formats as you may need to display
  7. Work offline - minimize the amount of work needed to generate a response for the user

What are your thoughts on these "lessons learned." Does anything jump out at you as surprising or missing?

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
SQL Server 2008 Interview Questions and Answers
how to get all the column name
MySQL的Galera Cluster配置说明
php – Eloquent关系设置,同一个表laravel 5.2的两个外键
mysql中如何判断 一个数据表是否已经存在
列举SQL Server数据库中所有的表 List SQL Server Tables
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服