The Art of Capacity Planning. Scaling Web Resources in the Cloud. 2nd Edition - Helion
ISBN: 978-14-919-5151-4
stron: 236, Format: ebook
Data wydania: 2017-09-21
Księgarnia: Helion
Cena książki: 160,65 zł (poprzednio: 186,80 zł)
Oszczędzasz: 14% (-26,15 zł)
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
Osoby które kupowały "The Art of Capacity Planning. Scaling Web Resources in the Cloud. 2nd Edition", wybierały także:
- Microsoft Azure. Kurs video. Zostań administratorem systemów IT 169,00 zł, (76,05 zł -55%)
- Amazon Web Services (AWS). Kurs video. Zostań administratorem systemów IT 199,00 zł, (89,55 zł -55%)
- Flutter i Dart. Receptury. Tworzenie chmurowych aplikacji full stack 69,00 zł, (34,50 zł -50%)
- AWS dla architekt 139,00 zł, (69,50 zł -50%)
- Terraform w praktyce. Kurs video. Architektura serverless i us 169,00 zł, (84,50 zł -50%)
Spis treści
The Art of Capacity Planning. Scaling Web Resources in the Cloud. 2nd Edition eBook -- spis treści
- Preface
- Why We Wrote and Revised This Book
- Focus and Topics
- Audience for This Book
- Organization of the Material
- Conventions Used in This Book
- OReilly Safari
- Using Code Examples
- Wed Like to Hear from You
- Acknowledgments
- 1. Goals, Issues, and Processes in Capacity Planning
- Background
- Preliminaries
- Quick and Dirty Math
- Predicting When Systems Will Fail
- Make System Stats Tell Stories
- Buying Stuff
- Performance and Capacity: Two Different Animals
- The Effects of Social Websites and Open APIs
- Readings
- Resources
- 2. Setting Goals for Capacity
- Different Kinds of Requirements and Measurements
- External Service Monitoring
- SLAs
- Business Capacity Requirements
- User Expectations
- Architecture Decisions
- Providing Measurement Points
- Resource Ceilings
- Hardware Decisions (Vertical, Horizontal, and Diagonal Scaling)
- Disaster Recovery
- Readings
- Resources
- Different Kinds of Requirements and Measurements
- 3. Measurement: Units of Capacity
- Capacity Tracking Tools
- Fundamentals and Elements of Metric Collection Systems
- Round-Robin Database and RRDTool
- Ganglia
- Simple Network Management Protocol
- Treating Logs as Past Metrics
- Monitoring as a Tool for Urgent Problem Identification
- Network Measurement and Planning
- Load Balancing
- Applications of Monitoring
- Application-Level Measurement
- Storage Capacity
- Consumption rates
- A real-world example: tracking storage consumption
- Storage I/O patterns
- Logs and backup: the metacapacity issue
- Measuring load on web servers
- A real-world example: web server measurement
- Finding web server ceilings in a load-balancing environment
- Database Capacity
- A real-world example: database measurement
- Finding database ceilings
- Caching Systems
- Cache efficiency: working sets and dynamic data
- Establishing Caching System Ceilings
- A real-world example: cache measurement
- Special Use and Multiple Use Servers
- API Usage and Its Effect on Capacity
- Examples and Reality
- Summary
- Readings
- Resources
- Capacity Tracking Tools
- 4. Predicting Trends
- Riding the Waves
- Trends, Curves, and Time
- Tying Application Level Metrics to System Statistics: Database Example
- Forecasting Peak-Driven Resource Usage: Web Server Example
- Caveats Concerning Small Datasets
- Automating the Forecasting
- Safety Factors
- Procurement
- Procurement Time: The Killer Metric
- Just-in-Time Inventory
- The Effects of Increasing Capacity
- Long-Term Trends
- Traffic Pattern Changes
- Application Usage Changes and Product Planning
- Iteration and Calibration
- Best Guesses
- Diagonal Scaling Opportunities
- Summary
- Readings
- Resources
- Riding the Waves
- 5. Deployment
- Automated Deployment Philosophies
- Goal 1: Minimize Time to Provision New Capacity
- Goal 2: All Changes Happen in One Place
- Goal 3: Never Log in to an Individual Server (for Management)
- Goal 4: Have New Servers Start Working Automatically
- Goal 5: Maintain Consistency for Easier Troubleshooting
- Automated Installation Tools
- Preparing the OS Image
- The Installation Process
- Automated Configuration
- Defining Roles and Services
- An Example: Splitting Off Static Web Content
- User Management and Access Control
- Ad Hockery
- Example 2: Multiple Datacenters
- Summary
- Readings
- Resources
- Automated Deployment Philosophies
- 6. Autoscaling
- The Challenge
- Autoscaling on Amazon EC2
- Design Guidelines
- Avoiding the ping-pong effect
- Be proactive, not reactive
- Aggressive upwards, conservative downwards
- Scalability Analysis
- Properties
- Autoscaling by Fixed Amount
- Algorithm 1autoscaling up/down by a fixed amount
- Illustration of Algorithm 1
- Scaling by Percentage
- Algorithm 2autoscaling up/down by a percentage of current capacity
- Illustration of Algorithm 2
- Startup Time Aware Scaling
- Algorithm 3application start up aware autoscaling up/down by a percentage of current capacity
- Illustration of Algorithm 3
- Potpourri
- Advanced Approaches
- Summary
- Readings
- Resources
- The Challenge
- A. Virtualization
- Overview
- Looking Back and Moving forward
- Overview
- B. Dealing with Instantaneous Growth
- Mitigating Failure
- Graceful Degradation and Disabling Heavy Features
- Baked Static Pages and Beyond
- Cache but Serve Stale
- Handling Outages
- Mitigating Failure
- C. Capacity Tools
- Monitoring
- Metric Collection and Event Notification Systems
- Ad Hoc Measurement and Graphing Tools
- Deployment Tools
- Automated OS Installation
- Configuration Management
- Cluster Management/Container Orchestration
- Inventory Management
- Trend Analysis and Curve Fitting
- Books on Queuing Theory and the Mathematics of Capacity Planning
- Monitoring
- Index