thinkaurelius / titan

Distributed Graph Database
http://titandb.io
Apache License 2.0
5.25k stars 1.01k forks source link

Cassandra backed support through native transport and cql #312

Open devsprint opened 11 years ago

devsprint commented 11 years ago

I'm looking to implement storage support for Cassandra, using CQL and native transport protocol.

I do have a draft version that is working but there are still improvements to add.

I have implemented as a separate module, to not mess with the dependencies.

If is it something that it could be interesting to Titan community, then, I will make a pull request.

Let me know your thoughts.

mbroecheler commented 11 years ago

Hey Gabriel,

what is the performance of using cql vs thrift? What would be the benefit of going over cql?

Cheers, Matthias

On Wed, Jun 26, 2013 at 2:06 PM, Gabriel Ciuloaica <notifications@github.com

wrote:

I'm looking to implement storage support for Cassandra, using CQL and native transport protocol.

I do have a draft version that is working but there are still improvements to add.

I have implemented as a separate module, to not mess with the dependencies.

If is it something that it could be interesting to Titan community, then, I will make a pull request.

Let me know your thoughts.

— Reply to this email directly or view it on GitHubhttps://github.com/thinkaurelius/titan/issues/312 .

Matthias Broecheler http://www.matthiasb.com

devsprint commented 11 years ago

I think that the main benefit will be better performance by using the native protocol and cql instead of thrift. I wil come back in a week with some performance numbers. Is there any specific test/scenario that you'd like to see the numbers for?

Br, Gabi

mbroecheler commented 11 years ago

That would be fantastic? No specific scenario, just some standard vertex and index queries over a reasonable size dataset.

Thanks, Matthias

On Thu, Jun 27, 2013 at 9:33 AM, Gabriel Ciuloaica <notifications@github.com

wrote:

I think that the main benefit will be better performance by using the native protocol and cql instead of thrift. I wil come back in a week with some performance numbers. Is there any specific test/scenario that you'd like to see the numbers?

Br, Gabi

— Reply to this email directly or view it on GitHubhttps://github.com/thinkaurelius/titan/issues/312#issuecomment-20136127 .

Matthias Broecheler http://www.matthiasb.com

mbroecheler commented 11 years ago

@devsprint Any news on this?

devsprint commented 11 years ago

Hi, I just merged with latest titan code. I still have some functional tests failing but I should have something soon.

poelzi commented 8 years ago

:+1: cql3 would allow to run on scylla as well

giovibal commented 8 years ago

+1 for this feature. There is some documentation that help to develop a backend for titandb ?

spmallette commented 8 years ago

You can look at:

http://s3.thinkaurelius.com/docs/titan/1.0.0/internals.html

but i think it is probably best to study some of the existing code of other implementations.