Big Data. Big Decisions
InformationWeek
Special Coverage Series


Heroku Adds Database Service That Scales Out Easily

Salesforce.com unit adds 'follower' feature that replicates and scales out production databases to handle heavier website traffic.

Heroku is offering a new cloud database service that can start out as a single database and scale to meet demand by activating additional read-only instances of itself. The feature will help ensure that a website application served by a database can meet visitor demand far beyond levels that would otherwise tie up the database.

Much of the activity on websites involves catalog lookups, product reviews and comparisons, etc. Secondary, or "follower," database instances are capable of handling such traffic until it leads to a transaction or other event that must be precisely preserved. When that happens, control is handed off by the follower to the primary database system, which executes the transaction and captures the results. Meanwhile, hundreds or thousands of other site visitors are also being served with content without slowing down production transactions.

More Insights

Webcasts

More >>

White Papers

More >>

Reports

More >>

The secondary database instances are called "followers" of the original database system because they are updated asynchronously, and thus may lag the primary database by a few hundredths of a second up to "a few seconds," according to Craig Kerstiens, product manager for database-as-a-service at Heroku. The solution most website developers currently opt for is to scale up the primary database system with bigger I/O pipes and bigger server hardware.

[ Want to learn more about Heroku as a developers' platform? See Salesforce.com Makes Friends With CIOs. ]

Heroku, a unit of Salesforce.com since late 2010, has been beta-testing the "follow" feature for the past six months. During that period, 3,000 "follower" database instances have been created and tested. The feature will be added to Heroku's standard database service on Thursday.

Developers of database applications can produce such a system for Oracle, MySQL, and other database systems on their own "with a lot of effort," according to Kerstiens. What Heroku is doing, he explained, is offering it as a function that can be added to a production database system by clicking the "Follow" button in the database service's management dashboard.

Heroku already enjoys a large following of developers who use its Ruby and Java tools, which are included in its platform-as-a-service offering. Heroku's database service is based on the open source code system PostgreSQL 9.1, also known as Postgres. With 2.4 million applications, Heroku's database is the largest Postgres-based service in the world. Over its three-year life span, Kerstiens said in an interview, it's safely committed 19 billion transactions.

The PostgreSQL open source project has been noted for its adherence to the principles of relational database, including two-phase commit and strict compliance (exceeding even that of the most popular open source system, MySQL) with SQL operations.

Heroku has offered a database system-as-a-service to developers for three years, but a year ago it pried Postgres out of its platform. That move made Postgres available for applications running as production systems and moved Heroku a step closer to a DevOps platform, where applications produced on its platform can also be tended by developers as they run in production.

The "follow" feature is attractive in such a setting because it gives a small team of developers a scale-out capability for the applications they develop. Running additional instances of the Postgres database on additional x86 servers is a simpler solution than moving the primary database to a much larger server to handle more traffic.

At the same time, Heroku offers developers an affordable way to try out the "follow" feature: The database service is available free to developers. For production systems, it's available with 400 MB of cache for $50/month, or with 800 MB of cache for $100/month.

As part of Salesforce since December 2010, Heroku remains an independent business unit outside the Salesforce.com data center where its CRM applications run. Rather, Heroku runs atop Amazon Web Services' EC2 as a development and deployment platform.

Salesforce's executive VP of technology Parker Harris has said applications developed in each respective environment may one day be able to work together. Salesforce.com may opt to allow database applications originated on Heroku to set interfaces to interact with Force.com applications, or better yet, run in the Force.com environment in a separate Heroku layer. Parker suggested that one application could issue calls to the other, even though each originates in a separate and distinct environment, and CRM could suddenly be part of a much broader set of business processes.

Independent developers prefer working in Ruby, Node.js, and Java over Salesforce's Apex and Visual Force languages. But the increasing richness of the Heroku platform-as-a-service, now offering "follower" database systems, makes it increasingly likely the two will work more closely together in the near future.

Download the new issue of Must Reads, a compendium of our best recent coverage on IT-as-a-service. It includes articles on cloud computing myths, how to build an IT service catalog, security problems, and more. (Free registration required.)



Related Reading




Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

BYTE encourages readers to engage in spirited, healthy debate, including taking us to task. However, BYTE moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing/SPAM. BYTE further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.

Follow InformationWeek

By The Numbers

What Are Your Primary Concerns About Using Big Data Software?

Base: 417 respondents at organizations using or planning to deploy data analytics, BI or statistical analysis software
Data: InformationWeek 2013 Analytics, Business Intelligence and Information Management Survey of 541 business technology professionals, October 2012

What Do You Think?

What's your attitude about SQL analysis on top of Hadoop?
We want fast, standard SQL analysis capabilities on Hadoop ASAP
Hadoop is for unstructured data; SQL is for relational databases
We'll give SQL on Hadoop a try, but relational DBs will remain the mainstay
Given strong SQL support on Hadoop, we'd nix the data warehouse
We're not interested in Hadoop
No opinion



Related Content

From Our Sponsor

Five Big Data Challenges and How to Overcome Them with Visual Analytics

Five Big Data Challenges and How to Overcome Them with Visual Analytics

Business leaders often need a visual snapshot of data to quickly grasp and use it. This paper identifies five challenges in presenting data and how visual analytics can resolve them. Solutions are suggested to overcome the challenges of: speed, data clarity, data quality, displaying meaningful results, and dealing with outliers.

Game-Changing Analytics: How IT Executives Can Use Analytics to Create Innovation and Business Success

Game-Changing Analytics: How IT Executives Can Use Analytics to Create Innovation and Business Success

Today's competitive advantage requires a deeper understanding of your business, your market and your customers. As an IT executive, you can drive that knowledge transformation. In this white paper, learn how to make decisions as a strategic business leader and three steps to begin an analytics initiative within your enterprise.

Data Visualization Techniques: From Basics to Big Data with SAS Visual Analytics

Data Visualization Techniques: From Basics to Big Data with SAS Visual Analytics

High-performance data visualization turns sophisticated analyses into meaningful graphics, leading to faster and smarter decision making. In this white paper, learn how visual analytics can transform big data, with additional features such as real-time functionality, mobile compatibility, robust applications for technical groups and accessibility for nontechnical users.

Big Data: Lessons from the Leaders

Big Data: Lessons from the Leaders

Financial performance, competitive advantage, operational efficiency, strategic decision making - every business goal can extract value from big data, and the time for doubt or inaction has long passed. In this Economist Intelligence Unit report, in-depth interviews with data pioneers reveal the link between the effective use of big data and the bottom line among other results.

Decision-Driven Data Management: A Strategy for Better Decisions with Better Data

Decision-Driven Data Management: A Strategy for Better Decisions with Better Data

Which came first, the data or the decision? This white paper makes the case for having a decision in mind, then tailoring big data's volume, variety and velocity to achieve business results such as overcoming customer dissatisfaction or creating well-informed strategies in real time.

Informationweek Reports

Research: The Big Data Management Challenge

Research: The Big Data Management Challenge

The challenge of big data is real, but most organizations don't differentiate 'big data' from traditional data, and nearly 90% of respondents to our survey use conventional databases as the primary means of handling data. We'll help you understand what constitutes big data (it's not just size) and the numerous management challenges it poses.