Building Scalable Web Apps.pdf


文档分类:外语学习 | 页数:约51页 举报非法文档有奖
1/51
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/51
文档列表 文档介绍
DISQUS
Building Scalable Web Apps
David Cramer
***@zeeg
Tuesday, June 21, 2011
Agenda
• Terminology
• Common bottlenecks
• Building a scalable app
• Architecting your database
• Utilizing a Queue
• The importance of an API
Tuesday, June 21, 2011
Performance vs. Scalability
“Performance measures the speed with
which a single request can be executed,
while scalability measures the ability of a
request to maintain its performance under
increasing load.”
(but we’re not just going to scale your code)
Tuesday, June 21, 2011
Sharding
“Database sharding is a method of
horizontally partitioning data mon
properties”
Tuesday, June 21, 2011
Denormalization
“Denormalization is the process of
attempting to optimize the performance of
a database by adding redundant data or by
grouping data.”
Tuesday, June 21, 2011
Common Bottlenecks
• Database (almost always)
• Caching, Invalidation
• Lack of metrics, lack of tests
Tuesday, June 21, 2011
Building Tweeter
Tuesday, June 21, 2011
Getting Started
• Pick a framework: Django, Flask, Pyramid
• Package your app; Repeatability
• Solve problems
• Invest in architecture
Tuesday, June 21, 2011
Let’s use Django
Tuesday, June 21, 2011
Tuesday, June 21, 2011

Building Scalable Web Apps 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数51
  • 收藏数0 收藏
  • 顶次数0
  • 上传人新起点
  • 文件大小0 KB
  • 时间2015-10-14