Archive for the ‘Heroku’ Category

Heroku and Cassandra – RESTful APIs

Monday, September 10th, 2012

Heroku and Cassandra – RESTful APIs by Istvan Szegedi.

From the post:


Last time I wrote about Hadoop on Heroku which is on add-on from Treasure Data – this time I am going to cover NoSQL on Heroku.

There are various datastore services – add-ons in Heroku terms – available from MongoDB (MongoHQ) to CouchDB (Cloudant) to Cassandra ( This post is devoted to is a hosted and managed Cassandra ring based on Apache Cassandra and makes it accessible via RESTful API. As of writing this article, the client helper libraries are available in Java, Ruby and PHP, and there is also a Objective-C version in private beta. The libraries can be downloaded from github. I use the Java library in my tests.

Heroku – and add-on, too – is built on Amazon Elastic Compute Cloud (EC2) and it is supported in all Amazon’s locations. Note: add-on is in public beta now that means you have only one option called Test available – this is free.

Another opportunity to explore your NoSQL options.

Big Data on Heroku – Hadoop from Treasure Data

Friday, August 24th, 2012

Big Data on Heroku – Hadoop from Treasure Data by Istvan Szegedi.

From the post:

This time I write about Heroku and Treasure Data Hadoop solution – I found it really to be a ‘gem’ in the Big Data world.

Heroku is a cloud platform as a service (PaaS) owned by Originally it started with supporting Ruby as its main programming language but it has been extended to Java, Scala, Node.js, Python and Clojure, too. It also supports a long list of addons including – among others – RDBMS and NoSQL capabilities and Hadoop-based data warehouse developed by Treasure Data.

Not to leave the impression that your only cloud option is AWS.

I don’t know of any comparisons of cloud services/storage plus cost on an apples to apples basis.

Do you?

PostgreSQL’s place in the New World Order

Friday, July 27th, 2012

PostgreSQL’s place in the New World Order by Matthew Soldo.


Mainstream software development is undergoing a radical shift. Driven by the agile development needs of web, social, and mobile apps, developers are increasingly deploying to platforms-as-a-service (PaaS). A key enabling technology of PaaS is cloud-services: software, often open-source, that is consumed as a service and operated by a third-party vendor. This shift has profound implications for the open-source world. It enables new business models, increases emphasis on user-experience, and creates new opportunities.

PostgreSQL is an excellent case study in this shift. The PostgreSQL project has long offered one of the most reliable open source databases, but has received less attention than competing technologies. But in the PaaS and cloud-services world, reliability and open-ness become increasingly important. As such, we are seeing the beginning of a shift in adoption towards PostgreSQL.

The datastore landscape is particularly interesting because of the recent attention given to the so-called NoSQL technologies. Data is suddenly sexy again. This attention is largely governed by the same forces driving developers to PaaS, namely the need for agility and scalability in building modern apps. Far from being a threat to PostgreSQL, these technologies present an amazing opportunity for showing the way towards making PostgreSQL more powerful and more widely adopted.

The presentation sounds great, but alas, the slidedeck is just a slidedeck. 🙁

I do recommend it for the next to last slide graphic. Very cool!

(And it may be time to take a another look at PostgreSQL as well.)

Graphs in the Cloud: Neo4j and Heroku

Monday, May 7th, 2012

Graphs in the Cloud: Neo4j and Heroku, Presentation by James Ward, Heroku and Andreas Kollegger, Neo Technology.

From the webpage:

Thursday May 10 10:00 PDT / 17:00 GMT

With more and more applications in the cloud, developers are looking for a fast solution to deploy their applications. This webinar is intended for developers that are interested in the value of launching your application in the cloud, and the power of using a graph database.

In this session, you will learn:

  • how to build Java applications that connect to the Neo4j graph database.
  • how to instantly deploy and scale those applications on the cloud with Heroku.

I’m registered, how about you?

Graphs in the Cloud: Neo4j and Heroku

Thursday, April 26th, 2012

Graphs in the Cloud: Neo4j and Heroku

From the registration page:

Thursday May 10 10:00 PDT / 17:00 GMT

With more and more applications in the cloud, developers are looking for a fast solution to deploy their applications. This webinar is intended for developers that are interested in the value of launching your application in the cloud, and the power of using a graph database.

In this session, you will learn:

  • how to build Java applications that connect to the Neo4j graph database.
  • how to instantly deploy and scale those applications on the cloud with Heroku.

Speaker: James Ward, Heroku Developer Evangelist

Sounds interesting. Not as much fun as being in Amsterdam but not everyday can be like that! Besides, this way you may remember some of the presentation. 😉

Visualizing Social Network Changes

Friday, March 9th, 2012

Visualizing Social Network Changes by Max De Marzi.

From the post:

Some relationships change over time. Think about your friends from high school, college, work, the city you used to live in, the ones that liked you ex- better, etc. When exploring a social network it is important that we understand not only the strength of the relationship now, but over time. We can use communication between people as a measure.

I ran into a visualization that explored how multiple parties where connected by communications in multiple projects. We’re going to reuse it to explore how multiple people interact with each other. So let’s make a network of 50 friends and connect them to each other multiple times. Think of it as people writing on your facebook wall.

Excellent example of using a graph database to visualize changes in a social network. Not sure if it would be robust enough to capture the social dynamics of your local high school but it might be worth a shot. 😉

Neo4j Heroku Challengers – Vote Now

Tuesday, March 6th, 2012

Neo4j Heroku Challengers – Vote Now

From the post:

The Neo4j Heroku Challenge has closed, leaving a brilliant collection of projects to highlight developing with Neo4j using a broad range of languages and frameworks. With the challenge closed to entries, it is time for the voting! Let’s take a look at the challengers to see who deserves your support.

A wide variety of apps based on Neo4j in the cloud!

Take a look and see what looks good to you! (Don’t forget to vote!)


Saturday, February 25th, 2012


Another Neo4j challenge contender!

Lists foods that go well together.

I tried “rice” and “red beans” did not come up. 🙁

I will have to add that tomorrow.

FrostyMug – Beer Rating/Recommendation Service

Saturday, February 25th, 2012

Similarity-based Recommendation Engines by Josh Adell.

From the post:

I am currently participating in the Neo4j-Heroku Challenge. My entry is a — as yet, unfinished — beer rating and recommendation service called FrostyMug. All the major functionality is complete, except for the actual recommendations, which I am currently working on. I wanted to share some of my thoughts and methods for building the recommendation engine.

I hear “similarity” as a measure of subject identity: beers recommended to X; movies enjoyed by Y users, even though those are group subjects.

Or perhaps better, as a possible means of subject identity. A person could list all the movies they have enjoyed and that list be the same as a recommendation list. Same subject, just a different method of identification. (Unless the means of subject identification has an impact on the subject you think is being identified.)


Tuesday, February 7th, 2012

SKA LA (link broken by site relocation, see below). Andy Petrella writes a multi-part series on:

Neo4J with Scala Play! 2.0 on Heroku

The outline from the first post:

I’ll try here to gather all steps of a spike I did to have a web prototype using scala and a graph database.

For that I used the below technologies.

Play! Framework as the web framework, in its 2.0-RC1 version.

Neo4J as the back end service for storing graph data.

Scala for telling the computer what it should do…

Here is an overview of what will be covered in the current suite.

  1. How to install Play! 2.0 RC1 from Git
  2. Install Neo4J and run it in a Server Mode. Explain its REST/Json Interface.
  3. Create a Play! project. Update it to open it in IDEA Community Edition
  4. An introduction of the Json facilities of Play! Scala. With the help of the SJson paradigm.
  5. Introduction of the Dispatch Scala library for HTTP communication
  6. How to use effeciently Dispatch’s Handler and Play!’s Json functionality together.
  7. Illustrate how to send Neo4J REST requests. For creating generic node, then create a persistent service that can re/store domain model instances.
  8. Create some views (don’t bother me for ‘em … I’m not a designer ^^) using Scala templates and Jquery ajax for browsing model and creating instances.
  9. Deploy the whole stuffs on Heroku.

If you aren’t already closing in on the winning entry for the Neo4j Challenge, this series of post will get you a bit closer!

BTW, remember the deadline is February 29th. (Leap year if you are using the Gregorian system.)

All nine parts have been posted. Until I can make more tidy repairs, see:

Heroku Neo4j, App Harbor MVC4, Neo4jClient & Ruby Proxy

Sunday, February 5th, 2012

Heroku Neo4j, App Harbor MVC4, Neo4jClient & Ruby Proxy

The .NET environment for Neo4j has gotten easier to setup.

Romiko Derbynew outlays the process of deploying a 4 layers architecture using Heroku Neo4j, App Harbor MVC4, Neo4jClient and Ruby Proxy.

Well, there are some prerequisites:

Getting Started with Heroku ToolBelt/Neo4j on Windows.

Proxy Ruby Gem from

(I suppose saying you also need to have Ruby installed would be a bit much? 😉 )

Seriously, value of work by Romiko and others to create paths to be forked and expanded by others for Neo4j cannot be over estimated.

Heroku & Neo4j Go To The Movies

Saturday, February 4th, 2012

Well, maybe the real title is: Neoflix Movie Recommender, it’s hard to keep track when you look at a number of websites/blogs everyday. 😉

Seriously, you should check out this example of Neo4j on Heroku.

Where will your imagination take you with Neo4j and Heroku?

Cloud deployments, Heroku, Spring Data Neo4j and other cool stuff (Stockholm, Sweden)

Friday, January 27th, 2012

Cloud deployments, Heroku, Spring Data Neo4j and other cool stuff

From the announcement:

We will meet up at The Hub (no not the github unfortunately, though that’s cool too). This time it will be a a visit by Peter Neubauer, VP Community at Neo Technology (and may be some other Neo4j hackers) who will talk about Cloud deployments, Heroku, Spring Data Neo4j etc. This will be a very interesting meetup as we will touch subjects connected to Python, Ruby, Java and what not. Laptops are optional but hey we wont stop you from hacking later :).

