Book Image

Heroku Cookbook

By : Mike Coutermarsh
Book Image

Heroku Cookbook

By: Mike Coutermarsh

Overview of this book

Heroku is a Platform as a Service that enables developers to rapidly deploy and scale their web applications. Heroku is designed for developer happiness, freeing developers from doing system administrative tasks such as configuring servers and setting up load balancers. Developers are able to focus on what they do best, building web applications, while leaving the details of deployment and scaling to the experts at Heroku. This practical guide is packed with step-by-step solutions to problems faced by every production-level web application hosted on Heroku. You'll quickly get comfortable with managing your Heroku applications from the command line and then learn everything you need to know to deploy and administer production-level web applications.
Table of Contents (17 chapters)
Heroku Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Testing real-user scenarios with Load Impact


So far, we have explored how to push our application to the brink of failure by attacking it with massive floods of concurrent requests. The load tests created with Siege and Blitz are helpful in finding performance bottlenecks in our application, but they do not exactly replicate real-world situations. Normal site usage will usually follow a few different patterns. For example, let's imagine a typical e-commerce web application. There are probably three main usages of the application. Ninety percent of the application's users are most likely browsing the home page or the product catalog. Another 5 percent of the users are going through the checkout process, and the final 5 percent might be viewing order or account information. By recreating these scenarios, we can get an accurate view of how our application will behave for real users.

In this recipe, we will be introduced to Load Impact, a load-testing tool that will allow us to mimic real-world...