Heroku Cloud Application Development
上QQ阅读APP看书,第一时间看更新

Chapter 2. Inside Heroku

Now that we have test driven Heroku and know a little bit about its feature set, it's time to understand some inner workings of the Heroku platform.

The Heroku cloud development platform provides you with the foundation for developing, deploying, and troubleshooting your cloud-based applications. It is comprised of the following components:

  • The platform stack: This provides core components such as the operating system, language runtime, and supporting libraries.
  • Request routing mechanism: This provides support to accept client requests and route them reliably to the running process.
  • The execution environment: This provides the necessary runtime support to run your apps.
  • The Logplex logging framework: This is an event logging system to collate application events that emanate from different processes for further processing.
  • The add-on ecosystem: This provides the ability to easily plug in third-party libraries to provide value added services, such as performance monitoring, caching, or data storage for your application.
  • The Heroku Platform APIs: This is a web service interface to programmatically perform Heroku operations from your code.

In this chapter, we review each of these foundational aspects of the Heroku platform in a little more detail. We will also get a deeper understanding of the Heroku process architecture—the core component of the Heroku runtime environment.