www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - D in the cloud with cassandra ?

reply Knud Soerensen <4tuu4k002 sneakemail.com> writes:
Hi.

I looking into making a website for the cloud
and I was wondering if anyone have tried D in connection with
amazon EC2, Google app engine or similar cloud service ?

I am also planing to use a column store as Apache's Cassandra
have anyone tried it with D ?

Knud


PS.) I have been away from the D list for 4 years so this might be a
stupid question, but skimming trough the change log for dmd noticed
references to ICE.
What does ICE stand for ??
Jun 27 2012
next sibling parent Timon Gehr <timon.gehr gmx.ch> writes:
On 06/28/2012 02:33 AM, Knud Soerensen wrote:
 Hi.

 I looking into making a website for the cloud
 and I was wondering if anyone have tried D in connection with
 amazon EC2, Google app engine or similar cloud service ?

 I am also planing to use a column store as Apache's Cassandra
 have anyone tried it with D ?

 Knud

I cannot help you with this.
 PS.) I have been away from the D list for 4 years so this might be a
 stupid question, but skimming trough the change log for dmd noticed
 references to ICE.
 What does ICE stand for ??

ICE stands for 'internal compiler error', eg. an assertion failure in the compiler.
Jun 27 2012
prev sibling next sibling parent "David Nadlinger" <see klickverbot.at> writes:
On Thursday, 28 June 2012 at 00:33:28 UTC, Knud Soerensen wrote:
 I am also planing to use a column store as Apache's Cassandra
 have anyone tried it with D ?

As far as I know, the »low-level« Cassandra API is based on Thrift. This means that you should be able to get started pretty easily, as there is a D implementation of it. It has been included in the official repository trunk – give me a shout if something doesn't work. David
Jun 27 2012
prev sibling next sibling parent reply "David Nadlinger" <see klickverbot.at> writes:
On Thursday, 28 June 2012 at 00:33:28 UTC, Knud Soerensen wrote:
 I am also planing to use a column store as Apache's Cassandra
 have anyone tried it with D ?

As far as I know, the »low-level« Cassandra API is based on Thrift. This means that you should be able to get started pretty easily, as there is a D implementation of it. It has been included in the official repository trunk – give me a shout if something doesn't work. David
Jun 27 2012
parent Knud Soerensen <4tuu4k002 sneakemail.com> writes:
Hi guys.

Thank for the comments.

Nice to know that someone have had the D-Cassandra combo working.


Knud
Jul 04 2012
prev sibling next sibling parent "Michael" <pr m1xa.com> writes:
On Thursday, 28 June 2012 at 00:33:28 UTC, Knud Soerensen wrote:
 Hi.

 I looking into making a website for the cloud
 and I was wondering if anyone have tried D in connection with
 amazon EC2, Google app engine or similar cloud service ?

You can take a look on Azure VM (linux or windows).
 I am also planing to use a column store as Apache's Cassandra
 have anyone tried it with D ?

Most of blob storages provides a rest api than can be easily implemented.
 Knud


 PS.) I have been away from the D list for 4 years so this might 
 be a
 stupid question, but skimming trough the change log for dmd 
 noticed
 references to ICE.
 What does ICE stand for ??

ICE - internal compiler error.
Jun 29 2012
prev sibling next sibling parent "Thomas Mader" <thomas.mader gmail.com> writes:
It's pretty new and has not yet started commercially but should 
so in the coming months.
Red Hat's OpenShift Platform might catch your needs.
I am not fully sure if it is capable of doing all you want, 
especially the Cassandra thing but a search for 'openshift diy 
cartridge' should bring you further.
OpenShift is no IaaS but a PaaS but gives you choice on what you 
want to run as your cartridge as long as the binary runs on a x64 
Red Hat Enterprise Linux and speaks http.


On Thursday, 28 June 2012 at 00:33:28 UTC, Knud Soerensen wrote:
 Hi.

 I looking into making a website for the cloud
 and I was wondering if anyone have tried D in connection with
 amazon EC2, Google app engine or similar cloud service ?

 I am also planing to use a column store as Apache's Cassandra
 have anyone tried it with D ?

 Knud


 PS.) I have been away from the D list for 4 years so this might 
 be a
 stupid question, but skimming trough the change log for dmd 
 noticed
 references to ICE.
 What does ICE stand for ??

Jun 29 2012
prev sibling parent "David Eagen" <dontmailme mailinator.com> writes:
On Thursday, 28 June 2012 at 05:42:52 UTC, David Nadlinger wrote:
 On Thursday, 28 June 2012 at 00:33:28 UTC, Knud Soerensen wrote:
 I am also planing to use a column store as Apache's Cassandra
 have anyone tried it with D ?

As far as I know, the »low-level« Cassandra API is based on Thrift. This means that you should be able to get started pretty easily, as there is a D implementation of it. It has been included in the official repository trunk – give me a shout if something doesn't work. David

I've been using the D support in Thrift in the official repository in my database testing. I've had no trouble using Thrift in D to talk to Cassandra and Hbase. It's quite straightforward and easy to do. The one thing I've had to change is when Thrift names a variable "version". Since that's a keyword in D I just go in a rename it in the generated D sources.
Jul 01 2012