Fighting bird分享 http://blog.sciencenet.cn/u/tonia

博文

Scalability and the Cloud

已有 4024 次阅读 2010-5-11 15:01 |个人分类:cloud|系统分类:科研笔记

Scalability

- Ability to handle increasing amount of work gracefully
- Dimensions:
- Load
- Handling increasing load by adding resources
- Geographic
- Maintain performance in case of geographically distributed systems
- Functional
- Adding new features using minimum effort
- Vertical: Scaling Up
- Horizontal: Scaling Out
- Tradeoff between the two: Price difference; Scale up - Virtualization

YouTube

- One Billion Views per day: More than 11,000 views per second
- Video Serving
- Upload once, view thousands of times
- Streaming of videos
- Offline processing

Wikipedia

- Content Serving and editing
- Reads outweigh writes
- between 25,000 and 60,000 page requests per second

Twitter, Facebook News Feed

- Messaging
- Broadcasting of messages
- Propagating messages to friends
- Lots of asynchronous processing

Components

- Load balancers: routing; could be in multi-layer; hard/soft ware

- Reverse proxy
- Software load balancing
- Caching static data: Images, Java script, Read only pages
- Operate out of memory
- Squid, HAProxy, Varnish
- Web server
- Session state
- Cookies
- Blocking connections to other tiers
- Application Server
- "shared nothing architecture"
- Deals with “business logic”
- Get data from DB, do some operation, send to user
- Get request from user, do some operation, store into DB
- Messaging Software
- Becoming popular among web 2.0 sites for queuing offline tasks
- Asynchronous
- Publish-Subscribe
- eg: JMS, RabbitMQ, Amazon SQS
- Caching Software
- What is to be cached?
- News sites : Generated web pages
- Session state
- Static objects
- Database rows
- Any information that is expensive to read from disk, and may be accessed frequently
- eg: Memcached
- CDNs
- Provide crucial usage statistics
- Optimize resource per customer
- Motivation for using CDNs
- Minimize bandwidth cost
- Improve latency
- Improve availability
- Akamai, Amazon Cloud Front
- Database
- NoSQL?
- Problem: Scaling RDBMS is hard
- Solution: Don’t use RDBMS, use K-V stores
- Examples: HBase, Amazon Dynamo, BigTable, Cassandra, VoldeMort, MongoDB, CouchDB …

Site: highscalability.com

https://blog.sciencenet.cn/blog-425672-322753.html

上一篇:Above the Clouds: A Berkeley View of Cloud Computing(二)
下一篇:Debate between SQL and cloud database
收藏 IP: .*| 热度|

0

发表评论 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-24 01:59

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部