In their early days, Twitter, Flickr, Etsy, and many other companies experienced sudden spikes in activity that took their web services down in minutes. Today, determining how much capacity you need for handling traffic surges is still a common frustration of operations engineers and software developers. This hands-on guide provides the knowledge and tools you need to measure, deploy, and manage your web application infrastructure before you experience explosive growth. In this thoroughly updated edition, authors Arun Kejariwal (MZ) and John Allspaw provide a systematic, robust, and practical approach to capacity planning--rather than theoretical models--based on their own experiences and those of many colleagues in the industry. They address the vast sea change in web operations, especially cloud computing. Understand issues that arise on heavily trafficked websites or mobile apps Explore how capacity fits into web/mobile app availability and performance Use tools for measuring and monitoring computer performance and usage Turn measurement data into robust forecasts and learn how trending fits into the planning process Examine related deployment concepts: installation, configuration, and management automation Learn how cloud autoscaling enables you to scale your app's capacity up or down
| Condition | Price | |||
|---|---|---|---|---|
|
New (220 available)
Ships Separately |
$36.76 USD | Add To Cart | Ships separately from Better World Books suppliers | |
|
eBook Obtain a digital book from our friends at eBooks.com.
|
{{ebooksDotComPrice}} {{ebooksDotComCurrency}} | eBooks.com | Digital edition from eBooks.com | |
|
Audio Book Obtain a digital book from our friends at AudiobooksNow.com.
|
{{audioBooksNowPrice}} {{audioBooksNowCurrency}} | AudiobooksNow.com | Digital edition from AudiobooksNow.com |
| Preface | p. vii |
| Goals, Issues, and Processes in Capacity Planning | p. 1 |
| Background | p. 1 |
| Preliminaries | p. 2 |
| Quick and Dirty Math | p. 5 |
| Predicting When Systems Will Fail | p. 6 |
| Make System Stats Tell Stories | p. 8 |
| Buying Stuff | p. 15 |
| Performance and Capacity: Two Different Animals | p. 16 |
| The Effects of Social Websites and Open APIs | p. 20 |
| Readings | p. 21 |
| Resources | p. 22 |
| Setting Goals for Capacity | p. 25 |
| Different Kinds of Requirements and Measurements | p. 26 |
| External Service Monitoring | p. 26 |
| SLAs | p. 30 |
| Business Capacity Requirements | p. 32 |
| User Expectations | p. 33 |
| Architecture Decisions | p. 35 |
| Providing Measurement Points | p. 35 |
| Resource Ceilings | p. 38 |
| Hardware Decisions (Vertical, Horizontal, and Diagonal Scaling) | p. 39 |
| Disaster Recovery | p. 42 |
| Readings | p. 44 |
| Resources | p. 44 |
| Measurement: Units of Capacity | p. 45 |
| Capacity Tracking Tools | p. 51 |
| Fundamentals and Elements of Metric Collection Systems | p. 52 |
| Round-Robin Database and RRDTool | p. 53 |
| Ganglia | p. 54 |
| Simple Network Management Protocol | p. 55 |
| Treating Logs as Past Metrics | p. 55 |
| Monitoring as a Tool for Urgent Problem Identification | p. 55 |
| Network Measurement and Planning | p. 57 |
| Load Balancing | p. 59 |
| Applications of Monitoring | p. 61 |
| Application-Level Measurement | p. 61 |
| Storage Capacity | p. 62 |
| Database Capacity | p. 75 |
| Caching Systems | p. 80 |
| Establishing Caching System Ceilings | p. 84 |
| Special Use and Multiple Use Servers | p. 90 |
| API Usage and its Effect on Capacity | p. 94 |
| Examples and Reality | p. 97 |
| Summary | p. 97 |
| Readings | p. 98 |
| Resources | p. 100 |
| Predicting Trends | p. 103 |
| Riding the Waves | p. 105 |
| Trends, Curves, and Time | p. 106 |
| Tying Application Level Metrics to System Statistics: Database Example | p. 111 |
| Forecasting Peak-Driven Resource Usage: Web Server Example | p. 114 |
| Caveats Concerning Small Datasets | p. 118 |
| Automating the Forecasting | p. 118 |
| Safely Factors | p. 121 |
| Procurement | p. 123 |
| Procurement Time: The Killer Metric | p. 124 |
| Just-in-Time Inventory | p. 124 |
| The Effects of Increasing Capacity | p. 126 |
| Long-Term Trends | p. 127 |
| Traffic Pattern Changes | p. 127 |
| Application Usage Changes and Product Planning | p. 130 |
| Iteration and Calibration | p. 131 |
| Best Guesses | p. 132 |
| Diagonal Scaling Opportunities | p. 133 |
| Summary | p. 134 |
| Readings | p. 134 |
| Resources | p. 136 |
| Deployment | p. 137 |
| Automated Deployment Philosophies | p. 138 |
| Minimize Time to Provision New Capacity | p. 138 |
| All Changes Happen in One Place | p. 138 |
| Never Log in to an Individual Server (for Management) | p. 139 |
| Have New Servers Start Working Automatically | p. 140 |
| Maintain Consistency for Easier Troubleshooting | p. 140 |
| Automated Installation Tools | p. 141 |
| Preparing the OS Image | p. 145 |
| The Installation Process | p. 146 |
| Automated Configuration | p. 147 |
| Defining Roles and Services | p. 148 |
| An Example: Splitting Off Static Web Content | p. 149 |
| User Management and Access Control | p. 150 |
| Ad Hockery | p. 151 |
| Example 2: Multiple Datacenters | p. 152 |
| Summary | p. 153 |
| Readings | p. 153 |
| Resources | p. 154 |
| Autoscaling | p. 155 |
| The Challenge | p. 156 |
| Autoscaling on Amazon EC2 | p. 160 |
| Design Guidelines | p. 162 |
| Scalability Analysis | p. 163 |
| Properties | p. 164 |
| Autoscaling by Fixed Amount | p. 164 |
| Scaling by Percentage | p. 167 |
| Startup Time Aware Scaling | p. 170 |
| Potpourri | p. 176 |
| Advanced Approaches | p. 177 |
| Summary | p. 178 |
| Readings | p. 180 |
| Resources | p. 182 |
| Virtualization | p. 183 |
| Dealing with Instantaneous Growth | p. 191 |
| Capacity Tools | p. 199 |
| Index | p. 205 |
| Table of Contents provided by Ingram. All Rights Reserved. |
| Find at your local library from our friends at WorldCat | Find Libraries |
In their early days, Twitter, Flickr, Etsy, and many other companies experienced sudden spikes in activity that took their web services down in minutes. Today, determining how much capacity you need for handling traffic surges is still a common frust ...
Read full overview
In their early days, Twitter, Flickr, Etsy, and many other companies experienced sudden spikes in activity that took their web services down in minutes. Today, determining how much capacity you need for handling traffic surges is still a common frustration of operations engineers and software developers. This hands-on guide provides the knowledge and tools you need to measure, deploy, and manage your web application infrastructure before you experience explosive growth. In this thoroughly updated edition, authors Arun Kejariwal (MZ) and John Allspaw provide a systematic, robust, and practical approach to capacity planning--rather than theoretical models--based on their own experiences and those of many colleagues in the industry. They address the vast sea change in web operations, especially cloud computing. Understand issues that arise on heavily trafficked websites or mobile apps Explore how capacity fits into web/mobile app availability and performance Use tools for measuring and monitoring computer performance and usage Turn measurement data into robust forecasts and learn how trending fits into the planning process Examine related deployment concepts: installation, configuration, and management automation Learn how cloud autoscaling enables you to scale your app's capacity up or down
| Preface | p. vii |
| Goals, Issues, and Processes in Capacity Planning | p. 1 |
| Background | p. 1 |
| Preliminaries | p. 2 |
| Quick and Dirty Math | p. 5 |
| Predicting When Systems Will Fail | p. 6 |
| Make System Stats Tell Stories | p. 8 |
| Buying Stuff | p. 15 |
| Performance and Capacity: Two Different Animals | p. 16 |
| The Effects of Social Websites and Open APIs | p. 20 |
| Readings | p. 21 |
| Resources | p. 22 |
| Setting Goals for Capacity | p. 25 |
| Different Kinds of Requirements and Measurements | p. 26 |
| External Service Monitoring | p. 26 |
| SLAs | p. 30 |
| Business Capacity Requirements | p. 32 |
| User Expectations | p. 33 |
| Architecture Decisions | p. 35 |
| Providing Measurement Points | p. 35 |
| Resource Ceilings | p. 38 |
| Hardware Decisions (Vertical, Horizontal, and Diagonal Scaling) | p. 39 |
| Disaster Recovery | p. 42 |
| Readings | p. 44 |
| Resources | p. 44 |
| Measurement: Units of Capacity | p. 45 |
| Capacity Tracking Tools | p. 51 |
| Fundamentals and Elements of Metric Collection Systems | p. 52 |
| Round-Robin Database and RRDTool | p. 53 |
| Ganglia | p. 54 |
| Simple Network Management Protocol | p. 55 |
| Treating Logs as Past Metrics | p. 55 |
| Monitoring as a Tool for Urgent Problem Identification | p. 55 |
| Network Measurement and Planning | p. 57 |
| Load Balancing | p. 59 |
| Applications of Monitoring | p. 61 |
| Application-Level Measurement | p. 61 |
| Storage Capacity | p. 62 |
| Database Capacity | p. 75 |
| Caching Systems | p. 80 |
| Establishing Caching System Ceilings | p. 84 |
| Special Use and Multiple Use Servers | p. 90 |
| API Usage and its Effect on Capacity | p. 94 |
| Examples and Reality | p. 97 |
| Summary | p. 97 |
| Readings | p. 98 |
| Resources | p. 100 |
| Predicting Trends | p. 103 |
| Riding the Waves | p. 105 |
| Trends, Curves, and Time | p. 106 |
| Tying Application Level Metrics to System Statistics: Database Example | p. 111 |
| Forecasting Peak-Driven Resource Usage: Web Server Example | p. 114 |
| Caveats Concerning Small Datasets | p. 118 |
| Automating the Forecasting | p. 118 |
| Safely Factors | p. 121 |
| Procurement | p. 123 |
| Procurement Time: The Killer Metric | p. 124 |
| Just-in-Time Inventory | p. 124 |
| The Effects of Increasing Capacity | p. 126 |
| Long-Term Trends | p. 127 |
| Traffic Pattern Changes | p. 127 |
| Application Usage Changes and Product Planning | p. 130 |
| Iteration and Calibration | p. 131 |
| Best Guesses | p. 132 |
| Diagonal Scaling Opportunities | p. 133 |
| Summary | p. 134 |
| Readings | p. 134 |
| Resources | p. 136 |
| Deployment | p. 137 |
| Automated Deployment Philosophies | p. 138 |
| Minimize Time to Provision New Capacity | p. 138 |
| All Changes Happen in One Place | p. 138 |
| Never Log in to an Individual Server (for Management) | p. 139 |
| Have New Servers Start Working Automatically | p. 140 |
| Maintain Consistency for Easier Troubleshooting | p. 140 |
| Automated Installation Tools | p. 141 |
| Preparing the OS Image | p. 145 |
| The Installation Process | p. 146 |
| Automated Configuration | p. 147 |
| Defining Roles and Services | p. 148 |
| An Example: Splitting Off Static Web Content | p. 149 |
| User Management and Access Control | p. 150 |
| Ad Hockery | p. 151 |
| Example 2: Multiple Datacenters | p. 152 |
| Summary | p. 153 |
| Readings | p. 153 |
| Resources | p. 154 |
| Autoscaling | p. 155 |
| The Challenge | p. 156 |
| Autoscaling on Amazon EC2 | p. 160 |
| Design Guidelines | p. 162 |
| Scalability Analysis | p. 163 |
| Properties | p. 164 |
| Autoscaling by Fixed Amount | p. 164 |
| Scaling by Percentage | p. 167 |
| Startup Time Aware Scaling | p. 170 |
| Potpourri | p. 176 |
| Advanced Approaches | p. 177 |
| Summary | p. 178 |
| Readings | p. 180 |
| Resources | p. 182 |
| Virtualization | p. 183 |
| Dealing with Instantaneous Growth | p. 191 |
| Capacity Tools | p. 199 |
| Index | p. 205 |
| Table of Contents provided by Ingram. All Rights Reserved. |
| Condition | Source | Price | |
|---|---|---|---|
|
New (220 available)
Ships Separately |
Ships separately from Better World Books suppliers | $36.76 USD | Add To Cart |
|
eBook Obtain a digital book from our friends at eBooks.com.
|
Digital edition from eBooks.com | {{ebooksDotComPrice}} {{ebooksDotComCurrency}} | eBooks.com |
|
Audio Book Obtain a digital book from our friends at AudiobooksNow.com.
|
|
{{audioBooksNowPrice}} {{audioBooksNowCurrency}} | Audiobook |
*This is a limited preview of the contents of this book and does not directly represent the item available for sale.*
You are now leaving the Better World Books website to complete your transaction. Your eBook download will be facilitated by our friends at eBooks.com. Thank you for your support and for shopping with Better World Books!
You are now leaving the Better World Books website to complete your transaction. Your audio book download will be facilitated by our friends at AudiobooksNow.com. Thank you for your support and for shopping with Better World Books!
You are now leaving the Better World Books website. Thank you for your support and for shopping with Better World Books!