Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use cassandra with heroku?

Is it possible to use cassandra with heroku?

like image 819
felix Avatar asked Jul 20 '10 18:07

felix


2 Answers

No and yes.

It depends on whether you mean use a Heroku-hosted Cassandra instance or not. If that's what you mean then the answer is no (for now at least). They support PostrgeSQL within their stack and MySQL through Amazon RDS. MongoDB support is in beta (partnering with MongoHQ) and CouchDB is roadmapped for later this year (in conjunction with Cloudant).

But of course there's no technical reason to stop you from deploying Cassandra elsewhere (say on EC2) to work with your Heroku app. So in this context the answer is yes.

UPDATE (2012/09):

Heroku has launched a new add-on for Cassandra hosted by Cassandra.io. Details available here.

UPDATE (2014/11):

The Heroku Cassandra beta addon is no longer available nor does cassandra.io seem to exist anymore. ATM no Cassandra addon is available so only rolling your own as detailed above is possible.

like image 112
bjg Avatar answered Oct 01 '22 07:10

bjg


Yes take a look at http://cassandra.io for a hosted Cassandra solution and heroku addon.

We are in private beta as you can see here: https://addons.heroku.com/cassandraio

You can provision the addon using the following command:

heroku addons:add cassandraio

like image 25
chiappone Avatar answered Oct 01 '22 06:10

chiappone