Welcome to the inaugural issue of the Heroku Weekly. If you're not yet subscribed you can do so with this email signup form or with the channel of you

     
heroku-weekly

Welcome to the inaugural issue of the Heroku Weekly. If you're not yet subscribed you can do so with this email signup form or with the channel of your choosing at the bottom of this newsletter (e.g. RSS, Twitter, Facebook and G+).

The Heroku Weekly is culled from the content of Higher Order Heroku.

Articles

Automatically deploy Travis CI builds to Heroku

Pete Hodgson outlines how to integrate Travis CI and Heroku without having to expose your Heroku SSH key. It's as simple as using his headless-heroku gem and a two-line `travis-after-script` to deploy successful builds to Heroku. Read more about it here as well as some interesting implementation details in this separate post.

cloudflare

Configure the CloudFlare CDN for your app

CDNs like CloudFlare can drastically reduce the runtime demands on correctly configured applications by directly serving static or infrequently accessed content. However, configuring them for a dynamic environment like Heroku can be challenging. Here, Heroku engineer Ryan Daigle lays out the steps necessary to setup your DNS for CloudFlare.

Building a SaaS API on Heroku

Randall Degges describes the architecture, tools and approach he took when building the Postgression test-database service (for more on Postgression see below). The post is full of great details and shows just how much you can accomplish on the Heroku platform.

Projects & Services

datascope

Visualize your Postgres 9.2 database activity with Datascope

This project by Heroku Postgres engineer Will Leinweber graphs useful metrics about your PG 9.2 database using the pg_stat_statements functionality. The project source is on GitHub and can be seen running at datascope.herokuapp.com.

Easily spin up a Postgres database with Postgression

Dev/prod parity is a fundamental concept in continuous development that specifies the tools and technologies used in production should be the same ones used during development. This minimizes hard to diagnose production issues that arise from small technology or version incompatibilities. Postgression is a new service that quickly provisions a remote Postgres database for testing. While these databases only live for 30 minutes, it's all you need for testing purpose and allows you keep parity between your test and production environments.

***
***

Classics

Process partitioning in distributed systems

This article from another Heroku-inspired site, the Miyagi Journal, describes how and when to consider process partitioning in your application to efficiently perform large amounts of work. Contributed by Ryan Smith and born from his experience writing distributed systems for Heroku.

The Twelve-Factor app

Heroku co-founder Adam Wiggins lays out a methodology for building modern web applications. While not practices that are specific to Heroku, they are the foundation of Heroku the philosophy and Heroku the product.

Required reading for all Heroku developers.

facebook feed google_plus twitter
1px