Book Image

Heroku Cloud Application Development

By : Anubhav Hanjura
Book Image

Heroku Cloud Application Development

By: Anubhav Hanjura

Overview of this book

Table of Contents (17 chapters)
Heroku Cloud Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Optimizing applications


There are few ways that can be leveraged by Heroku developers to get more out of their cloud apps on the Heroku platform. In this section, we discuss a few of these features that can be used to optimize the execution of your Heroku app when needed.

The 2X dyno effect

Heroku recently introduced the 2X dyno. The 2X dyno has twice the memory capacity when compared to the existing 1X dynos running on the Heroku platform. The 2X dyno comes with 1 GB of RAM and twice the CPU share for your processes to run faster and more efficiently. The 2X dyno costs more as well. It is interestingly priced at 0.10$/hr—exactly twice the price of a single 1X dyno.

Now, the questions that could come up are, "Why do I need the 2X dyno in the first place? I am already running my production app in an existing Heroku installation. Why should I switch to a 2X-dyno-based Heroku deployment if at all?" The answer depends on the use cases or scenarios specific to your application's needs. The following...