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

Introduction


We need to know how far we can push our application before it breaks, how many users it can support, how well it scales, and where the bottlenecks are.

In this chapter, we will learn how to install the monitoring tools needed to understand how our application is performing. We will then learn how to push our application to its limit by setting up and running load tests.

We will go step by step through three different methods of load testing. We'll start with the most basic test, flooding our application with HTTP requests. We'll then advance to running more complex load tests that will mimic real-life user scenarios more closely. These methods will give us the information we need to know exactly how our application will perform and what we need to improve on to handle massive amounts of traffic.

Note

It's best to run load tests in a staging environment to avoid affecting any real users.