作者简介:John Allspaw is currently the operations engineering manager at Flickr.com, the popular photo-sharing site. He has had extensive experience working with growing websites since 1999. These include online news magazines (Salon.corn, InfoWorld.com,Macworld.corn) and social networking sites that have experienced extreme growth(Friendster and Flickr). During Johns time at Friendster, traffic increased fivefold. He was responsible for Friend-sters transition from a couple dozen servers in a failing data center to more than 400 machines across two data centers, and the complete redesign of the backing infrastructure.When he joined Flickr, it had 10 servers in a tiny data center in Vancouver; it is nowlocated in multiple data centers across the U.S. Prior to his web experience, John worked in modeling and simulation as a mechanical engineer performing car crash simulations for the NHTSA.
作者简介:
John Allspaw is currently the operations engineering manager at Flickr.com, the popular photo-sharing site. He has had extensive experience working with growing websites since 1999. These include online news magazines (Salon.corn, InfoWorld.com,Macworld.corn) and social networking sites that have experienced extreme growth(Friendster and Flickr). During Johns time at Friendster, traffic increased fivefold. He was responsible for Friend-sters transition from a couple dozen servers in a failing data center to more than 400 machines across two data centers, and the complete redesign of the backing infrastructure.When he joined Flickr, it had 10 servers in a tiny data center in Vancouver; it is nowlocated in multiple data centers across the U.S. Prior to his web experience, John worked in modeling and simulation as a mechanical engineer performing car crash simulations for the NHTSA.
章节目录:
PREFACE 1 GOALS, ISSUES, AND PROCESSES IN CAPACITY PLANNING Quick and Dirty Math PredictinR When Your Systems Will Fail Make Your System Stats Tell Stories BuyinR Stuff: Procurement Is a Process Performance and Capacity: Two Different Animals The Effects of Social Websites and Open APIs
2 SETTING GOALS FOR CAPACITY Different Kinds of Requirements and Measurements Architecture Decisions
3 MEASUREMENT: UNITS OF CAPACITY Aspects of Capacity Tracking Tools Applications of MonitorinR API UsaRe and Its Effect on Capacity Examples and Reality Summary
4 PREDICTING TRENDS RidinR Your Waues Procurement The Effects of Increasing Capacity LonR-Term Trends Iteration and Calibration Summary
Summary A VIRTUALIZATION AND CLOUD COMPUTING B DEALING WITH INSTANTANEOUS GROWTH C CAPACITY TOOLS INDEX 收起全部 精彩书摘 Databases are complex beasts,and finding the limits of your database can be time consum.ing,but well worth the effort.Just as with web servers,database capadty tends to bepeak.driven.meaning their limits are usually defined by how they perform during theheaviest periods of end.user activity.As a result.we generally take a close look at the peaktraffic times to see what’s going on with system resources.and take it from there.But before we start hunting for the magical‘red line’of database consumption;remem.ber.I recommend looking at how your database performs with real queries and real data.One of the first things you should determine is when your database is expected to run outof hardware resources.relative to traffic.Depending on the load characteristics.you mightbe bound by the CPU,the network,or disk I/O.If you are lucky enough to keep your most.requested data in memory.you might findyourself being constrained by CPU or network resources.This situation makes your huntfor a performance ceiling a bit easier as you need only track a single number,as we discov.ered when monitoring Apache performance.