We also plan on doing a community brain storm session where we can talk about

  • what are the things that we would like to see Neo4j do, things that are missing, things that can be improved
  • how can we help spread the adoption of Neo4j. how to improve your learning

As usual we would love to see people contribute, so if you have some thing to show or share please let us know and we can modify the agenda. We will take 1 hour earlier on the Friday (from the usual 6:30, so we don’t come between you and your well deserved friday weekend)

This meetup invite will remain open till 31st of January 2012. So bring your friends, have some beer and discuss graphy things with us.

The RSVP closes 31 January 2012.

Notes, posts, and pointers to the same greatly appreciated!

Spring onto Heroku

Thursday, January 26th, 2012

Spring onto Heroku by Andreas Kollegger.

From the post:

Deploying your application into the cloud is a great way to scale from “wouldn’t it be cool if..” to giving interviews to Forbes, Fast Company, and Jimmy Fallon. Heroku makes it super easy to provision everything you need, including a Neo4j Add-on. With a few simple adjustments, your Spring Data Neo4j application is ready to take that first step into the cloud.

Let’s walk through the process, assuming this scenario:

Ready? OK, first let’s look at your application.

As one commenter noted, just in time for the Neo4j Challenge!

Neo4j on Heroku (pts. 1, 2 & 3)

Wednesday, January 18th, 2012

