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

Load testing from the cloud with Blitz.io


To load test on a larger scale, we'll need to use a cloud-based service that is capable of sending a massive volume of concurrent requests to our application. Blitz.io is one of the leading cloud load-testing tools. It is highly configurable and allows us to send requests from multiple locations throughout the world. With Blitz, we can more closely imitate real-user traffic by ramping up the number of visitors over a period of time. This allows us to see the upper limit of our current infrastructure. Having this knowledge allows us to prepare for any events where we will be expecting a large volume of visitors.

Getting ready

Before we start load testing with Blitz, we'll need to install the add-on using the following steps:

  1. Let's open up a terminal and navigate to the Heroku application that we want to load test. Then, we can add Blitz by running the following command:

    $ heroku addons:add blitz
    
  2. After installing the add-on, we can use the open command...