1 / 16
文档名称:

Best Practices for Scaling Websites -- Lessons from eBay.pdf

格式:pdf   页数:16页
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

Best Practices for Scaling Websites -- Lessons from eBay.pdf

上传人:管理资源吧 2012/2/7 文件大小:0 KB

下载得到文件列表

Best Practices for Scaling Websites -- Lessons from eBay.pdf

文档介绍

文档介绍:Best Practices for Scaling Websites
Randy Shoup
eBay Distinguished Architect
QCon Asia 2009
Challenges at Scale
• eBay manages …
– million active users worldwide
– 120 million items for sale in 50,000 categories
– Over 2 billion page views per day
– eBay users trade over $2000 in goods every
second -- $60 billion per year
– eBay site stores over 2 PB of data
– eBay processes 50 TB of new, incremental data
per day
– eBay Data Warehouse analyzes 50 PB per day
• In a dynamic environment
– 300+ features per quarter
– We roll 100,000+ lines of code every two weeks
• In 39 countries, in 8 languages, 24x7x365
>48 Billion SQL executions/day!
© 2009 eBay Inc.
Architectural Forces at Scale
• Scalability
– Resource usage should increase linearly (or better!) with load
– Design for 10x growth in data, traffic, users, etc.
• Availability
– Resilience to failure (MTBF)
– Rapid recoverability from failure (MTTR)
– Graceful degradation
• Latency
– User experience latency
– Data latency
• Manageability
– Simplicity
– Maintainability
– Diagnostics
• Cost
– Development effort plexity
– Operational cost (TCO)
© 2009 eBay Inc.
Best Practices for Scaling
1. Partition Everything
2. Asynchrony Everywhere
3. Automate Everything
4. Remember Everything Fails
5. Embrace Inconsistency
© 2009 eBay Inc.
Best Practice 1: Partition Everything
• Split every problem into manageable chunks
– By data, load, and/or usage pattern
–“If you can’t split it, you can’t scale it”
• Motivations
– Scalability: can scale horizontally and independently
– Availability: can isolate failures
– Manageability: can decouple different segments and functional areas
– Cost: can use less expensive hardware
© 2009 eBay Inc.
Best Practice 1: Partition Everything
Pattern: Functional Segmentation
– Segment processing into pools, services, and stages
– Segment data along usage boundaries
Pattern: Horizontal Spl

最近更新

2025年研究目标怎么写范例(合集篇) 30页

2025年研学活动总结(精选篇) 20页

2025年石榴树作文说明文600字(共篇) 12页

2025年短信群发广告语(通用篇) 35页

2025年瞬间散文欣赏(合集篇) 27页

2025年眼泪的诀别高中生作文(共5篇) 11页

2025年相信自己成功的名言警句(整理7篇) 17页

汉字学习-汉字学习指南:认识与应用 24页

2025年一级造价师题库500道及一套答案 143页

2025年中级经济师题库(完整版) 170页

2025年交管12123学法减分复习题库考试题库带答.. 45页

2024参观酒厂心得体会及感悟大全(17篇)word.. 5页

2025年初级银行从业资格之初级个人贷款题库及.. 167页

2025年国家电网招聘之文学哲学类题库含答案(.. 154页

春节餐饮配送新篇章-洞察市场趋势与策略 27页

《三毛人物传记》读后感 2页

2025年注册城乡规划师之城乡规划原理题库【研.. 153页

2025年消防条令纲要知识考试题库附完整答案(.. 59页

2025年监理工程师之土木建筑目标控制题库附完.. 172页

严格档案管理制度 47页

高中数学北师大版选修2-1复习课件:第一章 常.. 40页

2025年一级建造师之一建矿业工程实务题库及参.. 177页

2025年一级建造师之一建矿业工程实务题库(考.. 177页

2025年一级建造师之一建铁路工程实务题库附完.. 185页

2025年一级造价师之建设工程计价题库带答案(.. 177页

2025年中级注册安全工程师之安全实务化工安全.. 166页

2025年中级经济师题库附答案(培优a卷) 169页

2025年中级银行从业资格之中级公司信贷考试题.. 169页

2025年二级建造师之二建市政工程实务题库含完.. 161页

2025年交管12123学法减分考试题库300道及参考.. 67页