Neo4j on Heroku Part 1 starts out:

On his blog Marko A. Rodriguez showed us how to make A Graph-Based Movie Recommender Engine with Gremlin and Neo4j.

In this two part series, we are going to take his work from the Gremlin shell and put it on the web using the Heroku Neo4j add-on and altering the Neovigator project for our use case. Heroku has a great article on how to get an example Neo4j application up and running on their Dev Center and Michael Hunger shows you how to add JRuby extensions and provides sample code using the Neo4j.rb Gem by Andreas Ronge.

We are going to follow their recipe, but we are going to add a little spice. Instead of creating a small 2 node, 1 relationship graph, I am going to show you how to leverage the power of Gremlin and Groovy to build a much larger graph from a set of files.

Neo4j on Heroku Part 2 starts out:

We are picking up where we left off on Neo4j on Heroku –Part One so make sure you’ve read it or you’ll be a little lost. So far, we have cloned the Neoflix project, set up our Heroku application and added the Neo4j add-on to our application. We are now ready to populate our graph.

CAUTION: Part 2 populates the graph with over one million relationships! If you are looking for trivial uses of Neo4j, you had better stop here in part 2.

Neo4j on Heroku Part3 starts out:

This week we learned that leaving the create_graph method accessible to the world was a bad idea. So let’s go ahead and delete that route in Sinatra, and instead create a Rake Task for it.

And announces the Neo4j Challenge!

Thanks Max De Marzi!

Neo4j 1.6 M02 “Jörn Kniv” Brings Heroku Support

Tuesday, December 20th, 2011

Neo4j 1.6 M02 “Jörn Kniv” Brings Heroku Support

From the post:

We have another milestone for you – 1.6.M02. As I’ve written before, we’re heavily into improving our infrastructure – our build, stress testing etc. But we have more: Faster and better Cypher and open beta on Heroku!

Heroku Public Beta

Our private beta on Heroku was going along just fine. We were getting positive feedback, tweaking provisioning and monitoring, and starting to feel comfortable about stepping into the cloud. Then Peter Neubauer showcased a great demo last week on how to get up and running on Heroku with Neo4j, topping it off with a Google Spreadsheets front-end. This clever hackery was even featured in the Heroku December newsletter.

It seemed time to finally allow other people to join the fun. So, we’re pleased to announce that the Neo4j Add-on is now in public beta on Heroku.

Way cool! Send a note of appreciation to the Neo4j team!

Heroku, Neo4j and Google Spreadsheet in 10min. Flat.

Saturday, December 3rd, 2011

Heroku, Neo4j and Google Spreadsheet in 10min. Flat. by Peter Neubauer

From the description:

This screencast shows how to use Neo4j on Heroku. We will do:

  • Create and install a Heroku app
  • Add a Neo4j instance to it
  • create a custom Ruby app
  • execute Cypher queries
  • Connect to the app using Google Spreadsheet
  • Build a small bar chart from a Cypher query.

Great presentation, with one tiny flaw. That is that the screen was so tiny that one has to guess at the contents of commands. Sure I can come fairly close but a file with transcripts of the terminal sessions and code would be nicer.

Recommend that you download the video for viewing. Watch it once online and you will see what I mean. I ran it on a 22 inch Samsung as full screen and a copy of the command sequence would have been appreciated.